JsonParserDefinition class
JSON parser definition.
- Inheritance
-
- Object
- JsonGrammarDefinition
- JsonParserDefinition
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 -
override
-
build<
T> ({Function? start, List< Object> arguments = const []}) → Parser<T> -
Builds a composite parser from this definition.
inherited
-
characterEscape(
) → Parser -
override
-
characterNormal(
) → Parser -
inherited
-
characterPrimitive(
) → Parser -
inherited
-
characterUnicode(
) → Parser -
override
-
elements(
) → Parser -
inherited
-
falseToken(
) → Parser -
override
-
members(
) → Parser -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
nullToken(
) → Parser -
override
-
numberPrimitive(
) → Parser -
inherited
-
numberToken(
) → Parser -
override
-
object(
) → Parser -
override
-
pair(
) → Parser -
inherited
-
ref<
T> (Function callback, [dynamic arg1 = undefined, dynamic arg2 = undefined, dynamic arg3 = undefined, dynamic arg4 = undefined, dynamic arg5 = undefined]) → Parser< T> -
Reference to a production
callback
optionally parametrized witharg1
,arg2
,arg3
,arg4
, andarg5
.inherited -
ref0<
T> (Parser< T> callback()) → Parser<T> -
Reference to a production
callback
without any parameters.inherited -
ref1<
T, A1> (Parser< T> callback(A1), A1 arg1) → Parser<T> -
Reference to a production
callback
parametrized with a single argumentarg1
.inherited -
ref2<
T, A1, A2> (Parser< T> callback(A1, A2), A1 arg1, A2 arg2) → Parser<T> -
Reference to a production
callback
parametrized with two argumentsarg1
andarg2
.inherited -
ref3<
T, A1, A2, A3> (Parser< T> callback(A1, A2, A3), A1 arg1, A2 arg2, A3 arg3) → Parser<T> -
Reference to a production
callback
parametrized with tree argumentsarg1
,arg2
, andarg3
.inherited -
ref4<
T, A1, A2, A3, A4> (Parser< T> callback(A1, A2, A3, A4), A1 arg1, A2 arg2, A3 arg3, A4 arg4) → Parser<T> -
Reference to a production
callback
parametrized with four argumentsarg1
,arg2
,arg3
, andarg4
.inherited -
ref5<
T, A1, A2, A3, A4, A5> (Parser< T> callback(A1, A2, A3, A4, A5), A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5) → Parser<T> -
Reference to a production
callback
parametrized with five argumentsarg1
,arg2
,arg3
,arg4
, andarg5
.inherited -
start(
) → Parser -
The starting production of this definition.
inherited
-
stringPrimitive(
) → Parser -
override
-
stringToken(
) → Parser -
override
-
token(
Object source, [String? name]) → Parser -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trueToken(
) → Parser -
override
-
value(
) → Parser -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited