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


Classes | |
| struct | ifBlock |
Public Member Functions | |
| ifBlock & | getIfBlock () |
| vec< ifBlock > & | getElifBlock () |
| codeBlock & | getElseBlock () |
| bool | hasElseBlock () 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 | |
| ifBlock | ifB |
| vec< ifBlock > | elifB |
| codeBlock * | elseB |
| vec< ifStmt::ifBlock > & getElifBlock | ( | ) |
Definition at line 407 of file ast.cpp.
References ifStmt::elifB.
| codeBlock & getElseBlock | ( | ) |
Definition at line 411 of file ast.cpp.
References ifStmt::elseB.
| ifStmt::ifBlock & getIfBlock | ( | ) |
Definition at line 403 of file ast.cpp.
References ifStmt::ifB.
Referenced by visitor::visit().

| bool hasElseBlock | ( | ) | const |
Definition at line 415 of file ast.cpp.
References ifStmt::elseB.
Referenced by Formatter::format(), and visitor::visit().

Definition at line 846 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), ifStmt::getElifBlock(), and visitor::visit().
| codeBlock* elseB |
Definition at line 847 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), ifStmt::getElseBlock(), ifStmt::hasElseBlock(), and visitor::visit().
| ifBlock ifB |
Definition at line 845 of file ast.hpp.
Referenced by yoi::finalizeAST(), Formatter::format(), and ifStmt::getIfBlock().