ParseNode class

Used after initial parsing to create nodes on the fly

Constructors

ParseNode(String input, int index, FileInfo fileInfo)
Constructor to partial parse, where input is the string to parse, index start number to begin indexing and fileInfo the file Info to attach to created nodes. We could ignoreErrors. [...]

Properties

fileInfo FileInfo
Original input string file information
read / write
ignoreErrors ↔ bool
Parser errors are ignored, so we could return null
read / write
index ↔ int
We parse a input string, that start at index in the original file
read / write
isError ↔ bool
Parser result
read / write
parsers Parsers
The parser
read / write
result ↔ List
Output
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

parse(Function parseFunction) → void
Wrapper function, called with the specialized parseFunction
ruleset() Ruleset
search for a Ruleset Node
selector() Selector
search for a Selector Node
selectors() → List<Selector>
Search for List
value() → List
search for Value nodes, with important property
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