TextMatcher class abstract

A base class of matchers used to provide TextParser with match patterns for parsing.

As a result of parsing, each TextElement holds the type of this class or its subclass to indicate which matcher the element was parsed by.

Implementers
Annotations
  • @immutable

Constructors

TextMatcher(String pattern)
const

Properties

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

Operators

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