GlobalJsonParserInstance class
This class holds all the current Parsers and manages them.
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
-
parsers
↔ Map<
Symbol, Parser> -
Map of baked parsers, where the key for every parser is their type's symbol.
read / write
-
queuedParsers
↔ List<
Symbol> -
List of queued (non-baked, but ready to be baked) parsers. [...]
read / write
Static Methods
-
addParser(
Parser parser) → void - Add a parser to the map.
-
dequeueParser(
Symbol symbol) → void - Remove a parser from queue list. [...]
-
getParser(
Symbol symbol) → Parser -
Get a parser with
symbol
as its associated symbol. [...] -
getParserByType(
Type type) → Parser -
Get a parser with
type
as its associated type. [...] -
hasParser(
Symbol symbol, { bool allowQueued: true }) → bool -
Does parser with
symbol
as its associated symbol exist? [...] -
initialize(
{bool includeBasicParsers: true }) → dynamic - Initialize the parser. [...]
-
queueParser(
Symbol symbol) → void - Queue an unbaked parser. [...]