JUCE
Public Member Functions | Public Attributes | List of all members
juce::littlefoot::Compiler Struct Reference

This class compiles littlefoot source code into a littlefoot::Program object which can be executed by a littlefoot::Runner. More...

Public Member Functions

 Compiler ()
 
void addNativeFunctions (const char *const *functionPrototypes)
 
template<typename RunnerType >
void addNativeFunctions (const RunnerType &runner)
 
Result compile (const String &sourceCode, uint32 heapSizeBytesRequired)
 

Public Attributes

Array< uint8compiledObjectCode
 

Detailed Description

This class compiles littlefoot source code into a littlefoot::Program object which can be executed by a littlefoot::Runner.

Constructor & Destructor Documentation

§ Compiler()

juce::littlefoot::Compiler::Compiler ( )

Member Function Documentation

§ addNativeFunctions() [1/2]

void juce::littlefoot::Compiler::addNativeFunctions ( const char *const *  functionPrototypes)

§ addNativeFunctions() [2/2]

template<typename RunnerType >
void juce::littlefoot::Compiler::addNativeFunctions ( const RunnerType &  runner)

§ compile()

Result juce::littlefoot::Compiler::compile ( const String sourceCode,
uint32  heapSizeBytesRequired 
)

Member Data Documentation

§ compiledObjectCode

Array<uint8> juce::littlefoot::Compiler::compiledObjectCode

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