Liking cljdoc? Tell your friends :D

dots.typescript.transformation-result


diagnosticscljs

(diagnostics transformation-result)

Gets diagnostics for the transformation.

Returns: DiagnosticWithLocation[] | undefined

Gets diagnostics for the transformation.

**Returns:** `DiagnosticWithLocation[] | undefined`
sourceraw docstring

disposecljs

(dispose transformation-result)

Clean up EmitNode entries on any parse-tree nodes.

Returns: void

Clean up EmitNode entries on any parse-tree nodes.

**Returns:** `void`
sourceraw docstring

emit-node-with-notificationcljs

(emit-node-with-notification transformation-result hint node emit-callback)

Emits a node with possible notification.

Parameters:

  • hint: EmitHint - A hint as to the intended usage of the node.
  • node: Node - The node to emit.
  • emit-callback: (hint: EmitHint, node: Node) => void - A callback used to emit the node.

Returns: void

Emits a node with possible notification.

**Parameters:**
- `hint`: `EmitHint` - A hint as to the intended usage of the node.
- `node`: `Node` - The node to emit.
- `emit-callback`: `(hint: EmitHint, node: Node) => void` - A callback used to emit the node.

**Returns:** `void`
sourceraw docstring

emit-notification-enabled?cljs

(emit-notification-enabled? transformation-result node)

Indicates if a given node needs an emit notification

Parameters:

  • node: Node - The node to emit.

Returns: boolean

Indicates if a given node needs an emit notification

**Parameters:**
- `node`: `Node` - The node to emit.

**Returns:** `boolean`
sourceraw docstring

set-diagnostics!cljs

(set-diagnostics! transformation-result value)

Gets diagnostics for the transformation.

Gets diagnostics for the transformation.
sourceraw docstring

set-transformed!cljs

(set-transformed! transformation-result value)

Gets the transformed source files.

Gets the transformed source files.
sourceraw docstring

substitute-nodecljs

(substitute-node transformation-result hint node)

Gets a substitute for a node, if one is available; otherwise, returns the original node.

Parameters:

  • hint: EmitHint - A hint as to the intended usage of the node.
  • node: Node - The node to substitute.

Returns: Node

Gets a substitute for a node, if one is available; otherwise, returns the original node.

**Parameters:**
- `hint`: `EmitHint` - A hint as to the intended usage of the node.
- `node`: `Node` - The node to substitute.

**Returns:** `Node`
sourceraw docstring

transformedcljs

(transformed transformation-result)

Gets the transformed source files.

Returns: T[]

Gets the transformed source files.

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

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close