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
abstract var childItems: <Error class: unknown class><NavigationTree>?

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
abstract var spans: <Error class: unknown class><TextSpan>

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. "".