BazelOptionParser class
Parser for the BazelPackages option.
Constructors
-
BazelOptionParser(Map<
String, BazelPackage> output)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
output
→ Map<
String, BazelPackage> -
Output map of package input_root to package.
final
- 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(
String name, String? value, OnError onError) → void -
Parse the
name=valuevalue pair and report any errors toonError. If the option is a flag,valuewill be null. Note,nameis commonly unused. It is provided becauseSingleOptionParsercan be registered for multiple option names ingenericOptionsParser. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited