SourceLocation
Use source_id to find the snapshot in result.sources, then use the one-based
line and optional zero-based column to locate the measured source.
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.