Liking cljdoc? Tell your friends :D

dots.typescript.class-declaration


child-atcljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

childrencljs

(children class-declaration)
(children class-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

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

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

endcljs

(end class-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

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

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

flagscljs

(flags class-declaration)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child class-declaration cb-node)
(for-each-child class-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 class-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width class-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end class-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

heritage-clausescljs

(heritage-clauses class-declaration)

Returns: NodeArray<HeritageClause> | undefined

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

kindcljs

(kind class-declaration)

Returns: SyntaxKind.ClassDeclaration

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

last-tokencljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

memberscljs

(members class-declaration)

Returns: NodeArray<ClassElement>

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

modifierscljs

(modifiers class-declaration)

Returns: NodeArray<ModifierLike> | undefined

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

namecljs

(name class-declaration)

May be undefined in export default class { ... }.

Returns: Identifier | undefined

May be undefined in `export default class { ... }`.

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

parentcljs

(parent class-declaration)

Returns: Node

**Returns:** `Node`
sourceraw docstring

poscljs

(pos class-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file class-declaration)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start class-declaration)
(start class-declaration source-file)
(start class-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 class-declaration)
(text class-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

type-parameterscljs

(type-parameters class-declaration)

Returns: NodeArray<TypeParameterDeclaration> | undefined

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

widthcljs

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