StructureNode

Atom, compound structure, or structurally special zero-arity term.

Properties

Link copied to clipboard

parsed arguments in source order

Link copied to clipboard
abstract val children: List<SyntaxNode>

Immediate syntax children in source order.

Link copied to clipboard
abstract val functor: String

decoded functor

Link copied to clipboard
abstract val functorTokenId: Int?

absolute functor token ID, or null for delimiter-derived empty forms

Link copied to clipboard
abstract val kind: SyntaxKind

Stable structural category of this node.

Link copied to clipboard
abstract val priority: Int

Root Prolog priority. Atomic and parenthesized terms have priority zero.

Link copied to clipboard
abstract val span: SourceSpan

End-exclusive range of source characters belonging to this node.

Link copied to clipboard

source syntax that produced the structure

Link copied to clipboard
abstract val tokenRange: TokenRange

End-exclusive range of absolute token IDs belonging to this node.

Functions

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

Dispatches this structure to SyntaxNodeVisitor.visitStructure.