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


Public Member Functions | |
| lexer::token & | getOp () |
| abstractExpr & | getLhs () const |
| 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 | |
| lexer::token | op |
| abstractExpr * | lhs {} |
| abstractExpr & getLhs | ( | ) | const |
Definition at line 115 of file ast.cpp.
References uniqueExpr::lhs.
| lexer::token & getOp | ( | ) |
Definition at line 111 of file ast.cpp.
References uniqueExpr::op.
Referenced by visitor::visit().

| operator bool | ( | ) | const |
Definition at line 119 of file ast.cpp.
References lexer::token::unknown.
| abstractExpr* lhs {} |
Definition at line 458 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), uniqueExpr::getLhs(), and visitor::visit().
| lexer::token op |
Definition at line 457 of file ast.hpp.
Referenced by Formatter::format(), and uniqueExpr::getOp().