fontlab_glyport.adaptation.AdaptedSource
AdaptedSource
dataclass
A cached artifact, ordered receipt records and original-source provenance.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
adaptations |
attribute | tuple[Adaptation, ...] |
|
cache_hit |
attribute | bool |
|
compile |
function | (self) -> CodeType |
Compile without executing, retaining the original traceback filename. |
diagnostics |
attribute | tuple[ReceiptDiagnostic, ...] |
|
original_path |
attribute | Path |
|
original_sha256 |
attribute | str |
|
path |
attribute | Path |
|
profile |
attribute | str |
|
source_map |
attribute | SourceMap |
|
translate |
function | (self, line: int, column: int=1) -> SourceLocation |
Translate a generated character location using the persisted span map. |