(child-at unparsed-source index)
(child-at unparsed-source index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count unparsed-source)
(child-count unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children unparsed-source)
(children unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token unparsed-source)
(first-token unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child unparsed-source cb-node)
(for-each-child unparsed-source 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 unparsed-source)
(full-text unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(get-text unparsed-source)
(get-text unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(has-no-default-lib? unparsed-source)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(helpers unparsed-source)
Returns: readonly UnscopedEmitHelper[] | undefined
**Returns:** `readonly UnscopedEmitHelper[] | undefined`
(kind unparsed-source)
Returns: SyntaxKind.UnparsedSource
**Returns:** `SyntaxKind.UnparsedSource`
(last-token unparsed-source)
(last-token unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width unparsed-source)
(leading-trivia-width unparsed-source source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(lib-reference-directives unparsed-source)
Returns: readonly FileReference[]
**Returns:** `readonly FileReference[]`
(prologues unparsed-source)
Returns: readonly UnparsedPrologue[]
**Returns:** `readonly UnparsedPrologue[]`
(referenced-files unparsed-source)
Returns: readonly FileReference[]
**Returns:** `readonly FileReference[]`
(source-file unparsed-source)
Returns: SourceFile
**Returns:** `SourceFile`
(source-map-path unparsed-source)
Returns: string | undefined
**Returns:** `string | undefined`
(source-map-text unparsed-source)
Returns: string | undefined
**Returns:** `string | undefined`
(start unparsed-source)
(start unparsed-source source-file)
(start unparsed-source 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`
(synthetic-references unparsed-source)
Returns: readonly UnparsedSyntheticReference[] | undefined
**Returns:** `readonly UnparsedSyntheticReference[] | undefined`
(texts unparsed-source)
Returns: readonly UnparsedSourceText[]
**Returns:** `readonly UnparsedSourceText[]`
(type-reference-directives unparsed-source)
Returns: readonly FileReference[] | undefined
**Returns:** `readonly FileReference[] | undefined`
(width unparsed-source)
(width unparsed-source 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