JUCE  v5.2.0-514-g49784a029
JUCE API
juce::littlefoot::Compiler::LoopStatement Struct Reference
Inheritance diagram for juce::littlefoot::Compiler::LoopStatement:
Collaboration diagram for juce::littlefoot::Compiler::LoopStatement:

Public Member Functions

 LoopStatement (const CodeLocation &l, BlockPtr parent, bool isDo) noexcept
 
virtual bool alwaysReturns () const
 
void emit (CodeGenerator &cg, Type, int stackDepth) const override
 
StatementPtr simplify (SyntaxTreeBuilder &stb) override
 
void visitSubStatements (Statement::Visitor &visit) const override
 

Public Attributes

StatementPtr body
 
ExpPtr condition
 
StatementPtr initialiser
 
bool isDoLoop
 
StatementPtr iterator
 
CodeLocation location
 
BlockPtr parentBlock
 

Constructor & Destructor Documentation

◆ LoopStatement()

juce::littlefoot::Compiler::LoopStatement::LoopStatement ( const CodeLocation l,
BlockPtr  parent,
bool  isDo 
)
inlinenoexcept

Member Function Documentation

◆ alwaysReturns()

virtual bool juce::littlefoot::Compiler::Statement::alwaysReturns ( ) const
inlinevirtualinherited

◆ emit()

void juce::littlefoot::Compiler::LoopStatement::emit ( CodeGenerator cg,
Type  ,
int  stackDepth 
) const
inlineoverridevirtual

◆ simplify()

StatementPtr juce::littlefoot::Compiler::LoopStatement::simplify ( SyntaxTreeBuilder stb)
inlineoverridevirtual

◆ visitSubStatements()

void juce::littlefoot::Compiler::LoopStatement::visitSubStatements ( Statement::Visitor visit) const
inlineoverridevirtual

Member Data Documentation

◆ body

StatementPtr juce::littlefoot::Compiler::LoopStatement::body

◆ condition

ExpPtr juce::littlefoot::Compiler::LoopStatement::condition

◆ initialiser

StatementPtr juce::littlefoot::Compiler::LoopStatement::initialiser

◆ isDoLoop

bool juce::littlefoot::Compiler::LoopStatement::isDoLoop

◆ iterator

StatementPtr juce::littlefoot::Compiler::LoopStatement::iterator

◆ location

CodeLocation juce::littlefoot::Compiler::Statement::location
inherited

◆ parentBlock

BlockPtr juce::littlefoot::Compiler::Statement::parentBlock
inherited

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