For when we encounter a semicolon in a class declaration. ES6 allows these as class elements.
For when we encounter a semicolon in a class declaration. ES6 allows these as class elements.
(child-at semicolon-class-element index)
(child-at semicolon-class-element index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count semicolon-class-element)
(child-count semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children semicolon-class-element)
(children semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token semicolon-class-element)
(first-token semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(flags semicolon-class-element)
Returns: NodeFlags
**Returns:** `NodeFlags`
(for-each-child semicolon-class-element cb-node)
(for-each-child semicolon-class-element 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 semicolon-class-element)
Returns: number
**Returns:** `number`
(full-text semicolon-class-element)
(full-text semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width semicolon-class-element)
Returns: number
**Returns:** `number`
(get-end semicolon-class-element)
Returns: number
**Returns:** `number`
(kind semicolon-class-element)
Returns: SyntaxKind.SemicolonClassElement
**Returns:** `SyntaxKind.SemicolonClassElement`
(last-token semicolon-class-element)
(last-token semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width semicolon-class-element)
(leading-trivia-width semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(name semicolon-class-element)
Returns: PropertyName | undefined
**Returns:** `PropertyName | undefined`
(parent semicolon-class-element)
Returns: ClassLikeDeclaration
**Returns:** `ClassLikeDeclaration`
(source-file semicolon-class-element)
Returns: SourceFile
**Returns:** `SourceFile`
(start semicolon-class-element)
(start semicolon-class-element source-file)
(start semicolon-class-element 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 semicolon-class-element)
(text semicolon-class-element source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width semicolon-class-element)
(width semicolon-class-element 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