Parser class
A parser that reads Tokens emitted by a Scanner and emits Events.
This is based on the libyaml parser, available at https://github.com/yaml/libyaml/blob/master/src/parser.c. The license for that is available in ../../libyaml-license.txt.
Constructors
- Parser(String source, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener})
-
Creates a parser that parses
source.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
) → Event - Consumes and returns the next event.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited