|
| | BinaryOperator (const CodeLocation &l, BlockPtr parent, ExpPtr a, ExpPtr b, TokenType op) noexcept |
| |
| virtual bool | alwaysReturns () const |
| |
| void | emit (CodeGenerator &cg, Type requiredType, int stackDepth) const override |
| |
| void | emitOpAndCast (CodeGenerator &cg, Type requiredType, OpCode op) const |
| |
| Type | getResultType (Type typeA, Type typeB) const noexcept |
| |
| Type | getType (CodeGenerator &cg) const override |
| |
| ExpPtr | simplify (SyntaxTreeBuilder &stb) override |
| |
| ExpPtr | simplifyBool (bool a, bool b, LiteralValue *literal) |
| |
| ExpPtr | simplifyFloat (double a, double b, LiteralValue *literal) |
| |
| ExpPtr | simplifyInt (int a, int b, LiteralValue *literal) |
| |
| void | visitSubStatements (Statement::Visitor &visit) const override |
| |
◆ BinaryOperator()
◆ alwaysReturns()
| virtual bool juce::littlefoot::Compiler::Statement::alwaysReturns |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ emit()
| void juce::littlefoot::Compiler::BinaryOperator::emit |
( |
CodeGenerator & |
cg, |
|
|
Type |
requiredType, |
|
|
int |
stackDepth |
|
) |
| const |
|
inlineoverridevirtual |
◆ emitOpAndCast()
| void juce::littlefoot::Compiler::BinaryOperator::emitOpAndCast |
( |
CodeGenerator & |
cg, |
|
|
Type |
requiredType, |
|
|
OpCode |
op |
|
) |
| const |
|
inline |
◆ getResultType()
| Type juce::littlefoot::Compiler::BinaryOperator::getResultType |
( |
Type |
typeA, |
|
|
Type |
typeB |
|
) |
| const |
|
inlinenoexcept |
◆ getType()
◆ simplify()
◆ simplifyBool()
| ExpPtr juce::littlefoot::Compiler::BinaryOperator::simplifyBool |
( |
bool |
a, |
|
|
bool |
b, |
|
|
LiteralValue * |
literal |
|
) |
| |
|
inline |
◆ simplifyFloat()
| ExpPtr juce::littlefoot::Compiler::BinaryOperator::simplifyFloat |
( |
double |
a, |
|
|
double |
b, |
|
|
LiteralValue * |
literal |
|
) |
| |
|
inline |
◆ simplifyInt()
◆ visitSubStatements()
| void juce::littlefoot::Compiler::BinaryOperator::visitSubStatements |
( |
Statement::Visitor & |
visit | ) |
const |
|
inlineoverridevirtual |
◆ lhs
| ExpPtr juce::littlefoot::Compiler::BinaryOperator::lhs |
◆ location
| CodeLocation juce::littlefoot::Compiler::Statement::location |
|
inherited |
◆ operation
| TokenType juce::littlefoot::Compiler::BinaryOperator::operation |
◆ parentBlock
| BlockPtr juce::littlefoot::Compiler::Statement::parentBlock |
|
inherited |
◆ rhs
| ExpPtr juce::littlefoot::Compiler::BinaryOperator::rhs |
The documentation for this struct was generated from the following file: