Parser<T> class
abstract
A parser signature that helps to organize the names accordingly.
Constructors
- Parser(T raw)
-
Enables const constructors.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → T
-
The raw data to be parsed.
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
-
parse(
{Config? options}) → FullName -
Parses the raw data into a FullName while considering some
options
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
build(
String text) → Parser - Builds a dynamic Parser on the fly and throws a NameException when unable to do so. The built parser only knows how to operate birth names.
-
buildAsync(
String text) → Future< Parser> -
Builds asynchronously a dynamic
Parser
.