Skip to main content

Crate sephera_symbols

Crate sephera_symbols 

Source
Expand description

Declaration counting across a project.

loc reports how much code exists. This module reports what is declared in it: functions, types, enums, and constants per language, driven by Tree-sitter grammars rather than pattern matching.

Structs§

LanguageSymbols
Declaration totals for one language.
SymbolAnalyzer
Counts declarations across a project tree.
SymbolDetail
Per-declaration detail, produced on request rather than by default.
SymbolEntry
A single declaration, as listed by SymbolDetail.
SymbolReport
Aggregate symbol counts across a project.

Enums§

SymbolKind
The categories of declaration the counter distinguishes.
SymbolMatch
The outcome of resolving a name against a SymbolDetail.

Functions§

ambiguity_message
Explain an ambiguous name by listing what it matched.
collect_symbol_ranges
Build a focus-path list plus line ranges for several names.
pick_unique
Choose the single declaration for name, or explain why it cannot be chosen.
range_of
The inclusive line span a declaration occupies.