1 | import type { Options } from './ecmarkup';
|
2 | import Clause from './Clause';
|
3 | export default interface Spec {
|
4 | spec: this;
|
5 | opts: Options;
|
6 | rootPath: string;
|
7 | rootDir: string;
|
8 | namespace: string;
|
9 | exportBiblio(): any;
|
10 | generatedFiles: Map<string | null, string>;
|
11 | }
|
12 | export declare type Warning = {
|
13 | type: 'global';
|
14 | ruleId: string;
|
15 | message: string;
|
16 | } | {
|
17 | type: 'node';
|
18 | node: Text | Element;
|
19 | ruleId: string;
|
20 | message: string;
|
21 | } | {
|
22 | type: 'attr';
|
23 | node: Element;
|
24 | attr: string;
|
25 | ruleId: string;
|
26 | message: string;
|
27 | } | {
|
28 | type: 'attr-value';
|
29 | node: Element;
|
30 | attr: string;
|
31 | ruleId: string;
|
32 | message: string;
|
33 | } | {
|
34 | type: 'contents';
|
35 | node: Text | Element;
|
36 | ruleId: string;
|
37 | message: string;
|
38 | nodeRelativeLine: number;
|
39 | nodeRelativeColumn: number;
|
40 | } | {
|
41 | type: 'raw';
|
42 | ruleId: string;
|
43 | message: string;
|
44 | line: number;
|
45 | column: number;
|
46 | file?: string;
|
47 | source?: string;
|
48 | };
|
49 | export declare type WorklistItem = {
|
50 | aoid: string | null;
|
51 | effects: string[];
|
52 | };
|
53 | export declare function maybeAddClauseToEffectWorklist(effectName: string, clause: Clause, worklist: WorklistItem[]): void;
|