Tokenizer class
Helper class for parsing a formula into tokens.
- Annotations
Properties
- cursor ↔ int
-
getter/setter pair
- formula → String
-
The formular, may contain placeholders in the format of {placeholder_name}.
final
- formulaLength → int
-
Length of the formula.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasNext(
) → bool - Whether there are more tokens to retrieve.
-
next(
) → Token? - Retrives the next Token.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets the cursor to the begining of the formula.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited