Nearley class

Constructors

Nearley()

Properties

current int
read / write
grammar NearleyGrammar
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lexer ↔ dynamic
read / write
lexerState ↔ dynamic
read / write
options ↔ dynamic
read / write
results ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
table ↔ dynamic
read / write

Methods

buildFirstStateStack(dynamic state, dynamic visited) → dynamic
displayStateStack(dynamic stateStack, dynamic lines) → dynamic
feed(dynamic chunk) → dynamic
finish() → dynamic
getSymbolDisplay(dynamic symbol) → dynamic
getSymbolLongDisplay(dynamic symbol) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parser(NearleyGrammar rules, {dynamic start, dynamic options}) → void
reportError(dynamic token) → dynamic
reportErrorCommon(dynamic lexerMessage, dynamic tokenDisplay) → dynamic
reportLexerError(dynamic lexerError) String
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

fromCompiled(Map<String, dynamic> rules, {dynamic start}) NearleyGrammar