Percent class abstract
The base class for all percent-driven scanners
- Inheritance
- Implementers
Constructors
- Percent.new({int width = -1, required bool ignore})
-
Generative constructor
const
Properties
Methods
-
addMatch(
List matches, Object value) → void - Adds a match to the list of matches. The type of match ("value") depends on the respective scanner.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scan(
CharGet chars, List matches) → bool -
Scans characters and adds matches to "matches".
Returns true if a match is found.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited