Trampoline class

Prevents stack overflow in recursive parsers.

Constructors

Trampoline()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enter(Parser parser, int position) → void
exit(Parser parser) → void
getMemoized<T>(Parser parser, int position) ParseResult<T>
hasMemoized(Parser parser, int position) bool
isActive(Parser parser, int position) bool
memoize(Parser parser, int position, ParseResult? result) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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