Parser class Null safety

A Parser checks if any of its rules can replace nodes in the model.

Implementers

Constructors

Parser(List<ParserRule> rules)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
rules List<ParserRule>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

logWarning(List<ParserWarning> warnings, ParentNode parent, ParserWarning newWarning) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parse(RootNode rootNode) Future<RootNode>
replaces all child Nodes in the RootNode according to the rules Note that this starts all over at the first rule when nodes where found and replaced. Throws a ParseWarning when there where warnings
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited