Parser class Null safety

The actual argument parsing class.

Unlike ArgParser which is really more an "arg grammar", this is the class that does the parsing and holds the mutable state required during a parse.

Constructors

Parser(String? _commandName, ArgParser _grammar, Queue<String> _args, [Parser? _parent, List<String>? rest])

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
parse() ArgResults
Parses the arguments. This can only be called once.
toString() String
A string representation of this object. [...]
inherited

Operators

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