ExactMatcher class

A variant of TextMatcher for parsing strings that exactly match any of the strings in the passed list.

TextParser(
  matchers: [
    ExactMatcher(['e.g.', 'C++']),
  ],
)
Inheritance

Constructors

ExactMatcher(Iterable<String> strings)
Creates an ExactMatcher for parsing strings that exactly match any of the strings in the passed list.

Properties

hashCode int
The hash code for this object.
no setterinherited
pattern String
The regular expression string to specify the rule for parsing.
finalinherited
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