hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
ifStmt::ifBlock Struct Reference

#include <ast.hpp>

Collaboration diagram for ifStmt::ifBlock:

Public Member Functions

rExprgetCond ()
 
codeBlockgetBlock ()
 

Public Attributes

rExprcond
 
codeBlockblock
 

Detailed Description

Definition at line 836 of file ast.hpp.

Member Function Documentation

◆ getBlock()

codeBlock & getBlock ( )

Definition at line 399 of file ast.cpp.

◆ getCond()

rExpr & getCond ( )

Definition at line 395 of file ast.cpp.

References ifStmt::ifBlock::cond.

Member Data Documentation

◆ block

codeBlock* block

Definition at line 838 of file ast.hpp.

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

◆ cond

rExpr* cond

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