|
| Package (const str &name, vector< ASTBase * > subtrees) |
|
vector< ASTBase * > | get_children () const override |
| Get a ordered list of child nodes. More...
|
|
str | get_name () const |
|
bool | is_expr () const override |
|
bool | is_stmt () const override |
|
| ASTBase (ASTNodeType node_type, TokenizedSourceFile *src, int bp) |
|
ASTNodeType | get_node_type () const |
|
void | set_node_type (ASTNodeType node_type) |
|
int | get_bp () const |
|
Context * | ctx () |
|
str | repr (const str &prefix="-") const |
| AST tree string representation. More...
|
|
virtual str | terminal_token () const |
| Which terminal token is expected immediately after this node. More...
|
|
| SourceTraceable (TokenizedSourceFile *src) |
|
uint32_t | start () const |
|
uint32_t | end () const |
|
void | set_start (uint32_t val) |
|
void | set_end (uint32_t val) |
|
TokenizedSourceFile * | src () const |
|
|
static umap< ASTNodeType, str > | ASTTypeNames |
| string representation of ASTNodeType More...
|
|
static umap< ASTNodeType, int > | OpPrecedence |
| operator precedence of tokens More...
|
|
virtual str | to_string (bool include_source_code=false) const |
| Different from repr, to_string output doesn't include child nodes. More...
|
|
virtual ASTBase * | get () const |
| Get the "actual" this. Used for implementing proxy classes. More...
|
|
Definition at line 12 of file package.h.
◆ get_children()
vector< ASTBase * > Package::get_children |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: