◆ BlockStatement()
juce::littlefoot::Compiler::BlockStatement::BlockStatement |
( |
const CodeLocation & |
l, |
|
|
BlockPtr |
parent, |
|
|
Function * |
f, |
|
|
bool |
isMainFunctionBlock |
|
) |
| |
|
inline |
◆ addVariable()
void juce::littlefoot::Compiler::BlockStatement::addVariable |
( |
Variable |
v, |
|
|
const CodeLocation & |
locationForError |
|
) |
| |
|
inline |
◆ alwaysReturns()
bool juce::littlefoot::Compiler::BlockStatement::alwaysReturns |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ emit()
void juce::littlefoot::Compiler::BlockStatement::emit |
( |
CodeGenerator & |
cg, |
|
|
Type |
requiredType, |
|
|
int |
stackDepth |
|
) |
| const |
|
inlineoverridevirtual |
◆ getGlobalConstants()
const Array<Variable>& juce::littlefoot::Compiler::BlockStatement::getGlobalConstants |
( |
| ) |
const |
|
inlinenoexcept |
◆ getGlobalVariables()
const Array<Variable>& juce::littlefoot::Compiler::BlockStatement::getGlobalVariables |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNumVariablesInParentBlocks()
int juce::littlefoot::Compiler::BlockStatement::getNumVariablesInParentBlocks |
( |
| ) |
const |
|
inlinenoexcept |
◆ getVariable()
const Variable& juce::littlefoot::Compiler::BlockStatement::getVariable |
( |
const String & |
name, |
|
|
const CodeLocation & |
locationForError |
|
) |
| const |
|
inline |
◆ getVariableDepth()
int juce::littlefoot::Compiler::BlockStatement::getVariableDepth |
( |
const String & |
name, |
|
|
const CodeLocation & |
locationForError |
|
) |
| const |
|
inline |
◆ indexOf()
static int juce::littlefoot::Compiler::BlockStatement::indexOf |
( |
const Array< Variable > & |
vars, |
|
|
const String & |
name |
|
) |
| |
|
inlinestaticnoexcept |
◆ simplify()
◆ visitSubStatements()
void juce::littlefoot::Compiler::BlockStatement::visitSubStatements |
( |
Statement::Visitor & |
visit | ) |
const |
|
inlineoverridevirtual |
◆ constants
Array<Variable> juce::littlefoot::Compiler::BlockStatement::constants |
◆ function
Function* juce::littlefoot::Compiler::BlockStatement::function |
◆ isMainBlockOfFunction
bool juce::littlefoot::Compiler::BlockStatement::isMainBlockOfFunction |
◆ location
CodeLocation juce::littlefoot::Compiler::Statement::location |
|
inherited |
◆ parentBlock
BlockPtr juce::littlefoot::Compiler::Statement::parentBlock |
|
inherited |
◆ statements
◆ variables
Array<Variable> juce::littlefoot::Compiler::BlockStatement::variables |
The documentation for this struct was generated from the following file: