UNPKG

@flowscripter/mpeg-sdl-parser

Version:

ISO/IEC 14496-34 Syntactic Description Language (MPEG SDL) parser implemented in TypeScript

16 lines (12 loc) 433 B
import type { AbstractCompositeNode } from "../node/AbstractCompositeNode.ts"; import type { AbstractLeafNode } from "../node/AbstractLeafNode.ts"; /** * Interface representing a handler for nodes in an abstract syntax tree. * * @interface NodeHandler */ export interface NodeHandler { beforeVisit(node: AbstractCompositeNode): void; visit(node: AbstractLeafNode): void; afterVisit(node: AbstractCompositeNode): void; }