Liking cljdoc? Tell your friends :D

dots.typescript.block


child-atcljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

childrencljs

(children block)
(children block source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

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

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

endcljs

(end block)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(first-token block)
(first-token block source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

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

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

flagscljs

(flags block)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

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

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text block)
(full-text block source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width block)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end block)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind block)

Returns: SyntaxKind.Block

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

last-tokencljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

parentcljs

(parent block)

Returns: Node

**Returns:** `Node`
sourceraw docstring

poscljs

(pos block)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file block)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

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

Returns: NodeArray<Statement>

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

textcljs

(text block)
(text block source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

widthcljs

(width block)
(width block 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