JsonDefinition class
JSON grammar definition.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
array(
) → Parser< List< JSON?> > -
arrayElements(
) → Parser< List< JSON?> > -
build<
T> ({Function? start, List< Object> arguments = const []}) → Parser<T> -
Builds a composite parser from this definition.
inherited
-
buildFrom<
T> (Parser< T> parser) → Parser<T> -
Builds a composite parser starting at the specified production.
inherited
-
characterEscape(
) → Parser< String> -
characterNormal(
) → Parser< String> -
characterPrimitive(
) → Parser< String> -
characterUnicode(
) → Parser< String> -
falseToken(
) → Parser< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
nullToken(
) → Parser< Object?> -
numberPrimitive(
) → Parser< void> -
numberToken(
) → Parser< num> -
object(
) → Parser< Map< String, JSON?> > -
objectElement(
) → Parser< MapEntry< String, JSON?> > -
objectElements(
) → Parser< Map< String, JSON?> > -
start(
) → Parser< JSON?> - The starting production of this definition.
-
stringToken(
) → Parser< String> -
toString(
) → String -
A string representation of this object.
inherited
-
trueToken(
) → Parser< bool> -
value(
) → Parser< JSON?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited