SymbolDefinition
Inspect result.symbols for statically resolved project definitions. Each
record identifies its snapshot and the location where the definition begins.
dataclass linescope.model.SymbolDefinition[source]
Identify a statically resolved project definition.
| Attributes |
kind : str | SymbolKind Definition category normalized to SymbolKind at construction. Lexical name including enclosing classes and functions. Identifier of the snapshot containing the definition. One-based line where the definition begins. Zero-based character offset, or None when unavailable. |
See Also
Locate a one-based line and zero-based character column in a snapshot.
Preserve the full source text observed during collection.
Link one source token, rather than an entire line, to a definition.