Skip to content

DocumentState

[Source]

class ref DocumentState

Constructors

create

[Source]

new ref create(
  path': String val,
  channel': Channel tag)
: DocumentState ref^

Parameters

Returns


Public fields

let path: String val

[Source]


var module: (Module val | None val)

[Source]


var position_index: (PositionIndex val | None val)

[Source]


var hash: USize val

[Source]


var compiler_run_id: USize val

[Source]


Public Functions

update

[Source]

fun ref update(
  module': Module val,
  run_id: USize val)
: None val

Parameters

Returns


document_symbols

[Source]

Get or create the current document symbols

fun ref document_symbols()
: Array[DocumentSymbol ref] ref

Returns


dispose

[Source]

fun box dispose()
: None val

Returns