ParseState class

Constructors

ParseState(String source, {bool init = true})

Properties

ch int
getter/setter pair
failPos int
getter/setter pair
failures List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length int
final
pos int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
final

Methods

buildError({String? quote = '\''}) FormatException
enter(ProductionRuleParser parser) → void
fail(String name, int pos) → void
failAll(List<String> names, int pos) → void
getExpected() List<String>
leave(ProductionRuleParser parser, dynamic result) → void
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

Static Methods

getChar(ParseState state, int pos) int
getChar32(ParseState state, int pos) int
nextChar(ParseState state) int

Constants

eof → const int