(child-at class-expression index)
(child-at class-expression index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count class-expression)
(child-count class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children class-expression)
(children class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token class-expression)
(first-token class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child class-expression cb-node)
(for-each-child class-expression 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 class-expression)
Returns: number
**Returns:** `number`
(full-text class-expression)
(full-text class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width class-expression)
Returns: number
**Returns:** `number`
(heritage-clauses class-expression)
Returns: NodeArray<HeritageClause> | undefined
**Returns:** `NodeArray<HeritageClause> | undefined`
(kind class-expression)
Returns: SyntaxKind.ClassExpression
**Returns:** `SyntaxKind.ClassExpression`
(last-token class-expression)
(last-token class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width class-expression)
(leading-trivia-width class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(members class-expression)
Returns: NodeArray<ClassElement>
**Returns:** `NodeArray<ClassElement>`
(modifiers class-expression)
Returns: NodeArray<ModifierLike> | undefined
**Returns:** `NodeArray<ModifierLike> | undefined`
(name class-expression)
Returns: Identifier | undefined
**Returns:** `Identifier | undefined`
(source-file class-expression)
Returns: SourceFile
**Returns:** `SourceFile`
(start class-expression)
(start class-expression source-file)
(start class-expression 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 class-expression)
(text class-expression source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(type-parameters class-expression)
Returns: NodeArray<TypeParameterDeclaration> | undefined
**Returns:** `NodeArray<TypeParameterDeclaration> | undefined`
(width class-expression)
(width class-expression 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