Scanner class abstract interface

Finds the earliest match among a fixed list of patterns.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

findNextMatch(String line, int start, {required bool allowA, required bool allowG}) → ScanMatch?
Returns the leftmost match at or after start in line, breaking ties by pattern order. Returns null if no pattern matches.
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