(case-block switch-statement)
Returns: CaseBlock
**Returns:** `CaseBlock`
(child-at switch-statement index)
(child-at switch-statement index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count switch-statement)
(child-count switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children switch-statement)
(children switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(expression switch-statement)
Returns: Expression
**Returns:** `Expression`
(first-token switch-statement)
(first-token switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child switch-statement cb-node)
(for-each-child switch-statement 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 switch-statement)
Returns: number
**Returns:** `number`
(full-text switch-statement)
(full-text switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width switch-statement)
Returns: number
**Returns:** `number`
(kind switch-statement)
Returns: SyntaxKind.SwitchStatement
**Returns:** `SyntaxKind.SwitchStatement`
(last-token switch-statement)
(last-token switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width switch-statement)
(leading-trivia-width switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(possibly-exhaustive? switch-statement)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(source-file switch-statement)
Returns: SourceFile
**Returns:** `SourceFile`
(start switch-statement)
(start switch-statement source-file)
(start switch-statement 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 switch-statement)
(text switch-statement source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width switch-statement)
(width switch-statement 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