Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsExportNode

A node representing a variable exported from a JavaScript code block. This inherits variableName from ExportNode.

Hierarchy

Index

Properties

antecedents

antecedents: Node[]

Returns all nodes that this node depends on.

code

JavaScript code node that represents full source code that exports this variable

errors

errors: Error[]

Collection of errors associated with this node. This is set, for example, when evaluating code represented by this node fails.

hash

hash: string

Hash that identifies the node. When code or dependencies change, new node will be created and it will have a different hash.

kind

kind: "export"

A tag that allows us to pattern match on JsNode objects

language

language: string

Language of the plugin that created and owns this node.

value

value: Value | null

The evaluated value associated with this node. This is null when the node is created.

variableName

variableName: string

Name of the exported variable to be used when rendering a preview

Generated using TypeDoc