DSMSourceReference¶
- class dsviper.DSMSourceReference¶
Bases:
objectA resolved type-reference site: its source span and its referent TypeName.
Note: Not directly instantiable.
- referent() TypeName | None¶
Return the TypeName the reference resolves to.
None only when it did not resolve, which a model that checked never leaves: a source map is built from such a model.
- span() DSMSourceSpan | None¶
Return the DSMSourceSpan of the reference site, or None.