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