(child-at declaration-statement index)
(child-at declaration-statement index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count declaration-statement)
(child-count declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children declaration-statement)
(children declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token declaration-statement)
(first-token declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(flags declaration-statement)
Returns: NodeFlags
**Returns:** `NodeFlags`
(for-each-child declaration-statement cb-node)
(for-each-child declaration-statement 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 declaration-statement)
Returns: number
**Returns:** `number`
(full-text declaration-statement)
(full-text declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width declaration-statement)
Returns: number
**Returns:** `number`
(kind declaration-statement)
Returns: SyntaxKind
**Returns:** `SyntaxKind`
(last-token declaration-statement)
(last-token declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width declaration-statement)
(leading-trivia-width declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(name declaration-statement)
Returns: Identifier | StringLiteral | NumericLiteral | undefined
**Returns:** `Identifier | StringLiteral | NumericLiteral | undefined`
(source-file declaration-statement)
Returns: SourceFile
**Returns:** `SourceFile`
(start declaration-statement)
(start declaration-statement source-file)
(start declaration-statement 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 declaration-statement)
(text declaration-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width declaration-statement)
(width declaration-statement 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