ProgramNode
The root of a module's tree.
The root of a module's tree.
Import#
ts
import type { ProgramNode } from "@shadow-js/compiler";
Signature#
ts
interface ProgramNode extends PluginNode {
/** `"Program"`. */
readonly type: "Program";
/** The statements of the module, in source order. */
readonly body: readonly PluginNode[];
}
Members#
| Name | Type | Description |
|---|---|---|
type |
readonly type: "Program" |
"Program". |
body |
readonly body: readonly PluginNode[] |
The statements of the module, in source order. |