hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
forStmt Class Reference

#include <ast.hpp>

Inheritance diagram for forStmt:
Collaboration diagram for forStmt:

Public Member Functions

inCodeBlockStmtgetInitStmt ()
 
rExprgetCond ()
 
inCodeBlockStmtgetAfterStmt ()
 
codeBlockgetBlock ()
 
- Public Member Functions inherited from AST
 AST ()
 
 AST (lexer::token token)
 
std::tuple< yoi::indexT, yoi::indexTgetLocation ()
 
yoi::indexT getLine ()
 
yoi::indexT getColumn ()
 
yoi::lexer::tokengetToken ()
 

Public Attributes

inCodeBlockStmtinitStmt
 
rExprcond
 
inCodeBlockStmtafterStmt
 
codeBlockblock
 

Detailed Description

Definition at line 868 of file ast.hpp.

Member Function Documentation

◆ getAfterStmt()

inCodeBlockStmt & getAfterStmt ( )

Definition at line 435 of file ast.cpp.

◆ getBlock()

codeBlock & getBlock ( )

Definition at line 439 of file ast.cpp.

◆ getCond()

rExpr & getCond ( )

Definition at line 431 of file ast.cpp.

◆ getInitStmt()

inCodeBlockStmt & getInitStmt ( )

Definition at line 427 of file ast.cpp.

Member Data Documentation

◆ afterStmt

inCodeBlockStmt* afterStmt

Definition at line 872 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().

◆ block

codeBlock* block

Definition at line 873 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().

◆ cond

rExpr* cond

Definition at line 871 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().

◆ initStmt

inCodeBlockStmt* initStmt

Definition at line 870 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().


The documentation for this class was generated from the following files: