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

Public Member Functions

 Identifier (const CodeLocation &l, BlockPtr parent, const String &n) 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
 
virtual void visitSubStatements (Visitor &) const
 

Public Attributes

CodeLocation location
 
String name
 
BlockPtr parentBlock
 

Constructor & Destructor Documentation

◆ Identifier()

juce::littlefoot::Compiler::Identifier::Identifier ( const CodeLocation l,
BlockPtr  parent,
const String n 
)
inlinenoexcept

Member Function Documentation

◆ alwaysReturns()

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

◆ emit()

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

◆ getType()

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

◆ simplify()

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

◆ visitSubStatements()

Member Data Documentation

◆ location

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

◆ name

String juce::littlefoot::Compiler::Identifier::name

◆ parentBlock

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

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