Liking cljdoc? Tell your friends :D

dots.typescript.case-clause


child-atcljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

childrencljs

(children case-clause)
(children case-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

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

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

endcljs

(end case-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

expressioncljs

(expression case-clause)

Returns: Expression

**Returns:** `Expression`
sourceraw docstring

first-tokencljs

(first-token case-clause)
(first-token case-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

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

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

flagscljs

(flags case-clause)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child case-clause cb-node)
(for-each-child case-clause 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 case-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text case-clause)
(full-text case-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width case-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end case-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind case-clause)

Returns: SyntaxKind.CaseClause

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

last-tokencljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

parentcljs

(parent case-clause)

Returns: CaseBlock

**Returns:** `CaseBlock`
sourceraw docstring

poscljs

(pos case-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file case-clause)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start case-clause)
(start case-clause source-file)
(start case-clause 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

statementscljs

(statements case-clause)

Returns: NodeArray<Statement>

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

textcljs

(text case-clause)
(text case-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

widthcljs

(width case-clause)
(width case-clause 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