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

Public Member Functions

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

Public Attributes

ExpPtr index
 
CodeLocation location
 
ExpPtr object
 
BlockPtr parentBlock
 

Constructor & Destructor Documentation

◆ ArraySubscript()

juce::littlefoot::Compiler::ArraySubscript::ArraySubscript ( const CodeLocation l,
BlockPtr  parent 
)
inlinenoexcept

Member Function Documentation

◆ alwaysReturns()

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

◆ emit()

void juce::littlefoot::Compiler::ArraySubscript::emit ( CodeGenerator ,
Type  ,
int   
) const
inlineoverridevirtual

◆ getType()

Type juce::littlefoot::Compiler::ArraySubscript::getType ( CodeGenerator cg) const
inlineoverridevirtual

◆ simplify()

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

◆ visitSubStatements()

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

Member Data Documentation

◆ index

ExpPtr juce::littlefoot::Compiler::ArraySubscript::index

◆ location

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

◆ object

ExpPtr juce::littlefoot::Compiler::ArraySubscript::object

◆ parentBlock

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

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