opt method
Produces an optional copy of this parser.
If backtrack
is true
(default), then a failed parse will not
modify the scanner state.
Implementation
@override
ListParser<T> opt({bool backtrack = true}) => _ListOpt(this, backtrack);
Produces an optional copy of this parser.
If backtrack
is true
(default), then a failed parse will not
modify the scanner state.
@override
ListParser<T> opt({bool backtrack = true}) => _ListOpt(this, backtrack);