|
| BinaryTerm (Term *const l, Term *const r) |
|
int | getInputIndexFor (const Term *possibleInput) const |
|
Type | getType () const noexcept |
|
int | getNumInputs () const |
|
Term * | getInput (int index) const |
|
virtual double | performFunction (double left, double right) const =0 |
|
virtual void | writeOperator (String &dest) const =0 |
|
TermPtr | resolve (const Scope &scope, int recursionDepth) |
|
String | toString () const |
|
| Term () |
|
virtual | ~Term () |
|
virtual Term * | clone () const =0 |
|
virtual double | toDouble () const |
|
virtual int | getOperatorPrecedence () const |
|
virtual ReferenceCountedObjectPtr< Term > | negated () |
|
virtual ReferenceCountedObjectPtr< Term > | createTermToEvaluateInput (const Scope &, const Term *, double, Term *) const |
|
virtual String | getName () const |
|
virtual void | renameSymbol (const Symbol &oldSymbol, const String &newName, const Scope &scope, int recursionDepth) |
|
virtual void | visitAllSymbols (SymbolVisitor &visitor, const Scope &scope, int recursionDepth) |
|
void | incReferenceCount () noexcept |
|
void | decReferenceCount () noexcept |
|
bool | decReferenceCountWithoutDeleting () noexcept |
|
int | getReferenceCount () const noexcept |
|
◆ BinaryTerm()
Expression::Helpers::BinaryTerm::BinaryTerm |
( |
Term *const |
l, |
|
|
Term *const |
r |
|
) |
| |
|
inline |
◆ createDestinationTerm()
TermPtr Expression::Helpers::BinaryTerm::createDestinationTerm |
( |
const Scope & |
scope, |
|
|
const Term * |
input, |
|
|
double |
overallTarget, |
|
|
Term * |
topLevelTerm |
|
) |
| const |
|
inlineprotected |
◆ getInput()
Term* Expression::Helpers::BinaryTerm::getInput |
( |
int |
index | ) |
const |
|
inlinevirtual |
◆ getInputIndexFor()
int Expression::Helpers::BinaryTerm::getInputIndexFor |
( |
const Term * |
possibleInput | ) |
const |
|
inlinevirtual |
◆ getNumInputs()
int Expression::Helpers::BinaryTerm::getNumInputs |
( |
| ) |
const |
|
inlinevirtual |
◆ getType()
Type Expression::Helpers::BinaryTerm::getType |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ performFunction()
virtual double Expression::Helpers::BinaryTerm::performFunction |
( |
double |
left, |
|
|
double |
right |
|
) |
| const |
|
pure virtual |
◆ resolve()
TermPtr Expression::Helpers::BinaryTerm::resolve |
( |
const Scope & |
scope, |
|
|
int |
recursionDepth |
|
) |
| |
|
inlinevirtual |
◆ toString()
String Expression::Helpers::BinaryTerm::toString |
( |
| ) |
const |
|
inlinevirtual |
◆ writeOperator()
virtual void Expression::Helpers::BinaryTerm::writeOperator |
( |
String & |
dest | ) |
const |
|
pure virtual |
◆ left
const TermPtr Expression::Helpers::BinaryTerm::left |
|
protected |
◆ right
const TermPtr Expression::Helpers::BinaryTerm::right |
|
protected |
The documentation for this class was generated from the following file: