Liking cljdoc? Tell your friends :D

dots.typescript.i-script-snapshot

Represents an immutable snapshot of a script at a specified time.Once acquired, the snapshot is observably immutable. i.e. the same calls with the same parameters will return the same values.

Represents an immutable snapshot of a script at a specified time.Once acquired, the
snapshot is observably immutable. i.e. the same calls with the same parameters will return
the same values.
raw docstring

change-rangecljs

(change-range i-script-snapshot old-snapshot)

Gets the TextChangeRange that describe how the text changed between this text and an older version. This information is used by the incremental parser to determine what sections of the script need to be re-parsed. 'undefined' can be returned if the change range cannot be determined. However, in that case, incremental parsing will not happen and the entire document will be re - parsed.

Parameters:

  • old-snapshot: IScriptSnapshot

Returns: TextChangeRange | undefined

Gets the TextChangeRange that describe how the text changed between this text and
an older version.  This information is used by the incremental parser to determine
what sections of the script need to be re-parsed.  'undefined' can be returned if the
change range cannot be determined.  However, in that case, incremental parsing will
not happen and the entire document will be re - parsed.

**Parameters:**
- `old-snapshot`: `IScriptSnapshot`

**Returns:** `TextChangeRange | undefined`
sourceraw docstring

disposecljs

(dispose i-script-snapshot)

Releases all resources held by this script snapshot

Returns: void

Releases all resources held by this script snapshot

**Returns:** `void`
sourceraw docstring

lengthcljs

(length i-script-snapshot)

Gets the length of this script snapshot.

Returns: number

Gets the length of this script snapshot.

**Returns:** `number`
sourceraw docstring

textcljs

(text i-script-snapshot start end)

Gets a portion of the script snapshot specified by [start, end).

Parameters:

  • start: number
  • end: number

Returns: string

Gets a portion of the script snapshot specified by [start, end).

**Parameters:**
- `start`: `number`
- `end`: `number`

**Returns:** `string`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close