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


Public Member Functions | |
| identifierWithDefTemplateArg & | getId () |
| definitionArguments & | getArgs () |
| typeSpec & | getResultType () |
| codeBlock & | getBlock () |
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 | |
| yoi::vec< lexer::token > | attrs |
| identifierWithDefTemplateArg * | id |
| definitionArguments * | args |
| typeSpec * | resultType |
| codeBlock * | block |
| definitionArguments & getArgs | ( | ) |
Definition at line 275 of file ast.cpp.
References funcDefStmt::args.
Referenced by visitor::specializeFunctionTemplate(), and visitor::visit().

| codeBlock & getBlock | ( | ) |
Definition at line 283 of file ast.cpp.
References funcDefStmt::block.
Referenced by visitor::specializeFunctionTemplate().

| identifierWithDefTemplateArg & getId | ( | ) |
Definition at line 271 of file ast.cpp.
References funcDefStmt::id.
Referenced by visitor::visit().

| typeSpec & getResultType | ( | ) |
Definition at line 279 of file ast.cpp.
References funcDefStmt::resultType.
Referenced by visitor::specializeFunctionTemplate(), and visitor::visit().

| definitionArguments* args |
Definition at line 622 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), funcDefStmt::getArgs(), and SymbolExtractor::visitFuncDef().
| yoi::vec<lexer::token> attrs |
Definition at line 620 of file ast.hpp.
Referenced by Formatter::format(), and visitor::visit().
| codeBlock* block |
Definition at line 624 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), funcDefStmt::getBlock(), visitor::visit(), and SymbolExtractor::visitFuncDef().
Definition at line 621 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), funcDefStmt::getId(), visitor::specializeFunctionTemplate(), and SymbolExtractor::visitFuncDef().
| typeSpec* resultType |
Definition at line 623 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), funcDefStmt::getResultType(), and SymbolExtractor::visitFuncDef().