|
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 628 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and funcDefStmt::getArgs().
| yoi::vec<lexer::token> attrs |
Definition at line 626 of file ast.hpp.
Referenced by Formatter::format(), and visitor::visit().
| codeBlock* block |
Definition at line 630 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), funcDefStmt::getBlock(), and visitor::visit().
Definition at line 627 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), funcDefStmt::getId(), and visitor::specializeFunctionTemplate().
| typeSpec* resultType |
Definition at line 629 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and funcDefStmt::getResultType().