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

39 lines 1.2 kB
/** * @typedef {import("@helios-lang/compiler-utils").Site} Site * @typedef {import("@helios-lang/ir").SourceMappedStringI} SourceMappedStringI * @typedef {import("../typecheck/index.js").DataType} DataType * @typedef {import("../typecheck/index.js").EvalEntity} EvalEntity */ /** * []{...} expression */ export class ListLiteralExpr extends Expr { /** * @param {Site} site * @param {Expr} itemTypeExpr * @param {Expr[]} itemExprs */ constructor(site: Site, itemTypeExpr: Expr, itemExprs: Expr[]); /** * @private * @readonly * @type {Expr} */ private readonly _itemTypeExpr; /** * @private * @readonly * @type {Expr[]} */ private readonly _itemExprs; /** * @type {DataType} */ get itemType(): import("../typecheck/common.js").DataType; } export type Site = import("@helios-lang/compiler-utils").Site; export type SourceMappedStringI = import("@helios-lang/ir").SourceMappedStringI; export type DataType = import("../typecheck/index.js").DataType; export type EvalEntity = import("../typecheck/index.js").EvalEntity; import { Expr } from "./Expr.js"; //# sourceMappingURL=ListLiteralExpr.d.ts.map