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

#include <ast.hpp>

Inheritance diagram for forEachStmt:
Collaboration diagram for forEachStmt:

Public Member Functions

identifiergetVar ()
 
rExprgetContainer ()
 
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

identifiervar
 
rExprcontainer
 
codeBlockblock
 

Detailed Description

Definition at line 884 of file ast.hpp.

Member Function Documentation

◆ getBlock()

codeBlock & getBlock ( )

Definition at line 451 of file ast.cpp.

◆ getContainer()

rExpr & getContainer ( )

Definition at line 447 of file ast.cpp.

◆ getVar()

identifier & getVar ( )

Definition at line 443 of file ast.cpp.

Member Data Documentation

◆ block

codeBlock* block

Definition at line 888 of file ast.hpp.

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

◆ container

rExpr* container

Definition at line 887 of file ast.hpp.

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

◆ var

identifier* var

Definition at line 886 of file ast.hpp.

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


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