UNPKG

marko

Version:

Optimized runtime for Marko templates.

10 lines (9 loc) • 595 B
import { types as t } from "@marko/compiler"; import { type Binding, type Intersection } from "./bindings"; import { type Opt } from "./optional"; import { type Reason } from "./reasons"; import { type Section } from "./sections"; export declare function solveReasons(intersectionsBySection: Map<Section, Intersection[]>): void; export declare function getReasonForBinding(binding: Binding, properties?: Opt<string> | true): undefined | Reason; export declare function getReasonForExpr(extra: t.NodeExtra): undefined | Reason; export declare function landsRetained(extra: t.NodeExtra): boolean;