DocumentVersion
- class DocumentVersion
Description
Document version
(source, sema)pair.Inheritance:
Members defined in
DocumentVersion(5 members)RWThe sema version of the
document. This is separate fromsourcesincesemamay be recomputed after one of the dependencies has changed. May also be reset to 0 on source changes. Most similar to patch version in semantic versioning scheme.RWThe version of the source
TextDocumentthe document was built from. Always 0 if there is no actual source associated. Takes priority oversema.Attributes
- property sema: int
The sema version of the
document. This is separate fromsourcesincesemamay be recomputed after one of the dependencies has changed. May also be reset to 0 on source changes. Most similar to patch version in semantic versioning scheme.
- property source: int
The version of the source
TextDocumentthe document was built from. Always 0 if there is no actual source associated. Takes priority oversema.
Methods
Used by