ecmarkup
Version:
Custom element definitions and core utilities for markup that specifies ECMAScript and related technologies.
18 lines (17 loc) • 489 B
TypeScript
import type Spec from './Spec';
import type { Import } from './Import';
import type Clause from './Clause';
import type { ClauseNumberIterator } from './clauseNums';
export interface Context {
spec: Spec;
node: HTMLElement;
importStack: Import[];
clauseStack: Clause[];
tagStack: HTMLElement[];
clauseNumberer: ClauseNumberIterator;
inNoAutolink: boolean;
inNoEmd: boolean;
inAlg: boolean;
followingEmd: Node | null;
currentId: string | null;
}