(asterisk-token function-declaration)
Returns: AsteriskToken | undefined
**Returns:** `AsteriskToken | undefined`
(body function-declaration)
Returns: Block | undefined
**Returns:** `Block | undefined`
(child-at function-declaration index)
(child-at function-declaration index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count function-declaration)
(child-count function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children function-declaration)
(children function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(exclamation-token function-declaration)
Returns: ExclamationToken | undefined
**Returns:** `ExclamationToken | undefined`
(first-token function-declaration)
(first-token function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(flags function-declaration)
Returns: NodeFlags
**Returns:** `NodeFlags`
(for-each-child function-declaration cb-node)
(for-each-child function-declaration 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 function-declaration)
Returns: number
**Returns:** `number`
(full-text function-declaration)
(full-text function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width function-declaration)
Returns: number
**Returns:** `number`
(kind function-declaration)
Returns: SyntaxKind.FunctionDeclaration
**Returns:** `SyntaxKind.FunctionDeclaration`
(last-token function-declaration)
(last-token function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width function-declaration)
(leading-trivia-width function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(modifiers function-declaration)
Returns: NodeArray<ModifierLike> | undefined
**Returns:** `NodeArray<ModifierLike> | undefined`
(name function-declaration)
Returns: Identifier | undefined
**Returns:** `Identifier | undefined`
(parameters function-declaration)
Returns: NodeArray<ParameterDeclaration>
**Returns:** `NodeArray<ParameterDeclaration>`
(question-token function-declaration)
Returns: QuestionToken | undefined
**Returns:** `QuestionToken | undefined`
(source-file function-declaration)
Returns: SourceFile
**Returns:** `SourceFile`
(start function-declaration)
(start function-declaration source-file)
(start function-declaration 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 function-declaration)
(text function-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(type function-declaration)
Returns: TypeNode | undefined
**Returns:** `TypeNode | undefined`
(type-parameters function-declaration)
Returns: NodeArray<TypeParameterDeclaration> | undefined
**Returns:** `NodeArray<TypeParameterDeclaration> | undefined`
(width function-declaration)
(width function-declaration 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