@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
44 lines • 1.44 kB
TypeScript
/**
* @typedef {import("@helios-lang/compiler-utils").Site} Site
* @typedef {import("@helios-lang/ir").SourceMappedStringI} SourceMappedStringI
* @typedef {import("@helios-lang/uplc").UplcData} UplcData
* @typedef {import("../typecheck/index.js").DataType} DataType
* @typedef {import("../typecheck/index.js").EvalEntity} EvalEntity
*/
/**
* Literal UplcData which is the result of parameter substitutions.
*/
export class LiteralDataExpr extends Expr {
/**
* @param {Site} site
* @param {DataType} type
* @param {UplcData} data
*/
constructor(site: Site, type: DataType, data: UplcData);
/**
* @private
* @readonly
* @type {DataType}
*/
private readonly _type;
/**
* @private
* @readonly
* @type {UplcData}
*/
private readonly _data;
cache: DataEntity;
/**
* @internal
* @type {DataType}
*/
get type(): import("../typecheck/common.js").DataType;
}
export type Site = import("@helios-lang/compiler-utils").Site;
export type SourceMappedStringI = import("@helios-lang/ir").SourceMappedStringI;
export type UplcData = import("@helios-lang/uplc").UplcData;
export type DataType = import("../typecheck/index.js").DataType;
export type EvalEntity = import("../typecheck/index.js").EvalEntity;
import { Expr } from "./Expr.js";
import { DataEntity } from "../typecheck/index.js";
//# sourceMappingURL=LiteralDataExpr.d.ts.map