Parser<I, O> class
abstract
- Implementers
- AllMatches
- Alpha
- Alpha1
- And
- Any
- AnyChar
- Buffered
- Calc
- ChainL1
- Char
- Choice2
- Choice3
- Choice4
- Choice5
- Choice6
- Choice7
- Choice8
- Choice9
- Delimited
- Digit
- Digit1
- Eof
- Expected
- Fast2
- Fast3
- Fast4
- Fast5
- Fast6
- Fast7
- Fast8
- Fast9
- HasMatch
- Malformed
- Many
- Many1
- ManyMN
- ManyTill
- Map1
- Match1
- Not
- OneOf
- Opt
- Position
- Preceded
- Proc
- Recognize
- Recognize2
- Recognize3
- Recognize4
- Recognize5
- Recognize6
- Recognize7
- Recognize8
- Recognize9
- Ref
- ReplaceAll
- Rest
- Satisfy
- SeparatedList
- SeparatedList1
- SeparatedListMN
- SeparatedPair
- Sequence1
- Sequence2
- Sequence3
- Sequence4
- Sequence5
- Sequence6
- Sequence7
- Sequence8
- Sequence9
- SkipWhile
- SkipWhile1
- SkipWhileMN
- StringChars
- Tag
- Tags
- TakeWhile
- TakeWhile1
- TakeWhileMN
- Terminated
- Tuple2
- Tuple3
- Tuple4
- Tuple5
- Tuple6
- Tuple7
- Tuple8
- Tuple9
- Value
- ValueP
- Verify
- Wrapper
Constructors
- Parser.new([String? name])
-
const
Properties
- getInputType → Type
-
no setter
- getOutputType → Type
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
backtrack(
State< ChunkedData< state) → boolI> > -
build(
ParserBuilder< I> builder) → Parser<I, O> -
Builds a new parser using the specified
builder
. -
fastParse(
State< I> state) → bool -
Parses the input and returns
true
if successful,false
otherwise. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
State< I> state) → Result<O> ? -
Parses the input and returns a result wrapped in Result if successful,
null
otherwise. -
parseAsync(
State< ChunkedData< state) → AsyncResult<I> >O> - Experimental. Not yet fully implemented
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited