Chunker class

Split the input to easy the parser process. In this version is not used.

Constructors

Chunker(String input, Contexts env)

Properties

chunkerCurrentIndex ↔ int
read / write
chunks ↔ List<String>
read / write
currentChunkStartIndex ↔ int
read / write
emitFrom ↔ int
read / write
env Contexts
read / write
input ↔ String
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

emitChunk({bool force: false }) → void
Split a new chunk from input
fail(String message, int index) → Null
throw Parse error
getChunks() → List<String>
Split the input into chunks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited