RegexEngine class abstract interface

A regex backend for the tokenizer.

Patterns are Oniguruma sources, exactly as they appear in a grammar. The default DartRegexEngine translates them to Dart RegExps. An engine that runs Oniguruma directly can implement this interface instead.

Implementers

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

createScanner(List<String> patterns) → Scanner
Compiles patterns into a scanner that returns the leftmost match across all of them.
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