SymbolRef
Inspect a line's calls for individual source tokens linked to definitions.
LineScope creates these links only when their destinations resolve
conservatively.
dataclass linescope.model.SymbolRef[source]
Link one source token, rather than an entire line, to a definition.
| Attributes |
Original spelling of the linked source token. One-based line containing the reference. Inclusive zero-based character offset where the token starts. Exclusive zero-based character offset where the token ends.
target : SourceLocation Conservatively resolved destination in a captured snapshot. |
See Also
Aggregate a visible source line without inventing unsupported hit counts.
Locate a one-based line and zero-based character column in a snapshot.
Identify a statically resolved project definition.