LexRule class final
One lexing rule: when pattern matches at the current position, the match
becomes a token of kind and lexing continues in state next (or stays in
the current state when null).
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → TokenKind
-
The category of the produced token.
final
- next → String?
-
The state to switch to after a match, or
nullto stay.final - regExp → RegExp
-
The compiled pattern; it is matched anchored at the current position.
final
- 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