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

20 lines 699 B
/** * @import { Site, Word } from "@helios-lang/compiler-utils" */ /** * @param {ParseContext} ctx * @returns {StructStatement} */ export function parseStructStatement(ctx: ParseContext): StructStatement; /** * @param {Word} name * @param {TypeParameters} parameters * @returns {Expr} */ export function createSelfTypeExpr(name: Word, parameters: TypeParameters): Expr; import { ParseContext } from "./ParseContext.js"; import { StructStatement } from "../statements/index.js"; import type { Word } from "@helios-lang/compiler-utils"; import { TypeParameters } from "../statements/index.js"; import { Expr } from "../expressions/index.js"; //# sourceMappingURL=parseStructStatement.d.ts.map