| 1 | // prebuilt/frontend/syntax_abbrev.mycpp.h: GENERATED by mycpp
|
| 2 |
|
| 3 | #ifndef FRONTEND_SYNTAX_ABBREV_H
|
| 4 | #define FRONTEND_SYNTAX_ABBREV_H
|
| 5 |
|
| 6 | #include "_gen/asdl/hnode.asdl.h"
|
| 7 | #include "_gen/display/pretty.asdl.h"
|
| 8 | #include "cpp/data_lang.h"
|
| 9 | #include "mycpp/runtime.h"
|
| 10 |
|
| 11 | namespace syntax_asdl {
|
| 12 | class Token;
|
| 13 | class CompoundWord;
|
| 14 | class DoubleQuoted;
|
| 15 | class SingleQuoted;
|
| 16 | class SimpleVarSub;
|
| 17 | class BracedVarSub;
|
| 18 |
|
| 19 | class command__Simple;
|
| 20 | class expr__Const;
|
| 21 | class expr__Var;
|
| 22 | }
|
| 23 |
|
| 24 | namespace syntax_abbrev { // forward declare
|
| 25 | }
|
| 26 |
|
| 27 | namespace syntax_abbrev { // declare
|
| 28 |
|
| 29 | void _AbbreviateToken(syntax_asdl::Token* tok, List<hnode_asdl::hnode_t*>* out);
|
| 30 | hnode_asdl::hnode_t* _Token(syntax_asdl::Token* obj);
|
| 31 | hnode_asdl::hnode_t* _CompoundWord(syntax_asdl::CompoundWord* obj);
|
| 32 | hnode_asdl::hnode_t* _DoubleQuoted(syntax_asdl::DoubleQuoted* obj);
|
| 33 | hnode_asdl::hnode_t* _SingleQuoted(syntax_asdl::SingleQuoted* obj);
|
| 34 | hnode_asdl::hnode_t* _SimpleVarSub(syntax_asdl::SimpleVarSub* obj);
|
| 35 | hnode_asdl::hnode_t* _BracedVarSub(syntax_asdl::BracedVarSub* obj);
|
| 36 | hnode_asdl::hnode_t* _command__Simple(syntax_asdl::command__Simple* obj);
|
| 37 | hnode_asdl::hnode_t* _expr__Var(syntax_asdl::expr__Var* obj);
|
| 38 | hnode_asdl::hnode_t* _expr__Const(syntax_asdl::expr__Const* obj);
|
| 39 |
|
| 40 | } // declare namespace syntax_abbrev
|
| 41 |
|
| 42 | #endif // FRONTEND_SYNTAX_ABBREV_H
|