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


Public Member Functions | |
| lexer::token & | getOp () |
| uniqueExpr & | getLhs () const |
| rExpr & | getRhs () const |
| bool | hasRhs () 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 |
| uniqueExpr * | lhs |
| rExpr * | rhs |
| uniqueExpr & getLhs | ( | ) | const |
Definition at line 127 of file ast.cpp.
References leftExpr::lhs.
| lexer::token & getOp | ( | ) |
Definition at line 123 of file ast.cpp.
References leftExpr::op.
Referenced by visitor::visit().

| rExpr & getRhs | ( | ) | const |
Definition at line 131 of file ast.cpp.
References leftExpr::rhs.
| bool hasRhs | ( | ) | const |
Definition at line 135 of file ast.cpp.
References leftExpr::rhs.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().

| uniqueExpr* lhs |
Definition at line 470 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), leftExpr::getLhs(), and visitor::visit().
| lexer::token op |
Definition at line 469 of file ast.hpp.
Referenced by Formatter::format(), and leftExpr::getOp().
| rExpr* rhs |
Definition at line 471 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), leftExpr::getRhs(), leftExpr::hasRhs(), and visitor::visit().