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

45 lines 1.35 kB
/** * @typedef {import("@helios-lang/compiler-utils").Site} Site * @typedef {import("@helios-lang/ir").SourceMappedStringI} SourceMappedStringI * @typedef {import("../typecheck/index.js").EvalEntity} EvalEntity * @typedef {import("../typecheck/index.js").Type} Type */ /** * value[...] expression */ export class ParametricExpr extends Expr { /** * Reused by CallExpr * @param {Type[]} paramTypes * @returns {string} */ static toApplicationIR(paramTypes: Type[]): string; /** * @param {Site} site - site of brackets * @param {Expr} baseExpr * @param {Expr[]} parameters */ constructor(site: Site, baseExpr: Expr, parameters: Expr[]); /** * @private * @readonly * @type {Expr} */ private readonly _baseExpr; /** * @private * @readonly * @type {Expr[]} */ private readonly _parameters; /** * @type {Type[]} */ get paramTypes(): import("../typecheck/common.js").Type[]; } export type Site = import("@helios-lang/compiler-utils").Site; export type SourceMappedStringI = import("@helios-lang/ir").SourceMappedStringI; export type EvalEntity = import("../typecheck/index.js").EvalEntity; export type Type = import("../typecheck/index.js").Type; import { Expr } from "./Expr.js"; //# sourceMappingURL=ParametricExpr.d.ts.map