|
| vector< ASTBase * > | get_children () const override |
| | Get a ordered list of child nodes. More...
|
| |
| str | terminal_token () const override |
| | Which terminal token is expected immediately after this node. More...
|
| |
|
bool | is_stmt () const override |
| |
|
bool | is_expr () 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...
|
| |
|
| 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 |
| |
|
|
ASTLoopType | _loop_type = ASTLoopType::WHILE |
| |
|
llvm::BasicBlock * | _loop_start = nullptr |
| |
|
llvm::BasicBlock * | _loop_end = nullptr |
| |
|
Expr * | _initialization = nullptr |
| |
|
Expr * | _predicate = nullptr |
| |
|
Stmt * | _body = nullptr |
| |
|
Expr * | _iteration = nullptr |
| |
Definition at line 119 of file stmt.h.
◆ Create()
◆ get_children()
| vector< ASTBase * > Loop::get_children |
( |
| ) |
const |
|
overridevirtual |
◆ terminal_token()
| str tanlang::Loop::terminal_token |
( |
| ) |
const |
|
inlineoverridevirtual |
Which terminal token is expected immediately after this node.
Reimplemented from tanlang::ASTBase.
Definition at line 128 of file stmt.h.
The documentation for this class was generated from the following files:
- /home/tjy/repos/tan/include/ast/stmt.h
- /home/tjy/repos/tan/src/ast/stmt.cpp