State<T> class

Constructors

State.new(T input)

Properties

context Object?
getter/setter pair
errorCount int
getter/setter pair
errors List<ParseError?>
final
failPos int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
input → T
final
pos int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canHandleError(int failPos, int errorCount) bool
clearErrors(int failPos, int errorCount) → void
fail<R>(ParseError error) Result<R>?
failAll<R>(List<ParseError> errors) Result<R>?
failAllAt<R>(int offset, List<ParseError> errors) Result<R>?
failAt<R>(int offset, ParseError error) Result<R>?
getErrors() List<ParseError>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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