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


Public Types | |
| enum class | typeSpecKind : int16_t { Member , Func , Null , Elipsis , DecltypeExpr } |
Public Member Functions | |
| externModuleAccessExpression & | getMemberExpr () const |
| funcTypeSpec & | getTypeSpec () 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 | |
| enum yoi::typeSpec::typeSpecKind | kind |
| externModuleAccessExpression * | member |
| funcTypeSpec * | func |
| typeSpec * | elipsis |
| decltypeExpr * | decltypeExpression |
| bool | isNull |
| yoi::vec< uint64_t > * | arraySubscript |
|
strong |
| externModuleAccessExpression & getMemberExpr | ( | ) | const |
Definition at line 55 of file ast.cpp.
References typeSpec::member.
| funcTypeSpec & getTypeSpec | ( | ) | const |
Definition at line 59 of file ast.cpp.
References typeSpec::func.
| yoi::vec<uint64_t>* arraySubscript |
Definition at line 342 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::parseTypeSpec().
| decltypeExpr* decltypeExpression |
Definition at line 340 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::parseTypeSpec().
| typeSpec* elipsis |
Definition at line 339 of file ast.hpp.
Referenced by Formatter::format().
| funcTypeSpec* func |
Definition at line 338 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), typeSpec::getTypeSpec(), and visitor::parseTypeSpec().
| bool isNull |
Definition at line 341 of file ast.hpp.
Referenced by Formatter::format().
| enum yoi::typeSpec::typeSpecKind kind |
| externModuleAccessExpression* member |
Definition at line 337 of file ast.hpp.
Referenced by visitor::extractTemplateParamsFromTypeArgs(), yoi::finalizeAST(), Formatter::format(), typeSpec::getMemberExpr(), visitor::parseTypeSpec(), and visitor::visit().