TextParser class

A class that parses text according to specified matchers.

Constructors

TextParser({List<TextMatcher> matchers = _kDefaultMatchers, bool multiLine = false, bool caseSensitive = true, bool unicode = false, bool dotAll = false})
Creates a TextParser that parses text according to specified matchers.

Properties

hashCode int
The hash code for this object.
no setterinherited
matchers List<TextMatcher>
The list of matchers.
getter/setter pair
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
parse(String text, {bool onlyMatches = false, bool useIsolate = true}) Future<List<TextElement>>
Parses the provided text according to the matchers specified in the constructor.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited