OILS / prebuilt / frontend / syntax_abbrev.mycpp.h View on Github | oils.pub

42 lines, 29 significant
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
11namespace 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
24namespace syntax_abbrev { // forward declare
25}
26
27namespace syntax_abbrev { // declare
28
29void _AbbreviateToken(syntax_asdl::Token* tok, List<hnode_asdl::hnode_t*>* out);
30hnode_asdl::hnode_t* _Token(syntax_asdl::Token* obj);
31hnode_asdl::hnode_t* _CompoundWord(syntax_asdl::CompoundWord* obj);
32hnode_asdl::hnode_t* _DoubleQuoted(syntax_asdl::DoubleQuoted* obj);
33hnode_asdl::hnode_t* _SingleQuoted(syntax_asdl::SingleQuoted* obj);
34hnode_asdl::hnode_t* _SimpleVarSub(syntax_asdl::SimpleVarSub* obj);
35hnode_asdl::hnode_t* _BracedVarSub(syntax_asdl::BracedVarSub* obj);
36hnode_asdl::hnode_t* _command__Simple(syntax_asdl::command__Simple* obj);
37hnode_asdl::hnode_t* _expr__Var(syntax_asdl::expr__Var* obj);
38hnode_asdl::hnode_t* _expr__Const(syntax_asdl::expr__Const* obj);
39
40} // declare namespace syntax_abbrev
41
42#endif // FRONTEND_SYNTAX_ABBREV_H