AstRoot

class AstRoot(val children: List<Node>) : NestableNode

The root of a node tree.

Constructors

Link copied to clipboard
constructor(children: List<Node>)

Properties

Link copied to clipboard
open override val children: List<Node>

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.

Link copied to clipboard