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

Classes

struct  BuiltInFunction
 

Public Member Functions

 FunctionCall (const CodeLocation &l, BlockPtr parent) noexcept
 
virtual bool alwaysReturns () const
 
void emit (CodeGenerator &cg, Type requiredType, int stackDepth) const override
 
void emitArgs (CodeGenerator &cg, const Array< Type > &argTypes, int stackDepth) const
 
void emitCast (CodeGenerator &cg, Type destType, int stackDepth) const
 
const BuiltInFunctionfindBuiltInFunction (FunctionID functionID) const noexcept
 
FunctionID getFunctionID (CodeGenerator &cg) const
 
Type getType (CodeGenerator &cg) const override
 
ExpPtr simplify (SyntaxTreeBuilder &stb) override
 
void throwCannotFindFunctionError (CodeGenerator &cg, Type returnType) const
 
void visitSubStatements (Statement::Visitor &visit) const override
 

Public Attributes

Array< ExpPtrarguments
 
String functionName
 
CodeLocation location
 
BlockPtr parentBlock
 

Constructor & Destructor Documentation

◆ FunctionCall()

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

Member Function Documentation

◆ alwaysReturns()

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

◆ emit()

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

◆ emitArgs()

void juce::littlefoot::Compiler::FunctionCall::emitArgs ( CodeGenerator cg,
const Array< Type > &  argTypes,
int  stackDepth 
) const
inline

◆ emitCast()

void juce::littlefoot::Compiler::FunctionCall::emitCast ( CodeGenerator cg,
Type  destType,
int  stackDepth 
) const
inline

◆ findBuiltInFunction()

const BuiltInFunction* juce::littlefoot::Compiler::FunctionCall::findBuiltInFunction ( FunctionID  functionID) const
inlinenoexcept

◆ getFunctionID()

FunctionID juce::littlefoot::Compiler::FunctionCall::getFunctionID ( CodeGenerator cg) const
inline

◆ getType()

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

◆ simplify()

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

◆ throwCannotFindFunctionError()

void juce::littlefoot::Compiler::FunctionCall::throwCannotFindFunctionError ( CodeGenerator cg,
Type  returnType 
) const
inline

◆ visitSubStatements()

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

Member Data Documentation

◆ arguments

Array<ExpPtr> juce::littlefoot::Compiler::FunctionCall::arguments

◆ functionName

String juce::littlefoot::Compiler::FunctionCall::functionName

◆ 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: