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


Public Member Functions | |
| bool | isInvocation () const |
| bool | isSubscript () 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 | |
| rExpr * | expr |
| invocationArguments * | args |
| rExpr & getExpr | ( | ) | const |
Definition at line 63 of file ast.cpp.
References subscript::expr.
| bool isInvocation | ( | ) | const |
Definition at line 1075 of file ast.cpp.
References subscript::args.
Referenced by yoi::finalizeAST(), and Formatter::format().

| bool isSubscript | ( | ) | const |
Definition at line 1071 of file ast.cpp.
References subscript::expr.
Referenced by yoi::finalizeAST().

| invocationArguments* args |
Definition at line 352 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and subscript::isInvocation().
| rExpr* expr |
Definition at line 351 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), subscript::getExpr(), subscript::isSubscript(), and visitor::visit().