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


Public Member Functions | |
| identifier & | getId () const |
| defTemplateArg & | getArg () const |
| bool | hasDefTemplateArg () 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 | |
| identifier * | id |
| defTemplateArg * | arg |
| defTemplateArg & getArg | ( | ) | const |
Definition at line 83 of file ast.cpp.
References identifierWithDefTemplateArg::arg.
Referenced by visitor::handleInvocationExtern(), and visitor::specializeStructMethodTemplate().

| identifier & getId | ( | ) | const |
Definition at line 79 of file ast.cpp.
References identifierWithDefTemplateArg::id.
Referenced by visitor::specializeStructMethodDeclaration(), visitor::visit(), visitor::visit(), visitor::visit(), visitor::visit(), and visitor::visit().

| bool hasDefTemplateArg | ( | ) | const |
Definition at line 87 of file ast.cpp.
References identifierWithDefTemplateArg::arg.
Referenced by yoi::finalizeAST(), Formatter::format(), visitor::specializeFunctionTemplate(), visitor::specializeStructMethodDeclaration(), visitor::specializeStructMethodTemplate(), visitor::visit(), visitor::visit(), and visitor::visit().

| defTemplateArg* arg |
Definition at line 376 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), identifierWithDefTemplateArg::getArg(), identifierWithDefTemplateArg::hasDefTemplateArg(), yoi::parse(), visitor::specializeFunctionTemplate(), visitor::specializeStructMethodDeclaration(), and visitor::specializeStructMethodTemplate().
| identifier* id |
Definition at line 375 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), identifierWithDefTemplateArg::getId(), and visitor::specializeFunctionTemplate().