Parser class

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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