UNPKG

marko

Version:

Optimized runtime for Marko templates.

9 lines (8 loc) • 520 B
import { types as t } from "@marko/compiler"; import { type Binding } from "./bindings"; import type { Section } from "./sections"; export declare let scopeIdentifier: t.Identifier; export declare let localsIdentifier: t.Identifier; export declare function createScopeIdentifiers(): void; export declare function getScopeExpression(section: Section, targetSection: Section): t.Identifier | t.MemberExpression; export declare function createScopeReadExpression(reference: Binding, section?: Section): t.MemberExpression;