(child-at unparsed-text-like index)
(child-at unparsed-text-like index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count unparsed-text-like)
(child-count unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children unparsed-text-like)
(children unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(data unparsed-text-like)
Returns: string | undefined
**Returns:** `string | undefined`
(first-token unparsed-text-like)
(first-token unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child unparsed-text-like cb-node)
(for-each-child unparsed-text-like 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-start unparsed-text-like)
Returns: number
**Returns:** `number`
(full-text unparsed-text-like)
(full-text unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width unparsed-text-like)
Returns: number
**Returns:** `number`
(kind unparsed-text-like)
Returns: SyntaxKind.UnparsedText | SyntaxKind.UnparsedInternalText
**Returns:** `SyntaxKind.UnparsedText | SyntaxKind.UnparsedInternalText`
(last-token unparsed-text-like)
(last-token unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width unparsed-text-like)
(leading-trivia-width unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(parent unparsed-text-like)
Returns: UnparsedSource
**Returns:** `UnparsedSource`
(source-file unparsed-text-like)
Returns: SourceFile
**Returns:** `SourceFile`
(start unparsed-text-like)
(start unparsed-text-like source-file)
(start unparsed-text-like 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`
(text unparsed-text-like)
(text unparsed-text-like source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width unparsed-text-like)
(width unparsed-text-like 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