Skip to main content

Module symbol

Module symbol 

Source
Expand description

Symbol and Reference types extracted from source code via tree-sitter.

Structs§

Parameter
A function/method parameter.
Reference
A reference from one symbol/location to another symbol.
Symbol
A code symbol extracted from source.

Enums§

ReferenceKind
The kind of a reference between symbols.
SymbolKind
The kind of a code symbol.
Visibility
Visibility of a symbol.

Functions§

symbol_from_graph_node
Reconstruct a Symbol from a persisted sym:* GraphNode.
symbol_kind_from_str
Parse a SymbolKind from its Display string (e.g. "function", "enum_variant").
visibility_from_str
Parse a Visibility from its Display string.