UNPKG

marko

Version:

Optimized runtime for Marko templates.

6 lines (5 loc) 365 B
import { types as t } from "@marko/compiler"; import { type Binding } from "./references"; import type { Section } from "./sections"; export declare function getScopeExpression(section: Section, targetSection: Section): t.Identifier | t.MemberExpression; export declare function createScopeReadExpression(reference: Binding, section?: Section): t.MemberExpression;