Liking cljdoc? Tell your friends :D

dots.typescript.function-like-declaration-base

Several node kinds share function-like features such as a signature, a name, and a body. These nodes should extend FunctionLikeDeclarationBase. Examples:

  • FunctionDeclaration
  • MethodDeclaration
  • AccessorDeclaration
Several node kinds share function-like features such as a signature,
a name, and a body. These nodes should extend FunctionLikeDeclarationBase.
Examples:
- FunctionDeclaration
- MethodDeclaration
- AccessorDeclaration
raw docstring

asterisk-tokencljs

(asterisk-token function-like-declaration-base)

Returns: AsteriskToken | undefined

**Returns:** `AsteriskToken | undefined`
sourceraw docstring

bodycljs

(body function-like-declaration-base)

Returns: Expression | Block | undefined

**Returns:** `Expression | Block | undefined`
sourceraw docstring

child-atcljs

(child-at function-like-declaration-base index)
(child-at function-like-declaration-base index source-file)

Parameters:

  • index: number
  • source-file: SourceFile | undefined

Returns: Node

**Parameters:**
- `index`: `number`
- `source-file`: `SourceFile | undefined`

**Returns:** `Node`
sourceraw docstring

child-countcljs

(child-count function-like-declaration-base)
(child-count function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

childrencljs

(children function-like-declaration-base)
(children function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node[]`
sourceraw docstring

endcljs

(end function-like-declaration-base)

Returns: number

**Returns:** `number`
sourceraw docstring

exclamation-tokencljs

(exclamation-token function-like-declaration-base)

Returns: ExclamationToken | undefined

**Returns:** `ExclamationToken | undefined`
sourceraw docstring

first-tokencljs

(first-token function-like-declaration-base)
(first-token function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node | undefined`
sourceraw docstring

flagscljs

(flags function-like-declaration-base)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child function-like-declaration-base cb-node)
(for-each-child function-like-declaration-base 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`
sourceraw docstring

full-startcljs

(full-start function-like-declaration-base)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text function-like-declaration-base)
(full-text function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width function-like-declaration-base)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end function-like-declaration-base)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind function-like-declaration-base)

Returns: SyntaxKind.MethodSignature | SyntaxKind.MethodDeclaration | SyntaxKind.Constructor | SyntaxKind.GetAccessor | SyntaxKind.SetAccessor | SyntaxKind.CallSignature | SyntaxKind.ConstructSignature | ... 6 more ... | SyntaxKind.JSDocFunctionType

**Returns:** `SyntaxKind.MethodSignature | SyntaxKind.MethodDeclaration | SyntaxKind.Constructor | SyntaxKind.GetAccessor | SyntaxKind.SetAccessor | SyntaxKind.CallSignature | SyntaxKind.ConstructSignature | ... 6 more ... | SyntaxKind.JSDocFunctionType`
sourceraw docstring

last-tokencljs

(last-token function-like-declaration-base)
(last-token function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node | undefined`
sourceraw docstring

leading-trivia-widthcljs

(leading-trivia-width function-like-declaration-base)
(leading-trivia-width function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

namecljs

(name function-like-declaration-base)

Returns: PropertyName | undefined

**Returns:** `PropertyName | undefined`
sourceraw docstring

parameterscljs

(parameters function-like-declaration-base)

Returns: NodeArray<ParameterDeclaration>

**Returns:** `NodeArray<ParameterDeclaration>`
sourceraw docstring

parentcljs

(parent function-like-declaration-base)

Returns: Node

**Returns:** `Node`
sourceraw docstring

poscljs

(pos function-like-declaration-base)

Returns: number

**Returns:** `number`
sourceraw docstring

question-tokencljs

(question-token function-like-declaration-base)

Returns: QuestionToken | undefined

**Returns:** `QuestionToken | undefined`
sourceraw docstring

source-filecljs

(source-file function-like-declaration-base)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start function-like-declaration-base)
(start function-like-declaration-base source-file)
(start function-like-declaration-base 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`
sourceraw docstring

textcljs

(text function-like-declaration-base)
(text function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

typecljs

(type function-like-declaration-base)

Returns: TypeNode | undefined

**Returns:** `TypeNode | undefined`
sourceraw docstring

type-parameterscljs

(type-parameters function-like-declaration-base)

Returns: NodeArray<TypeParameterDeclaration> | undefined

**Returns:** `NodeArray<TypeParameterDeclaration> | undefined`
sourceraw docstring

widthcljs

(width function-like-declaration-base)
(width function-like-declaration-base source-file)

Parameters:

  • source-file: SourceFileLike | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFileLike | undefined`

**Returns:** `number`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close