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

31 lines 800 B
/** * @typedef {import("@helios-lang/compiler-utils").Site} Site * @typedef {import("../typecheck/index.js").Type} Type */ /** * Option[SomeType] expression * @internal */ export class OptionTypeExpr extends Expr { /** * @param {Site} site * @param {Expr} someTypeExpr */ constructor(site: Site, someTypeExpr: Expr); /** * @private * @readonly * @type {Expr} */ private readonly _someTypeExpr; /** * @param {Scope} scope * @returns {Type} */ evalInternal(scope: Scope): Type; } export type Site = import("@helios-lang/compiler-utils").Site; export type Type = import("../typecheck/index.js").Type; import { Expr } from "./Expr.js"; import { Scope } from "../scopes/index.js"; //# sourceMappingURL=OptionTypeExpr.d.ts.map