@foxpage/foxpage-types
Version:
foxpage sdk types
9 lines (8 loc) • 342 B
TypeScript
import { Context } from '../context';
import { StructureNode } from '../structure';
export interface FoxpageParseHooks {
beforeNodeParse?: (ctx: Context, node: StructureNode) => any;
afterNodeParse?: (ctx: Context, node: StructureNode) => any;
beforeDSLParse?: (ctx: Context) => void;
afterDSLParse?: (ctx: Context) => any;
}