mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 01:54:07 +02:00
* Updated breakpad to latest version.
This commit is contained in:
@@ -44,10 +44,12 @@
|
||||
// either literal values suitable for ValueType, or constants or variables,
|
||||
// which reference the dictionary. The supported binary operators are +
|
||||
// (addition), - (subtraction), * (multiplication), / (quotient of division),
|
||||
// and % (modulus of division). The unary ^ (dereference) operator is also
|
||||
// provided. These operators allow any operand to be either a literal
|
||||
// value, constant, or variable. Assignment (=) of any type of operand into
|
||||
// a variable is also supported.
|
||||
// % (modulus of division), and @ (data alignment). The alignment operator (@)
|
||||
// accepts a value and an alignment size, and produces a result that is a
|
||||
// multiple of the alignment size by truncating the input value.
|
||||
// The unary ^ (dereference) operator is also provided. These operators
|
||||
// allow any operand to be either a literal value, constant, or variable.
|
||||
// Assignment (=) of any type of operand into a variable is also supported.
|
||||
//
|
||||
// The dictionary is provided as a map with string keys. Keys beginning
|
||||
// with the '$' character are treated as variables. All other keys are
|
||||
@@ -151,6 +153,10 @@ class PostfixEvaluator {
|
||||
bool EvaluateInternal(const string &expression,
|
||||
DictionaryValidityType *assigned);
|
||||
|
||||
bool EvaluateToken(const string &token,
|
||||
const string &expression,
|
||||
DictionaryValidityType *assigned);
|
||||
|
||||
// The dictionary mapping constant and variable identifiers (strings) to
|
||||
// values. Keys beginning with '$' are treated as variable names, and
|
||||
// PostfixEvaluator is free to create and modify these keys. Weak pointer.
|
||||
|
Reference in New Issue
Block a user