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

Public Member Functions

 LiteralValue (const CodeLocation &l, BlockPtr parent, const var &v) noexcept
 
virtual bool alwaysReturns () const
 
void emit (CodeGenerator &cg, Type requiredType, int) const override
 
Type getType (CodeGenerator &) const override
 
virtual ExpPtr simplify (SyntaxTreeBuilder &) override
 
virtual void visitSubStatements (Visitor &) const
 

Public Attributes

CodeLocation location
 
BlockPtr parentBlock
 
var value
 

Constructor & Destructor Documentation

◆ LiteralValue()

juce::littlefoot::Compiler::LiteralValue::LiteralValue ( const CodeLocation l,
BlockPtr  parent,
const var v 
)
inlinenoexcept

Member Function Documentation

◆ alwaysReturns()

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

◆ emit()

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

◆ getType()

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

◆ simplify()

◆ visitSubStatements()

Member Data Documentation

◆ location

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

◆ parentBlock

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

◆ value

var juce::littlefoot::Compiler::LiteralValue::value

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