◆ SyntaxTreeBuilder()
juce::littlefoot::Compiler::SyntaxTreeBuilder::SyntaxTreeBuilder |
( |
const String & |
code, |
|
|
const Array< NativeFunction > & |
nativeFns, |
|
|
uint32 |
defaultHeapSize |
|
) |
| |
|
inline |
◆ allocate()
template<typename Type , typename... Args>
Type* juce::littlefoot::Compiler::SyntaxTreeBuilder::allocate |
( |
Args... |
args | ) |
|
|
inline |
◆ compile()
void juce::littlefoot::Compiler::SyntaxTreeBuilder::compile |
( |
| ) |
|
|
inline |
◆ findFunction()
const Function* juce::littlefoot::Compiler::SyntaxTreeBuilder::findFunction |
( |
FunctionID |
functionID | ) |
const |
|
inlinenoexcept |
◆ findNativeFunction()
◆ getIdentifierFromExpression()
String juce::littlefoot::Compiler::SyntaxTreeBuilder::getIdentifierFromExpression |
( |
ExpPtr |
e | ) |
|
|
inlineprivate |
◆ match()
void juce::littlefoot::Compiler::TokenIterator::match |
( |
TokenType |
expected | ) |
|
|
inlineinherited |
◆ matchCloseParen()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::matchCloseParen |
( |
ExpPtr |
e | ) |
|
|
inlineprivate |
◆ matchEndOfStatement()
template<typename ExpType >
ExpType juce::littlefoot::Compiler::SyntaxTreeBuilder::matchEndOfStatement |
( |
ExpType |
e | ) |
|
|
inlineprivate |
◆ matchesAny() [1/2]
template<typename... Args>
bool juce::littlefoot::Compiler::TokenIterator::matchesAny |
( |
TokenType |
t1, |
|
|
Args... |
others |
|
) |
| const |
|
inlinenoexceptinherited |
◆ matchesAny() [2/2]
bool juce::littlefoot::Compiler::TokenIterator::matchesAny |
( |
TokenType |
t1 | ) |
const |
|
inlinenoexceptinherited |
◆ matchesAnyType()
bool juce::littlefoot::Compiler::SyntaxTreeBuilder::matchesAnyType |
( |
| ) |
const |
|
inlineprivatenoexcept |
◆ matchesAnyTypeOrVoid()
bool juce::littlefoot::Compiler::SyntaxTreeBuilder::matchesAnyTypeOrVoid |
( |
| ) |
const |
|
inlineprivatenoexcept |
◆ matchIf()
bool juce::littlefoot::Compiler::TokenIterator::matchIf |
( |
TokenType |
expected | ) |
|
|
inlineinherited |
◆ parseAdditionSubtraction()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseAdditionSubtraction |
( |
| ) |
|
|
inlineprivate |
◆ parseBlock()
BlockPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseBlock |
( |
bool |
isMainBlockOfFunction | ) |
|
|
inlineprivate |
◆ parseComparator()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseComparator |
( |
| ) |
|
|
inlineprivate |
◆ parseCompilerDirective()
void juce::littlefoot::Compiler::SyntaxTreeBuilder::parseCompilerDirective |
( |
| ) |
|
|
inlineprivate |
◆ parseConstantExpressionInitialiser()
var juce::littlefoot::Compiler::SyntaxTreeBuilder::parseConstantExpressionInitialiser |
( |
Type |
expectedType | ) |
|
|
inlineprivate |
◆ parseDoOrWhileLoop()
StatementPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseDoOrWhileLoop |
( |
bool |
isDoLoop | ) |
|
|
inlineprivate |
◆ parseExpression()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseExpression |
( |
| ) |
|
|
inlineprivate |
◆ parseFactor()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseFactor |
( |
| ) |
|
|
inlineprivate |
◆ parseForLoop()
StatementPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseForLoop |
( |
| ) |
|
|
inlineprivate |
◆ parseFunctionCall()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseFunctionCall |
( |
const String & |
name | ) |
|
|
inlineprivate |
◆ parseFunctionDeclaration()
void juce::littlefoot::Compiler::SyntaxTreeBuilder::parseFunctionDeclaration |
( |
Type |
returnType, |
|
|
const String & |
name |
|
) |
| |
|
inlineprivate |
◆ parseGlobalVariableDeclaraion()
void juce::littlefoot::Compiler::SyntaxTreeBuilder::parseGlobalVariableDeclaraion |
( |
bool |
isConst, |
|
|
Type |
type, |
|
|
String |
name |
|
) |
| |
|
inlineprivate |
◆ parseIdentifier()
String juce::littlefoot::Compiler::SyntaxTreeBuilder::parseIdentifier |
( |
| ) |
|
|
inlineprivate |
◆ parseIf()
StatementPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseIf |
( |
| ) |
|
|
inlineprivate |
◆ parseInPlaceOpExpression()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseInPlaceOpExpression |
( |
ExpPtr |
lhs, |
|
|
TokenType |
opType |
|
) |
| |
|
inlineprivate |
◆ parseIntegerLiteral()
int juce::littlefoot::Compiler::SyntaxTreeBuilder::parseIntegerLiteral |
( |
| ) |
|
|
inlineprivate |
◆ parseLogicOperator()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseLogicOperator |
( |
| ) |
|
|
inlineprivate |
◆ parseMultiplyDivide()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseMultiplyDivide |
( |
| ) |
|
|
inlineprivate |
◆ parsePostIncDec()
◆ parsePreIncDec()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parsePreIncDec |
( |
TokenType |
opType | ) |
|
|
inlineprivate |
◆ parseReturn()
StatementPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseReturn |
( |
| ) |
|
|
inlineprivate |
◆ parseShiftOperator()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseShiftOperator |
( |
| ) |
|
|
inlineprivate |
◆ parseStatement()
StatementPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseStatement |
( |
| ) |
|
|
inlineprivate |
◆ parseSuffixes()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseSuffixes |
( |
ExpPtr |
input | ) |
|
|
inlineprivate |
◆ parseTernaryOperator()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseTernaryOperator |
( |
ExpPtr |
condition | ) |
|
|
inlineprivate |
◆ parseUnary()
ExpPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseUnary |
( |
| ) |
|
|
inlineprivate |
◆ parseVariableDeclaration()
StatementPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::parseVariableDeclaration |
( |
bool |
isConst | ) |
|
|
inlineprivate |
◆ simplify()
void juce::littlefoot::Compiler::SyntaxTreeBuilder::simplify |
( |
| ) |
|
|
inline |
◆ skip()
TokenType juce::littlefoot::Compiler::TokenIterator::skip |
( |
| ) |
|
|
inlineinherited |
◆ throwErrorExpecting()
void juce::littlefoot::Compiler::TokenIterator::throwErrorExpecting |
( |
const String & |
expected | ) |
|
|
inlineinherited |
◆ allAllocatedObjects
◆ blockBeingParsed
BlockPtr juce::littlefoot::Compiler::SyntaxTreeBuilder::blockBeingParsed = nullptr |
◆ currentType
TokenType juce::littlefoot::Compiler::TokenIterator::currentType |
|
inherited |
◆ currentValue
var juce::littlefoot::Compiler::TokenIterator::currentValue |
|
inherited |
◆ functions
Array<Function*> juce::littlefoot::Compiler::SyntaxTreeBuilder::functions |
◆ heapSizeRequired
uint32 juce::littlefoot::Compiler::SyntaxTreeBuilder::heapSizeRequired |
◆ location
CodeLocation juce::littlefoot::Compiler::TokenIterator::location |
|
inherited |
◆ nativeFunctions
The documentation for this struct was generated from the following file: