ecmarkup
Version:
Custom element definitions and core utilities for markup that specifies ECMAScript and related technologies.
19 lines (18 loc) • 808 B
TypeScript
import type Spec from './Spec';
import type { Context } from './Context';
import Builder from './Builder';
export declare const SPECIAL_KINDS_MAP: Map<string, string>;
export declare const SPECIAL_KINDS: string[];
export declare function extractStructuredHeader(header: Element): Element | null;
export default class Clause extends Builder {
isAnnex: boolean;
isBackMatter: boolean;
isNormative: boolean;
constructor(spec: Spec, node: HTMLElement, parent: Clause, number: string);
canHaveEffect(effectName: string): boolean;
static enter({ spec, node, clauseStack, clauseNumberer }: Context): Promise<void>;
static exit({ node, spec, clauseStack, inAlg, currentId }: Context): void;
getSecnumHTML(): string;
static elements: string[];
static linkElements: string[];
}