|
hoshi-lang dev
Yet another programming language
|
#include <ast.hpp>


Public Member Functions | |
| vec< leftExpr * > & | getTerms () |
| vec< lexer::token > & | getOp () |
| operator bool () const | |
Public Member Functions inherited from AST | |
| AST () | |
| AST (lexer::token token) | |
| std::tuple< yoi::indexT, yoi::indexT > | getLocation () |
| yoi::indexT | getLine () |
| yoi::indexT | getColumn () |
| yoi::lexer::token & | getToken () |
Public Attributes | |
| vec< leftExpr * > | terms |
| vec< lexer::token > | ops |
| vec< lexer::token > & getOp | ( | ) |
Definition at line 143 of file ast.cpp.
References mulExpr::ops.
Referenced by visitor::visit().

Definition at line 139 of file ast.cpp.
References mulExpr::terms.
Referenced by yoi::finalizeAST(), and visitor::visit().

| vec<lexer::token> ops |
Definition at line 485 of file ast.hpp.
Referenced by mulExpr::getOp().
Definition at line 484 of file ast.hpp.
Referenced by mulExpr::getTerms().