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


Public Types | |
| enum class | primaryKind : int8_t { memberExpr , basicLiterals , rExpr , typeIdExpression , dynCastExpression , newExpression , lambdaExpr , funcExpr , bracedInitalizerList } |
Public Member Functions | |
| memberExpr & | getMemberExpr () const |
| basicLiterals & | getLiterals () const |
| rExpr & | getExpr () 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 | |
| enum yoi::primary::primaryKind | kind |
| memberExpr * | member |
| basicLiterals * | literals |
| rExpr * | expr |
| typeIdExpression * | typeId |
| dynCastExpression * | dynCast |
| newExpression * | newExpr |
| lambdaExpr * | lambda |
| funcExpr * | func |
| bracedInitalizerList * | bracedInitalizer |
| decltypeExpr * | decltypeExpr |
|
strong |
| rExpr & getExpr | ( | ) | const |
Definition at line 107 of file ast.cpp.
References primary::expr.
| basicLiterals & getLiterals | ( | ) | const |
Definition at line 103 of file ast.cpp.
References primary::literals.
| memberExpr & getMemberExpr | ( | ) | const |
Definition at line 99 of file ast.cpp.
References primary::member.
| bracedInitalizerList* bracedInitalizer |
Definition at line 432 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().
| dynCastExpression* dynCast |
Definition at line 428 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().
| rExpr* expr |
Definition at line 426 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), primary::getExpr(), and visitor::visit().
| funcExpr* func |
Definition at line 431 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().
| enum yoi::primary::primaryKind kind |
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().
| lambdaExpr* lambda |
Definition at line 430 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().
| basicLiterals* literals |
Definition at line 425 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), primary::getLiterals(), and visitor::visit().
| memberExpr* member |
Definition at line 424 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), primary::getMemberExpr(), and visitor::visit().
| newExpression* newExpr |
Definition at line 429 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().
| typeIdExpression* typeId |
Definition at line 427 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().