@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
41 lines • 1.3 kB
TypeScript
/**
* @import { Site, Word } from "@helios-lang/compiler-utils"
* @typedef {import("@helios-lang/ir").SourceMappedStringI} SourceMappedStringI
* @typedef {import("../typecheck/index.js").EvalEntity} EvalEntity
*/
/**
* ... . ... expression
*/
export class MemberExpr extends Expr {
/**
* @param {Site} site
* @param {Expr} objExpr
* @param {Word} memberName
*/
constructor(site: Site, objExpr: Expr, memberName: Word);
/**
* @private
* @readonly
* @type {Expr}
*/
private readonly _objExpr;
/**
* @private
* @readonly
* @type {Word}
*/
private readonly _memberName;
/**
* @param {ToIRContext} ctx
* @param {string} params - applied type parameters must be inserted Before the call to self
* @returns {SourceMappedStringI}
*/
toIR(ctx: ToIRContext, params?: string): SourceMappedStringI;
}
export type SourceMappedStringI = import("@helios-lang/ir").SourceMappedStringI;
export type EvalEntity = import("../typecheck/index.js").EvalEntity;
import { Expr } from "./Expr.js";
import { ToIRContext } from "../codegen/index.js";
import type { Site } from "@helios-lang/compiler-utils";
import type { Word } from "@helios-lang/compiler-utils";
//# sourceMappingURL=MemberExpr.d.ts.map