(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`
(child-count template-head)
(child-count template-head source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children template-head)
(children template-head source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(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`
(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`
(full-text template-head)
(full-text template-head source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(get-text template-head)
(get-text template-head source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(has-extended-unicode-escape? template-head)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(kind template-head)
Returns: SyntaxKind.TemplateHead
**Returns:** `SyntaxKind.TemplateHead`
(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`
(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`
(parent template-head)
Returns: TemplateLiteralTypeNode | TemplateExpression
**Returns:** `TemplateLiteralTypeNode | TemplateExpression`
(raw-text template-head)
Returns: string | undefined
**Returns:** `string | undefined`
(source-file template-head)
Returns: SourceFile
**Returns:** `SourceFile`
(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`
(unterminated? template-head)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(width template-head)
(width template-head source-file)
Parameters:
source-file
: SourceFileLike | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFileLike | undefined` **Returns:** `number`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close