(child-at transient-identifier index)
(child-at transient-identifier index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count transient-identifier)
(child-count transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children transient-identifier)
(children transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(escaped-text transient-identifier)
Prefer to use id.unescapedText
. (Note: This is available only in services, not internally to the TypeScript compiler.)
Text of identifier, but if the identifier begins with two underscores, this will begin with three.
Returns: __String
Prefer to use `id.unescapedText`. (Note: This is available only in services, not internally to the TypeScript compiler.) Text of identifier, but if the identifier begins with two underscores, this will begin with three. **Returns:** `__String`
(first-token transient-identifier)
(first-token transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(flags transient-identifier)
Returns: NodeFlags
**Returns:** `NodeFlags`
(for-each-child transient-identifier cb-node)
(for-each-child transient-identifier 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 transient-identifier)
Returns: number
**Returns:** `number`
(full-text transient-identifier)
(full-text transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width transient-identifier)
Returns: number
**Returns:** `number`
(get-text transient-identifier)
(get-text transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(in-js-doc-namespace? transient-identifier)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(kind transient-identifier)
Returns: SyntaxKind.Identifier
**Returns:** `SyntaxKind.Identifier`
(last-token transient-identifier)
(last-token transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width transient-identifier)
(leading-trivia-width transient-identifier source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(original-keyword-kind transient-identifier)
Returns: SyntaxKind | undefined
**Returns:** `SyntaxKind | undefined`
(resolved-symbol transient-identifier)
Returns: Symbol
**Returns:** `Symbol`
(source-file transient-identifier)
Returns: SourceFile
**Returns:** `SourceFile`
(start transient-identifier)
(start transient-identifier source-file)
(start transient-identifier 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`
(width transient-identifier)
(width transient-identifier 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