Alt5<I, O> class

Parses parsers one by one and returns the first successful results.

Inheritance

Constructors

Alt5(ParserBuilder<I, O> parser1, ParserBuilder<I, O> parser2, ParserBuilder<I, O> parser3, ParserBuilder<I, O> parser4, ParserBuilder<I, O> parser5)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
parser1 ParserBuilder<I, O>
final
parser2 ParserBuilder<I, O>
final
parser3 ParserBuilder<I, O>
final
parser4 ParserBuilder<I, O>
final
parser5 ParserBuilder<I, O>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addResultsToTemplateValues(Map<String, String> values, List<ParserResult?> results) → void
inherited
build(Context context, ParserResult? result) String
inherited
getInputType() String
inherited
getResultType() String
inherited
getResultValue(String name) String
inherited
isNullableResultType() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(String template, Map<String, String> values, [List<ParserResult?>? results]) String
inherited
render2(bool condition, String template1, String template2, Map<String, String> values, [List<ParserResult?>? results]) String
inherited
toString() String
A string representation of this object.
inherited

Operators

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