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

#include <ast.hpp>

Inheritance diagram for whileStmt:
Collaboration diagram for whileStmt:

Public Member Functions

rExprgetCond ()
 
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

rExprcond
 
codeBlockblock
 

Detailed Description

Definition at line 858 of file ast.hpp.

Member Function Documentation

◆ getBlock()

codeBlock & getBlock ( )

Definition at line 423 of file ast.cpp.

◆ getCond()

rExpr & getCond ( )

Definition at line 419 of file ast.cpp.

Member Data Documentation

◆ block

codeBlock* block

Definition at line 861 of file ast.hpp.

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

◆ cond

rExpr* cond

Definition at line 860 of file ast.hpp.

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


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