Liking cljdoc? Tell your friends :D

dots.typescript.template-head


child-atcljs

(child-at template-head index)
(child-at template-head index source-file)

Parameters:

  • index: number
  • source-file: SourceFile | undefined

Returns: Node

**Parameters:**
- `index`: `number`
- `source-file`: `SourceFile | undefined`

**Returns:** `Node`
sourceraw docstring

child-countcljs

(child-count template-head)
(child-count template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

childrencljs

(children template-head)
(children template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node[]`
sourceraw docstring

endcljs

(end template-head)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(first-token template-head)
(first-token template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

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

flagscljs

(flags template-head)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child template-head cb-node)
(for-each-child template-head cb-node cb-node-array)

Parameters:

  • cb-node: (node: Node) => T | undefined
  • cb-node-array: ((nodes: NodeArray<Node>) => T | undefined) | undefined

Returns: T | undefined

**Parameters:**
- `cb-node`: `(node: Node) => T | undefined`
- `cb-node-array`: `((nodes: NodeArray<Node>) => T | undefined) | undefined`

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

full-startcljs

(full-start template-head)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text template-head)
(full-text template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width template-head)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end template-head)

Returns: number

**Returns:** `number`
sourceraw docstring

get-textcljs

(get-text template-head)
(get-text template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

has-extended-unicode-escape?cljs

(has-extended-unicode-escape? template-head)

Returns: boolean | undefined

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

kindcljs

(kind template-head)

Returns: SyntaxKind.TemplateHead

**Returns:** `SyntaxKind.TemplateHead`
sourceraw docstring

last-tokencljs

(last-token template-head)
(last-token template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

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

leading-trivia-widthcljs

(leading-trivia-width template-head)
(leading-trivia-width template-head source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

parentcljs

(parent template-head)

Returns: TemplateLiteralTypeNode | TemplateExpression

**Returns:** `TemplateLiteralTypeNode | TemplateExpression`
sourceraw docstring

poscljs

(pos template-head)

Returns: number

**Returns:** `number`
sourceraw docstring

raw-textcljs

(raw-text template-head)

Returns: string | undefined

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

set-has-extended-unicode-escape!cljs

(set-has-extended-unicode-escape! template-head value)
source

set-is-unterminated!cljs

(set-is-unterminated! template-head value)
source

set-raw-text!cljs

(set-raw-text! template-head value)
source

set-text!cljs

(set-text! template-head value)
source

source-filecljs

(source-file template-head)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start template-head)
(start template-head source-file)
(start template-head source-file include-js-doc-comment?)

Parameters:

  • source-file: SourceFile | undefined
  • include-js-doc-comment?: boolean | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`
- `include-js-doc-comment?`: `boolean | undefined`

**Returns:** `number`
sourceraw docstring

textcljs

(text template-head)

Returns: string

**Returns:** `string`
sourceraw docstring

unterminated?cljs

(unterminated? template-head)

Returns: boolean | undefined

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

widthcljs

(width template-head)
(width template-head source-file)

Parameters:

  • source-file: SourceFileLike | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFileLike | undefined`

**Returns:** `number`
sourceraw docstring

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

× close