(child-at template-span index)(child-at template-span index source-file)Parameters:
index: numbersource-file: SourceFile | undefinedReturns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count template-span)(child-count template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children template-span)(children template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(expression template-span)Returns: Expression
**Returns:** `Expression`
(first-token template-span)(first-token template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child template-span cb-node)(for-each-child template-span cb-node cb-node-array)Parameters:
cb-node: (node: Node) => T | undefinedcb-node-array: ((nodes: NodeArray<Node>) => T | undefined) | undefinedReturns: T | undefined
**Parameters:** - `cb-node`: `(node: Node) => T | undefined` - `cb-node-array`: `((nodes: NodeArray<Node>) => T | undefined) | undefined` **Returns:** `T | undefined`
(full-text template-span)(full-text template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(kind template-span)Returns: SyntaxKind.TemplateSpan
**Returns:** `SyntaxKind.TemplateSpan`
(last-token template-span)(last-token template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width template-span)(leading-trivia-width template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(literal template-span)Returns: TemplateMiddle | TemplateTail
**Returns:** `TemplateMiddle | TemplateTail`
(parent template-span)Returns: TemplateExpression
**Returns:** `TemplateExpression`
(source-file template-span)Returns: SourceFile
**Returns:** `SourceFile`
(start template-span)(start template-span source-file)(start template-span source-file include-js-doc-comment?)Parameters:
source-file: SourceFile | undefinedinclude-js-doc-comment?: boolean | undefinedReturns: number
**Parameters:** - `source-file`: `SourceFile | undefined` - `include-js-doc-comment?`: `boolean | undefined` **Returns:** `number`
(text template-span)(text template-span source-file)Parameters:
source-file: SourceFile | undefinedReturns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width template-span)(width template-span source-file)Parameters:
source-file: SourceFileLike | undefinedReturns: number
**Parameters:** - `source-file`: `SourceFileLike | undefined` **Returns:** `number`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |