SourceLocation
source_id selects a snapshot in result.sources; line is one-based.
dataclass linescope.model.SourceLocation[source]
Locate a one-based line and zero-based character column in a snapshot.
| Attributes |
Identifier of the snapshot containing this location. One-based source line number. Zero-based character offset, or None when unavailable. Resolved symbol label, or None when unavailable. |
See Also
Aggregate a visible source line without inventing unsupported hit counts.
Preserve the full source text observed during collection.
Link one source token, rather than an entire line, to a definition.