NavigationTree

sealed external interface NavigationTree(source)

Node in a tree of nested declarations in a file. The top node is always a script or module node.

Properties

Link copied to clipboard

Present if non-empty

Link copied to clipboard
abstract var kind: ScriptElementKind
Link copied to clipboard
abstract var kindModifiers: String

ScriptElementKindModifier separated by commas, e.g. "public,abstract"

Link copied to clipboard
abstract var nameSpan: TextSpan?
Link copied to clipboard

Spans of the nodes that generated this declaration. There will be more than one if this is the result of merging.

Link copied to clipboard
abstract var text: String

Name of the declaration, or a short description, e.g. "".