ParseTree class abstract
- Inheritance
-
- Object
- Tree
- SyntaxTree
- ParseTree
- Implementers
Constructors
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 pairoverride-getter
- 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
- 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 setter
Methods
-
accept<
T> (ParseTreeVisitor< T> visitor) → T? - The ParseTreeVisitor needs a double dispatch method. */
-
getChild<
T> (int i) → ParseTree? -
override
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited