(diagnostics transformation-result)
Gets diagnostics for the transformation.
Returns: DiagnosticWithLocation[] | undefined
Gets diagnostics for the transformation. **Returns:** `DiagnosticWithLocation[] | undefined`
(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`
(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`
(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`
(set-diagnostics! transformation-result value)
Gets diagnostics for the transformation.
Gets diagnostics for the transformation.
(set-transformed! transformation-result value)
Gets the transformed source files.
Gets the transformed source files.
(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`
(transformed transformation-result)
Gets the transformed source files.
Returns: T[]
Gets the transformed source files. **Returns:** `T[]`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close