syside.BasicDocument

class BasicDocument
property text_document: syside.SharedMutex[syside.TextDocument] | None
property url: syside.Url
property build_state: syside.BuildState
property document_state: syside.DocumentState
property document_tier: syside.DocumentTier
change_document_tier(arg: syside.DocumentTier, /) None

Set document_tier to another value. This is a method rather than a function because tier should not change throughout document lifetime. Nevertheless, this is still useful in cases where a document has just been constructed and its attributes need to be changed.

property language: str
property version: syside.DocumentVersion

The version of the last build. This corresponds to the version of TextDocument this was built from.

increment_version() None

Increment sema version. Source version is automatically handled by source parser.

__hash__() int
__cpp_name__: str = 'syside::BasicDocument'