TerminalNode class abstract

Inheritance
Implementers

Constructors

TerminalNode()

Properties

childCount int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
parent ParseTree?
Set the parent for this node.
covariantgetter/setter pairinherited
payload → dynamic
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceInterval Interval
Return an Interval indicating the index in the TokenStream of the first and last token associated with this subtree. If this node is a leaf, then the interval represents a single token and has interval i..i for token index i.
no setterinherited
symbol Token
no setter
text String?
Return the combined text of all leaf nodes. Does not get any off-channel tokens (if any) so won't return whitespace and comments if they are sent to parser on hidden channel.
no setterinherited

Methods

accept<T>(ParseTreeVisitor<T> visitor) → T?
The ParseTreeVisitor needs a double dispatch method. */
inherited
getChild<T>(int i) ParseTree?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toStringTree({Parser parser}) String
Specialize toStringTree so that it can print out more information based upon the parser.
inherited

Operators

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