syside.DocumentVersion

class DocumentVersion(source: int = 0, sema: int = 0)

Initialization

property source: int

The version of the source TextDocument the document was built from. Always 0 if there is no actual source associated. Takes priority over sema.

property sema: int

The sema version of the document. This is separate from source since sema may 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.

__int__() int
__str__() str
__eq__(arg: object, /) bool
__ne__(arg: object, /) bool
__le__(arg: object, /) bool
__ge__(arg: object, /) bool
__lt__(arg: object, /) bool
__gt__(arg: object, /) bool
__cpp_name__: str = 'syside::DocumentVersion'