ComputeContext class abstract

A compute context defines some rules the lexer/parser/evaluator must follow

Implementers

Constructors

ComputeContext()

Properties

convertDegreesToRadians bool
When using functions asking for angles, automatically convert the degrees to radians to compute them.
no setter
hashCode int
The hash code for this object.
no setterinherited
letterChecker RegExp
Needed to check if a char can be part of a call (defaults to the latin alphabet.)
no setter
numberChecker RegExp
Needed to check if a char can be part of a number (defaults to digits, "." and exponents.)
no setter
registeredConstants List<Constant>
A list of constants, defaults to basic constants (pi, e, etc.)
no setter
registeredFunctions List<MathFunction>
A list of functions, defaults to basic functions (sin, cos, etc.)
no setter
registeredModifiers List<Modifier>
A list of modifiers, defaults to basic modifiers (factorials, plus, minus etc.)
no setter
registeredOperators List<Operator>
A list of operators, defaults to basic operators (plus, minus, etc.)
no setter
registeredTokens List<TokenType>
A list of token types, defaults to basic token types (numbers, operators, brackets, etc.)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited