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


Public Member Functions | |
| constructorDef & | getConstructor () |
| innerMethodDef & | getMethod () |
| finalizerDef & | getFinalizer () |
| bool | isConstructor () const |
| bool | isFinalizer () const |
| bool | isMethod () 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 | |
| constructorDef * | con |
| innerMethodDef * | met |
| finalizerDef * | finalizer |
| constructorDef & getConstructor | ( | ) |
Definition at line 343 of file ast.cpp.
References implInnerPair::con.
Referenced by visitor::specializeStructMethodDefinition().

| finalizerDef & getFinalizer | ( | ) |
Definition at line 1205 of file ast.cpp.
References implInnerPair::finalizer.
| innerMethodDef & getMethod | ( | ) |
Definition at line 347 of file ast.cpp.
References implInnerPair::met.
Referenced by visitor::handleInvocationExtern(), visitor::specializeStructMethodDefinition(), and visitor::specializeStructMethodTemplate().

| bool isConstructor | ( | ) | const |
Definition at line 351 of file ast.cpp.
References implInnerPair::con.
Referenced by yoi::finalizeAST(), Formatter::format(), implInnerPair::isMethod(), and visitor::specializeStructMethodDefinition().

| bool isFinalizer | ( | ) | const |
Definition at line 1201 of file ast.cpp.
References implInnerPair::finalizer.
Referenced by yoi::finalizeAST(), Formatter::format(), implInnerPair::isMethod(), and visitor::specializeStructMethodDefinition().

| bool isMethod | ( | ) | const |
Definition at line 1197 of file ast.cpp.
References implInnerPair::isConstructor(), and implInnerPair::isFinalizer().
Referenced by Formatter::format().


| constructorDef* con |
Definition at line 726 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), implInnerPair::getConstructor(), and implInnerPair::isConstructor().
| finalizerDef* finalizer |
Definition at line 730 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), implInnerPair::getFinalizer(), and implInnerPair::isFinalizer().
| innerMethodDef* met |
Definition at line 728 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and implInnerPair::getMethod().