StreamParser class final

lang-core's streaming parser: caches completed statements and re-parses only the pending tail on each update.

Constructors

StreamParser(CompiledSchema schema, {String? rootName, Set<String> boundNames = const {}})

Properties

boundNames → Set<String>
Host-bound $names (with the $): paths into them pass bound-only props.
final
hashCode → int
The hash code for this object.
no setterinherited
rootName → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → CompiledSchema
final

Methods

getResult({bool complete = false}) → ParseResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
push(String chunk, {bool complete = false}) → ParseResult
reset() → void
set(String fullText, {bool complete = false}) → ParseResult
Sets the full text so far; restarts when it is not an extension.
toString() → String
A string representation of this object.
inherited

Operators

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