Element class sealed
The base representation of an ABNF grammar element.
Properties
- description → String?
-
An optional human-readable description of this element.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
ElementVisitor visitor) → void - Accepts an ElementVisitor for traversing the grammar tree.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String source) → ParseResult -
Attempts to parse the
sourcestring matching this element. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited