FunctionToken class
A token for functions.
- Inheritance
-
- Object
- Token<
FunctionTokenType> - FunctionToken
Constructors
- FunctionToken(ComputeContext context, {required FunctionTokenType type, required String rawValue, int globalOffset = -1})
- Creates the token.
Properties
- function ↔ MathFunction
-
The held function.
latefinal
- globalOffset → int
-
Where the token is located.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawValue → String
-
The raw value of the token.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → FunctionTokenType
-
The type of the token.
finalinherited
Methods
-
compute(
ComputeContext ctx) → Result -
Computes the value(s) stored in this object into a Result.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited