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

Public Member Functions

 Assignment (const CodeLocation &l, BlockPtr parent, const String &dest, ExpPtr source, bool isPost) noexcept
 
virtual bool alwaysReturns () const
 
void emit (CodeGenerator &cg, Type requiredType, int stackDepth) const override
 
Type getType (CodeGenerator &) const override
 
ExpPtr simplify (SyntaxTreeBuilder &stb) override
 
void visitSubStatements (Statement::Visitor &visit) const override
 

Public Attributes

bool isPostAssignment
 
CodeLocation location
 
ExpPtr newValue
 
BlockPtr parentBlock
 
String target
 

Constructor & Destructor Documentation

◆ Assignment()

juce::littlefoot::Compiler::Assignment::Assignment ( const CodeLocation l,
BlockPtr  parent,
const String dest,
ExpPtr  source,
bool  isPost 
)
inlinenoexcept

Member Function Documentation

◆ alwaysReturns()

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

◆ emit()

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

◆ getType()

Type juce::littlefoot::Compiler::Assignment::getType ( CodeGenerator ) const
inlineoverridevirtual

◆ simplify()

ExpPtr juce::littlefoot::Compiler::Assignment::simplify ( SyntaxTreeBuilder stb)
inlineoverridevirtual

◆ visitSubStatements()

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

Member Data Documentation

◆ isPostAssignment

bool juce::littlefoot::Compiler::Assignment::isPostAssignment

◆ location

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

◆ newValue

ExpPtr juce::littlefoot::Compiler::Assignment::newValue

◆ parentBlock

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

◆ target

String juce::littlefoot::Compiler::Assignment::target

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