Liking cljdoc? Tell your friends :D

dots.typescript.node


child-atcljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

childrencljs

(children node)
(children node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

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

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

endcljs

(end node)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(first-token node)
(first-token node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

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

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

flagscljs

(flags node)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

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

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text node)
(full-text node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width node)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end node)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind node)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

last-tokencljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

parentcljs

(parent node)

Returns: Node

**Returns:** `Node`
sourceraw docstring

poscljs

(pos node)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file node)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

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

textcljs

(text node)
(text node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

widthcljs

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