Liking cljdoc? Tell your friends :D

dots.typescript.method-declaration


asterisk-tokencljs

(asterisk-token method-declaration)

Returns: AsteriskToken | undefined

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

bodycljs

(body method-declaration)

Returns: Block | undefined

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

child-atcljs

(child-at method-declaration index)
(child-at method-declaration 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 method-declaration)
(child-count method-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

childrencljs

(children method-declaration)
(children method-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

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

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

endcljs

(end method-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

exclamation-tokencljs

(exclamation-token method-declaration)

Returns: ExclamationToken | undefined

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

first-tokencljs

(first-token method-declaration)
(first-token method-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

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

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

flagscljs

(flags method-declaration)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

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

full-startcljs

(full-start method-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text method-declaration)
(full-text method-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width method-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end method-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind method-declaration)

Returns: SyntaxKind.MethodDeclaration

**Returns:** `SyntaxKind.MethodDeclaration`
sourceraw docstring

last-tokencljs

(last-token method-declaration)
(last-token method-declaration 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 method-declaration)
(leading-trivia-width method-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

modifierscljs

(modifiers method-declaration)

Returns: NodeArray<ModifierLike> | undefined

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

namecljs

(name method-declaration)

Returns: PropertyName

**Returns:** `PropertyName`
sourceraw docstring

parameterscljs

(parameters method-declaration)

Returns: NodeArray<ParameterDeclaration>

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

parentcljs

(parent method-declaration)

Returns: ClassLikeDeclaration | ObjectLiteralExpression

**Returns:** `ClassLikeDeclaration | ObjectLiteralExpression`
sourceraw docstring

poscljs

(pos method-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

question-tokencljs

(question-token method-declaration)

Returns: QuestionToken | undefined

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

source-filecljs

(source-file method-declaration)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

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

textcljs

(text method-declaration)
(text method-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

typecljs

(type method-declaration)

Returns: TypeNode | undefined

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

type-parameterscljs

(type-parameters method-declaration)

Returns: NodeArray<TypeParameterDeclaration> | undefined

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

widthcljs

(width method-declaration)
(width method-declaration 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