InvalidTagParser class
This Parser
looks for any remaining tags that where not recognized
by the Parser
s.
It will return this unknown tag as a String and add detailed error(s)
to the ParserContext.
Constructors
- InvalidTagParser.new(ParserContext parserContext)
Properties
-
anythingBeforeEndParser
→ Parser<
String> -
final
-
children
→ List<
Parser> -
Returns a list of directly referenced parsers.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- parserContext → ParserContext
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tagEndParser
→ Parser<
String> -
final
-
tagStartParser
→ Parser<
String> -
final
Methods
-
copy(
) → Parser< Object> - Returns a shallow copy of the receiver.
-
fastParseOn(
String buffer, int position) → int -
Primitive method doing the actual parsing.
inherited
-
hasEqualChildren(
covariant Parser other, Set< Parser> seen) → bool -
Compare the children of two parsers.
inherited
-
hasEqualProperties(
covariant Parser other) → bool -
Compare the properties of two parsers.
inherited
-
isEqualTo(
Parser other, [Set< Parser> ? seen]) → bool -
Recursively tests for structural equality of two parsers.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String input, {int start = 0}) → Result< Object> -
Returns the parse result of the
input
.inherited -
parseOn(
Context context) → Result< Object> - see dart doc if this class.
-
replace(
Parser source, Parser target) → void -
Changes the receiver by replacing
source
withtarget
. Does nothing ifsource
does not exist inParser.children
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited