UNPKG

@helios-lang/compiler

Version:

Helios is a Domain Specific Language that compiles to Plutus-Core (i.e. Cardano on-chain validator scripts). Helios is a non-Haskell alternative to Plutus. With this library you can compile Helios scripts and build Cardano transactions, all you need to bu

22 lines 781 B
/** * @typedef {import("@helios-lang/compiler-utils").Site} Site * @typedef {import("@helios-lang/ir").SourceMappedStringI} SourceMappedStringI * @typedef {import("../typecheck/index.js").Instance} Instance */ /** * Helios equivalent of unit * TODO: inherit from ParensExpr (with empty fields) */ export class VoidExpr extends Expr { /** * @param {Scope} scope * @returns {Instance} */ evalInternal(scope: Scope): Instance; } export type Site = import("@helios-lang/compiler-utils").Site; export type SourceMappedStringI = import("@helios-lang/ir").SourceMappedStringI; export type Instance = import("../typecheck/index.js").Instance; import { Expr } from "./Expr.js"; import { Scope } from "../scopes/index.js"; //# sourceMappingURL=VoidExpr.d.ts.map