Liking cljdoc? Tell your friends :D

dots.typescript.scanner


has-extended-unicode-escape?cljs

(has-extended-unicode-escape? scanner)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

has-preceding-line-break?cljs

(has-preceding-line-break? scanner)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

has-unicode-escape?cljs

(has-unicode-escape? scanner)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

identifier?cljs

(identifier? scanner)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

look-aheadcljs

(look-ahead scanner callback)

Parameters:

  • callback: () => T

Returns: T

**Parameters:**
- `callback`: `() => T`

**Returns:** `T`
sourceraw docstring

re-scan-asterisk-equals-tokencljs

(re-scan-asterisk-equals-token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-greater-tokencljs

(re-scan-greater-token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-hash-tokencljs

(re-scan-hash-token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-invalid-identifiercljs

(re-scan-invalid-identifier scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-jsx-attribute-valuecljs

(re-scan-jsx-attribute-value scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-jsx-tokencljs

(re-scan-jsx-token scanner)
(re-scan-jsx-token scanner allow-multiline-jsx-text?)

Parameters:

  • allow-multiline-jsx-text?: boolean | undefined

Returns: JsxTokenSyntaxKind

**Parameters:**
- `allow-multiline-jsx-text?`: `boolean | undefined`

**Returns:** `JsxTokenSyntaxKind`
sourceraw docstring

re-scan-less-than-tokencljs

(re-scan-less-than-token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-question-tokencljs

(re-scan-question-token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-slash-tokencljs

(re-scan-slash-token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-template-head-or-no-substitution-templatecljs

(re-scan-template-head-or-no-substitution-template scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

re-scan-template-tokencljs

(re-scan-template-token scanner tagged-template?)

Parameters:

  • tagged-template?: boolean

Returns: SyntaxKind

**Parameters:**
- `tagged-template?`: `boolean`

**Returns:** `SyntaxKind`
sourceraw docstring

reserved-word?cljs

(reserved-word? scanner)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

reset-token-statecljs

(reset-token-state scanner pos)

Parameters:

  • pos: number

Returns: void

**Parameters:**
- `pos`: `number`

**Returns:** `void`
sourceraw docstring

scancljs

(scan scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

scan-js-doc-tokencljs

(scan-js-doc-token scanner)

Returns: JSDocSyntaxKind

**Returns:** `JSDocSyntaxKind`
sourceraw docstring

scan-jsx-attribute-valuecljs

(scan-jsx-attribute-value scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

scan-jsx-identifiercljs

(scan-jsx-identifier scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

scan-jsx-tokencljs

(scan-jsx-token scanner)

Returns: JsxTokenSyntaxKind

**Returns:** `JsxTokenSyntaxKind`
sourceraw docstring

scan-rangecljs

(scan-range scanner start length callback)

Parameters:

  • start: number
  • length: number
  • callback: () => T

Returns: T

**Parameters:**
- `start`: `number`
- `length`: `number`
- `callback`: `() => T`

**Returns:** `T`
sourceraw docstring

set-js-doc-parsing-modecljs

(set-js-doc-parsing-mode scanner kind)

Parameters:

  • kind: JSDocParsingMode

Returns: void

**Parameters:**
- `kind`: `JSDocParsingMode`

**Returns:** `void`
sourceraw docstring

set-language-variantcljs

(set-language-variant scanner variant)

Parameters:

  • variant: LanguageVariant

Returns: void

**Parameters:**
- `variant`: `LanguageVariant`

**Returns:** `void`
sourceraw docstring

set-on-errorcljs

(set-on-error scanner)
(set-on-error scanner on-error)

Parameters:

  • on-error: ErrorCallback | undefined

Returns: void

**Parameters:**
- `on-error`: `ErrorCallback | undefined`

**Returns:** `void`
sourceraw docstring

set-script-kindcljs

(set-script-kind scanner script-kind)

Parameters:

  • script-kind: ScriptKind

Returns: void

**Parameters:**
- `script-kind`: `ScriptKind`

**Returns:** `void`
sourceraw docstring

set-script-targetcljs

(set-script-target scanner script-target)

Parameters:

  • script-target: ScriptTarget

Returns: void

**Parameters:**
- `script-target`: `ScriptTarget`

**Returns:** `void`
sourceraw docstring

set-textcljs

(set-text scanner)
(set-text scanner text)
(set-text scanner text start)
(set-text scanner text start length)

Parameters:

  • text: string | undefined
  • start: number | undefined
  • length: number | undefined

Returns: void

**Parameters:**
- `text`: `string | undefined`
- `start`: `number | undefined`
- `length`: `number | undefined`

**Returns:** `void`
sourceraw docstring

set-text-poscljs

(set-text-pos scanner text-pos)

Parameters:

  • text-pos: number

Returns: void

**Parameters:**
- `text-pos`: `number`

**Returns:** `void`
sourceraw docstring

start-poscljs

(start-pos scanner)

Returns: number

**Returns:** `number`
sourceraw docstring

textcljs

(text scanner)

Returns: string

**Returns:** `string`
sourceraw docstring

text-poscljs

(text-pos scanner)

Returns: number

**Returns:** `number`
sourceraw docstring

tokencljs

(token scanner)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

token-endcljs

(token-end scanner)

Returns: number

**Returns:** `number`
sourceraw docstring

token-full-startcljs

(token-full-start scanner)

Returns: number

**Returns:** `number`
sourceraw docstring

token-poscljs

(token-pos scanner)

Returns: number

**Returns:** `number`
sourceraw docstring

token-startcljs

(token-start scanner)

Returns: number

**Returns:** `number`
sourceraw docstring

token-textcljs

(token-text scanner)

Returns: string

**Returns:** `string`
sourceraw docstring

token-valuecljs

(token-value scanner)

Returns: string

**Returns:** `string`
sourceraw docstring

try-scancljs

(try-scan scanner callback)

Parameters:

  • callback: () => T

Returns: T

**Parameters:**
- `callback`: `() => T`

**Returns:** `T`
sourceraw docstring

unterminated?cljs

(unterminated? scanner)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

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

× close