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

16 lines 919 B
/** * @import { GenericGroup, TokenReader } from "@helios-lang/compiler-utils" * @typedef {import("./ValueExprParser.js").ValueExprParser} ValueExprParser */ /** * @param {ValueExprParser} parseValueExpr * @returns {(ctx: ParseContext, args: GenericGroup<TokenReader>, methodOf?: Expr | undefined) => FuncLiteralExpr} */ export function makeFuncLiteralExprParser(parseValueExpr: ValueExprParser): (ctx: ParseContext, args: GenericGroup<TokenReader>, methodOf?: Expr | undefined) => FuncLiteralExpr; export type ValueExprParser = import("./ValueExprParser.js").ValueExprParser; import { ParseContext } from "./ParseContext.js"; import type { TokenReader } from "@helios-lang/compiler-utils"; import type { GenericGroup } from "@helios-lang/compiler-utils"; import { Expr } from "../expressions/index.js"; import { FuncLiteralExpr } from "../expressions/index.js"; //# sourceMappingURL=parseFuncLiteralExpr.d.ts.map