OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_Expression.h>
Classes | |
class | Visitor |
Public Member Functions | |
virtual String | getScopeUID () const |
virtual Expression | getSymbolValue (const String &symbol) const |
virtual double | evaluateFunction (const String &functionName, const double *parameters, int numParameters) const |
virtual void | visitRelativeScope (const String &scopeName, Visitor &visitor) const |
When evaluating an Expression object, this class is used to resolve symbols and perform functions that the expression uses.
Definition at line 108 of file juce_Expression.h.
juce::Expression::Scope::Scope | ( | ) |
Definition at line 1116 of file juce_Expression.cpp.
|
virtual |
Definition at line 1117 of file juce_Expression.cpp.
|
virtual |
Executes a named function. If the function name is unknown, this can throw an Expression::EvaluationError exception.
Expression::EvaluationError |
Definition at line 1127 of file juce_Expression.cpp.
|
virtual |
Returns some kind of globally unique ID that identifies this scope.
Definition at line 1166 of file juce_Expression.cpp.
|
virtual |
Returns the value of a symbol. If the symbol is unknown, this can throw an Expression::EvaluationError exception. The member value is set to the part of the symbol that followed the dot, if there is one, e.g. for "foo.bar", symbol = "foo" and member = "bar".
Expression::EvaluationError |
Definition at line 1119 of file juce_Expression.cpp.
|
virtual |
Creates a Scope object for a named scope, and then calls a visitor to do some kind of processing with this new scope.
If the name is valid, this method must create a suitable (temporary) Scope object to represent it, and must call the Visitor::visit() method with this new scope.
Definition at line 1161 of file juce_Expression.cpp.