@aehrc/ecl-core 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/canonical/canonical-printer.d.ts +15 -0
  2. package/dist/canonical/canonical-printer.d.ts.map +1 -0
  3. package/dist/canonical/comparator.d.ts +27 -0
  4. package/dist/canonical/comparator.d.ts.map +1 -0
  5. package/dist/canonical/normaliser.d.ts +8 -0
  6. package/dist/canonical/normaliser.d.ts.map +1 -0
  7. package/dist/completion/context-detector.d.ts +51 -0
  8. package/dist/completion/context-detector.d.ts.map +1 -0
  9. package/dist/completion/context-items.d.ts +50 -0
  10. package/dist/completion/context-items.d.ts.map +1 -0
  11. package/dist/completion/filter-cache.d.ts +14 -0
  12. package/dist/completion/filter-cache.d.ts.map +1 -0
  13. package/dist/completion/provider.d.ts +38 -0
  14. package/dist/completion/provider.d.ts.map +1 -0
  15. package/dist/completion/snippets.d.ts +11 -0
  16. package/dist/completion/snippets.d.ts.map +1 -0
  17. package/dist/formatter/ast-printer.d.ts +12 -0
  18. package/dist/formatter/ast-printer.d.ts.map +1 -0
  19. package/dist/formatter/comments.d.ts +14 -0
  20. package/dist/formatter/comments.d.ts.map +1 -0
  21. package/dist/formatter/config.d.ts +5 -0
  22. package/dist/formatter/config.d.ts.map +1 -0
  23. package/dist/formatter/formatter.d.ts +3 -0
  24. package/dist/formatter/formatter.d.ts.map +1 -0
  25. package/dist/formatter/index.d.ts +6 -0
  26. package/dist/formatter/index.d.ts.map +1 -0
  27. package/dist/formatter/options.d.ts +47 -0
  28. package/dist/formatter/options.d.ts.map +1 -0
  29. package/dist/formatter/range.d.ts +16 -0
  30. package/dist/formatter/range.d.ts.map +1 -0
  31. package/dist/formatter/rules.d.ts +8 -0
  32. package/dist/formatter/rules.d.ts.map +1 -0
  33. package/dist/formatter/semantic-guard.d.ts +10 -0
  34. package/dist/formatter/semantic-guard.d.ts.map +1 -0
  35. package/dist/grammar/ECLLexer.d.ts +122 -0
  36. package/dist/grammar/ECLLexer.d.ts.map +1 -0
  37. package/dist/grammar/ECLParser.d.ts +2905 -0
  38. package/dist/grammar/ECLParser.d.ts.map +1 -0
  39. package/dist/grammar/ECLVisitor.d.ts +1038 -0
  40. package/dist/grammar/ECLVisitor.d.ts.map +1 -0
  41. package/dist/index.cjs +48619 -57274
  42. package/dist/index.d.ts +45 -1326
  43. package/dist/index.d.ts.map +1 -0
  44. package/dist/index.mjs +48622 -57338
  45. package/dist/knowledge/filters.d.ts +6 -0
  46. package/dist/knowledge/filters.d.ts.map +1 -0
  47. package/dist/knowledge/grammar.d.ts +7 -0
  48. package/dist/knowledge/grammar.d.ts.map +1 -0
  49. package/dist/knowledge/index.d.ts +24 -0
  50. package/dist/knowledge/index.d.ts.map +1 -0
  51. package/dist/knowledge/operators.d.ts +10 -0
  52. package/dist/knowledge/operators.d.ts.map +1 -0
  53. package/dist/knowledge/patterns.d.ts +6 -0
  54. package/dist/knowledge/patterns.d.ts.map +1 -0
  55. package/dist/knowledge/refinements.d.ts +6 -0
  56. package/dist/knowledge/refinements.d.ts.map +1 -0
  57. package/dist/knowledge/types.d.ts +41 -0
  58. package/dist/knowledge/types.d.ts.map +1 -0
  59. package/dist/parser/ast.d.ts +162 -0
  60. package/dist/parser/ast.d.ts.map +1 -0
  61. package/dist/parser/concept-extractor.d.ts +21 -0
  62. package/dist/parser/concept-extractor.d.ts.map +1 -0
  63. package/dist/parser/error-analysis.d.ts +54 -0
  64. package/dist/parser/error-analysis.d.ts.map +1 -0
  65. package/dist/parser/error-listener.d.ts +14 -0
  66. package/dist/parser/error-listener.d.ts.map +1 -0
  67. package/dist/parser/expression-grouper.d.ts +20 -0
  68. package/dist/parser/expression-grouper.d.ts.map +1 -0
  69. package/dist/parser/generated/grammar/ECLLexer.d.ts +122 -0
  70. package/dist/parser/generated/grammar/ECLLexer.d.ts.map +1 -0
  71. package/dist/parser/generated/grammar/ECLParser.d.ts +2905 -0
  72. package/dist/parser/generated/grammar/ECLParser.d.ts.map +1 -0
  73. package/dist/parser/generated/grammar/ECLVisitor.d.ts +1038 -0
  74. package/dist/parser/generated/grammar/ECLVisitor.d.ts.map +1 -0
  75. package/dist/parser/index.d.ts +26 -0
  76. package/dist/parser/index.d.ts.map +1 -0
  77. package/dist/parser/position-detector.d.ts +45 -0
  78. package/dist/parser/position-detector.d.ts.map +1 -0
  79. package/dist/parser/refinement-check.d.ts +22 -0
  80. package/dist/parser/refinement-check.d.ts.map +1 -0
  81. package/dist/parser/visitor.d.ts +56 -0
  82. package/dist/parser/visitor.d.ts.map +1 -0
  83. package/dist/refactoring/add-description-filter.d.ts +8 -0
  84. package/dist/refactoring/add-description-filter.d.ts.map +1 -0
  85. package/dist/refactoring/add-display-terms.d.ts +20 -0
  86. package/dist/refactoring/add-display-terms.d.ts.map +1 -0
  87. package/dist/refactoring/add-history-supplement.d.ts +13 -0
  88. package/dist/refactoring/add-history-supplement.d.ts.map +1 -0
  89. package/dist/refactoring/add-parentheses.d.ts +14 -0
  90. package/dist/refactoring/add-parentheses.d.ts.map +1 -0
  91. package/dist/refactoring/index.d.ts +27 -0
  92. package/dist/refactoring/index.d.ts.map +1 -0
  93. package/dist/refactoring/remove-parentheses.d.ts +8 -0
  94. package/dist/refactoring/remove-parentheses.d.ts.map +1 -0
  95. package/dist/refactoring/replace-inactive-concept.d.ts +15 -0
  96. package/dist/refactoring/replace-inactive-concept.d.ts.map +1 -0
  97. package/dist/refactoring/simplify-expression.d.ts +15 -0
  98. package/dist/refactoring/simplify-expression.d.ts.map +1 -0
  99. package/dist/refactoring/strip-display-terms.d.ts +8 -0
  100. package/dist/refactoring/strip-display-terms.d.ts.map +1 -0
  101. package/dist/semantic/ecl-text.d.ts +35 -0
  102. package/dist/semantic/ecl-text.d.ts.map +1 -0
  103. package/dist/semantic/validator.d.ts +14 -0
  104. package/dist/semantic/validator.d.ts.map +1 -0
  105. package/dist/semantic-tokens.d.ts +12 -0
  106. package/dist/semantic-tokens.d.ts.map +1 -0
  107. package/dist/terminology/errors.d.ts +119 -0
  108. package/dist/terminology/errors.d.ts.map +1 -0
  109. package/dist/terminology/fetch-compat-browser.d.ts +3 -0
  110. package/dist/terminology/fetch-compat-browser.d.ts.map +1 -0
  111. package/dist/terminology/fetch-compat.d.ts +4 -0
  112. package/dist/terminology/fetch-compat.d.ts.map +1 -0
  113. package/dist/terminology/fhir-service.d.ts +195 -0
  114. package/dist/terminology/fhir-service.d.ts.map +1 -0
  115. package/dist/terminology/index.d.ts +5 -0
  116. package/dist/terminology/index.d.ts.map +1 -0
  117. package/dist/terminology/mock-service.d.ts +22 -0
  118. package/dist/terminology/mock-service.d.ts.map +1 -0
  119. package/dist/terminology/types.d.ts +79 -0
  120. package/dist/terminology/types.d.ts.map +1 -0
  121. package/dist/terminology/verhoeff.d.ts +38 -0
  122. package/dist/terminology/verhoeff.d.ts.map +1 -0
  123. package/dist/text-utils.d.ts +17 -0
  124. package/dist/text-utils.d.ts.map +1 -0
  125. package/dist/types.d.ts +64 -0
  126. package/dist/types.d.ts.map +1 -0
  127. package/dist/validation/error-refinement.d.ts +31 -0
  128. package/dist/validation/error-refinement.d.ts.map +1 -0
  129. package/package.json +4 -4
@@ -0,0 +1,6 @@
1
+ import { KnowledgeArticle } from './types';
2
+ /**
3
+ * Filter documentation — description, concept, and member filters with sub-properties.
4
+ */
5
+ export declare const filterArticles: KnowledgeArticle[];
6
+ //# sourceMappingURL=filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/knowledge/filters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,gBAAgB,EAyF5C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { KnowledgeArticle } from './types';
2
+ /**
3
+ * Grammar summary and history supplement documentation.
4
+ */
5
+ export declare const grammarArticles: KnowledgeArticle[];
6
+ export declare const historyArticles: KnowledgeArticle[];
7
+ //# sourceMappingURL=grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grammar.d.ts","sourceRoot":"","sources":["../../src/knowledge/grammar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,gBAAgB,EAoI7C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,gBAAgB,EAkF7C,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { KnowledgeArticle, KnowledgeGuide } from './types';
2
+ /**
3
+ * ECL Knowledge Module — structured reference documentation for ECL 2.2.
4
+ *
5
+ * Provides a unified source of truth for operator docs, refinement guides,
6
+ * filter syntax, common patterns, grammar reference, and history supplements.
7
+ * Consumed by the LSP server (hover docs) and tests.
8
+ */
9
+ export type { KnowledgeArticle, KnowledgeGuide, KnowledgeCategory, OperatorHoverDoc } from './types';
10
+ /** All knowledge articles across all categories */
11
+ export declare const allArticles: readonly KnowledgeArticle[];
12
+ /** Look up an article by its ID */
13
+ export declare function getArticle(id: string): KnowledgeArticle | undefined;
14
+ /** Get all articles in a category */
15
+ export declare function getArticlesByCategory(category: string): KnowledgeArticle[];
16
+ /** All operator hover docs (for IDE tooltips) */
17
+ export { operatorHoverDocs } from './operators';
18
+ /** Get hover markdown for an operator symbol or keyword (case-insensitive for keywords) */
19
+ export declare function getOperatorHoverDoc(operator: string): string | undefined;
20
+ /** Pre-built knowledge guides, keyed by URI */
21
+ export declare const knowledgeGuides: readonly KnowledgeGuide[];
22
+ /** Look up a knowledge guide by URI */
23
+ export declare function getGuide(uri: string): KnowledgeGuide | undefined;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/knowledge/index.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAErG,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAShE,mDAAmD;AACnD,eAAO,MAAM,WAAW,EAAE,SAAS,gBAAgB,EAOlD,CAAC;AAIF,mCAAmC;AACnC,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAEnE;AAED,qCAAqC;AACrC,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAE1E;AAID,iDAAiD;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAWhD,2FAA2F;AAC3F,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAExE;AAYD,+CAA+C;AAC/C,eAAO,MAAM,eAAe,EAAE,SAAS,cAAc,EAqCpD,CAAC;AAEF,uCAAuC;AACvC,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEhE"}
@@ -0,0 +1,10 @@
1
+ import { KnowledgeArticle, OperatorHoverDoc } from './types';
2
+ /**
3
+ * All 15+ ECL operators with meanings, syntax, and examples.
4
+ */
5
+ export declare const operatorArticles: KnowledgeArticle[];
6
+ /**
7
+ * Hover documentation for all operators — concise markdown for IDE tooltips.
8
+ */
9
+ export declare const operatorHoverDocs: OperatorHoverDoc[];
10
+ //# sourceMappingURL=operators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operators.d.ts","sourceRoot":"","sources":["../../src/knowledge/operators.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,gBAAgB,EAyQ9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EA4E/C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { KnowledgeArticle } from './types';
2
+ /**
3
+ * Common ECL patterns for typical clinical terminology tasks.
4
+ */
5
+ export declare const patternArticles: KnowledgeArticle[];
6
+ //# sourceMappingURL=patterns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patterns.d.ts","sourceRoot":"","sources":["../../src/knowledge/patterns.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,gBAAgB,EAwL7C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { KnowledgeArticle } from './types';
2
+ /**
3
+ * Refinement documentation — attributes, groups, cardinality, reverse, common attributes.
4
+ */
5
+ export declare const refinementArticles: KnowledgeArticle[];
6
+ //# sourceMappingURL=refinements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refinements.d.ts","sourceRoot":"","sources":["../../src/knowledge/refinements.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EA4HhD,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Knowledge module types for structured ECL reference documentation.
3
+ */
4
+ /** Category of knowledge content */
5
+ export type KnowledgeCategory = 'operator' | 'refinement' | 'filter' | 'pattern' | 'grammar' | 'history';
6
+ /** A single knowledge article (e.g., one operator, one pattern) */
7
+ export interface KnowledgeArticle {
8
+ /** Unique identifier (e.g., 'op:descendantOf', 'pattern:disorders-by-site') */
9
+ id: string;
10
+ /** Category for grouping */
11
+ category: KnowledgeCategory;
12
+ /** Short human-readable name */
13
+ name: string;
14
+ /** One-line description */
15
+ summary: string;
16
+ /** Full Markdown documentation */
17
+ content: string;
18
+ /** ECL example expressions */
19
+ examples: string[];
20
+ /** Related article IDs */
21
+ related: string[];
22
+ }
23
+ /** A knowledge guide — a curated collection of articles on a topic */
24
+ export interface KnowledgeGuide {
25
+ /** URI identifier (e.g., 'ecl://guide/operators') */
26
+ uri: string;
27
+ /** Display name */
28
+ name: string;
29
+ /** Brief description */
30
+ description: string;
31
+ /** Full Markdown content */
32
+ content: string;
33
+ }
34
+ /** Operator hover documentation — concise markdown for IDE hover tooltips */
35
+ export interface OperatorHoverDoc {
36
+ /** The operator symbol or keyword (e.g., '<', '<<', 'AND') */
37
+ operator: string;
38
+ /** Markdown hover content */
39
+ markdown: string;
40
+ }
41
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/knowledge/types.ts"],"names":[],"mappings":"AAGA;;GAEG;AAEH,oCAAoC;AACpC,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzG,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAC/B,+EAA+E;IAC/E,EAAE,EAAE,MAAM,CAAC;IACX,4BAA4B;IAC5B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,2BAA2B;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,0BAA0B;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,sEAAsE;AACtE,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,wBAAwB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,6EAA6E;AAC7E,MAAM,WAAW,gBAAgB;IAC/B,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,162 @@
1
+ export interface Position {
2
+ line: number;
3
+ column: number;
4
+ offset: number;
5
+ }
6
+ export interface Range {
7
+ start: Position;
8
+ end: Position;
9
+ }
10
+ export declare enum NodeType {
11
+ ExpressionConstraint = "ExpressionConstraint",
12
+ SubExpressionConstraint = "SubExpressionConstraint",
13
+ CompoundExpression = "CompoundExpression",
14
+ RefinedExpression = "RefinedExpression",
15
+ DottedExpression = "DottedExpression",
16
+ DottedAttribute = "DottedAttribute",
17
+ ConceptReference = "ConceptReference",
18
+ ConstraintOperator = "ConstraintOperator",
19
+ LogicalOperator = "LogicalOperator",
20
+ Refinement = "Refinement",
21
+ AttributeSet = "AttributeSet",
22
+ AttributeGroup = "AttributeGroup",
23
+ Attribute = "Attribute",
24
+ AttributeName = "AttributeName",
25
+ AttributeValue = "AttributeValue",
26
+ Wildcard = "Wildcard",
27
+ FilterConstraint = "FilterConstraint",
28
+ HistorySupplement = "HistorySupplement"
29
+ }
30
+ export interface ASTNode {
31
+ type: NodeType;
32
+ range: Range;
33
+ }
34
+ export interface ExpressionNode extends ASTNode {
35
+ type: NodeType.ExpressionConstraint;
36
+ expression: SubExpressionNode | CompoundExpressionNode | RefinedExpressionNode | DottedExpressionNode;
37
+ }
38
+ export interface SubExpressionNode extends ASTNode {
39
+ type: NodeType.SubExpressionConstraint;
40
+ operator?: OperatorNode;
41
+ memberOf?: boolean;
42
+ focus: ConceptReferenceNode | WildcardNode | ExpressionNode;
43
+ filters?: FilterConstraintNode[];
44
+ historySupplement?: HistorySupplementNode;
45
+ }
46
+ export interface CompoundExpressionNode extends ASTNode {
47
+ type: NodeType.CompoundExpression;
48
+ operator: LogicalOperatorNode;
49
+ operands: SubExpressionNode[];
50
+ }
51
+ export interface RefinedExpressionNode extends ASTNode {
52
+ type: NodeType.RefinedExpression;
53
+ expression: SubExpressionNode;
54
+ refinement: RefinementNode;
55
+ }
56
+ export interface DottedExpressionNode extends ASTNode {
57
+ type: NodeType.DottedExpression;
58
+ source: SubExpressionNode;
59
+ attributes: DottedAttributeNode[];
60
+ }
61
+ export interface DottedAttributeNode extends ASTNode {
62
+ type: NodeType.DottedAttribute;
63
+ attributeName: SubExpressionNode;
64
+ }
65
+ export interface ConceptReferenceNode extends ASTNode {
66
+ type: NodeType.ConceptReference;
67
+ conceptId: string;
68
+ term?: string;
69
+ }
70
+ export interface OperatorNode extends ASTNode {
71
+ type: NodeType.ConstraintOperator;
72
+ operator: '<' | '<<' | '>' | '>>' | '<!' | '<<!' | '>!' | '>>!';
73
+ }
74
+ export interface LogicalOperatorNode extends ASTNode {
75
+ type: NodeType.LogicalOperator;
76
+ operator: 'AND' | 'OR' | 'MINUS';
77
+ }
78
+ /**
79
+ * A member of a refinement tree: a single attribute, a `{ }` attribute group,
80
+ * or a conjunction/disjunction set of members.
81
+ */
82
+ export type RefinementMemberNode = AttributeNode | AttributeGroupNode | AttributeSetNode;
83
+ export interface RefinementNode extends ASTNode {
84
+ type: NodeType.Refinement;
85
+ /**
86
+ * Every attribute in the refinement, in source order.
87
+ *
88
+ * This is a flattened convenience view that carries NO operator or grouping
89
+ * information — use `content` when the distinction between `,`/`AND`
90
+ * (conjunction) and `OR` (disjunction) matters, e.g. when printing.
91
+ */
92
+ attributes: AttributeNode[];
93
+ /**
94
+ * The refinement tree, preserving the conjunction/disjunction operators and
95
+ * the grouping (parentheses and `{ }` attribute groups) written in the source.
96
+ * `null` only when the refinement contains no attributes at all.
97
+ */
98
+ content: RefinementMemberNode | null;
99
+ }
100
+ /**
101
+ * A conjunction (`,` or `AND`) or disjunction (`OR`) of refinement members.
102
+ *
103
+ * The ECL grammar forbids mixing conjunction and disjunction at the same level,
104
+ * so every set is homogeneous; mixed expressions nest sets inside one another
105
+ * via parentheses.
106
+ */
107
+ export interface AttributeSetNode extends ASTNode {
108
+ type: NodeType.AttributeSet;
109
+ operator: 'AND' | 'OR';
110
+ /** How a conjunction was written in the source. Always ',' for disjunctions. */
111
+ conjunctionStyle: ',' | 'AND';
112
+ /**
113
+ * True when the source wrote this set inside `( )`.
114
+ *
115
+ * The grammar nests attribute sets inside refinements even without
116
+ * parentheses, so this distinguishes real source parentheses from the
117
+ * implicit nesting a parser introduces.
118
+ */
119
+ parenthesized?: boolean;
120
+ members: RefinementMemberNode[];
121
+ }
122
+ /** An attribute group — `{ ... }`, optionally preceded by a cardinality like `[1..2]`. */
123
+ export interface AttributeGroupNode extends ASTNode {
124
+ type: NodeType.AttributeGroup;
125
+ /** Raw cardinality text including brackets, e.g. `[0..1]`. */
126
+ cardinality?: string;
127
+ content: RefinementMemberNode;
128
+ }
129
+ export interface AttributeNode extends ASTNode {
130
+ type: NodeType.Attribute;
131
+ name: AttributeNameNode;
132
+ value: AttributeValueNode;
133
+ reversed?: boolean;
134
+ /** Raw cardinality text including brackets, e.g. `[0..1]`. */
135
+ cardinality?: string;
136
+ }
137
+ export interface AttributeNameNode extends ASTNode {
138
+ type: NodeType.AttributeName;
139
+ conceptId?: string;
140
+ term?: string;
141
+ expression?: SubExpressionNode;
142
+ }
143
+ export interface AttributeValueNode extends ASTNode {
144
+ type: NodeType.AttributeValue;
145
+ expression?: SubExpressionNode;
146
+ rawValue?: string;
147
+ }
148
+ export interface WildcardNode extends ASTNode {
149
+ type: NodeType.Wildcard;
150
+ }
151
+ export interface FilterConstraintNode extends ASTNode {
152
+ type: NodeType.FilterConstraint;
153
+ filterType: 'description' | 'concept' | 'member';
154
+ conceptExpressions: SubExpressionNode[];
155
+ conceptReferences: ConceptReferenceNode[];
156
+ }
157
+ export interface HistorySupplementNode extends ASTNode {
158
+ type: NodeType.HistorySupplement;
159
+ profile?: 'MIN' | 'MOD' | 'MAX';
160
+ subsetExpression?: ExpressionNode;
161
+ }
162
+ //# sourceMappingURL=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;IAC9B,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAa,SAAQ,OAAO;IAC3C,IAAI,EAAE,QAAQ,CAAC,QAAQ,CAAC;CACzB;AAED,MAAM,WAAW,oBAAqB,SAAQ,OAAO;IACnD,IAAI,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IAChC,UAAU,EAAE,aAAa,GAAG,SAAS,GAAG,QAAQ,CAAC;IACjD,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,iBAAiB,EAAE,oBAAoB,EAAE,CAAC;CAC3C;AAED,MAAM,WAAW,qBAAsB,SAAQ,OAAO;IACpD,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC;IACjC,OAAO,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAChC,gBAAgB,CAAC,EAAE,cAAc,CAAC;CACnC"}
@@ -0,0 +1,21 @@
1
+ import { ExpressionNode, Range } from './ast';
2
+ export interface ConceptReference {
3
+ id: string;
4
+ range: Range;
5
+ term?: string;
6
+ }
7
+ /**
8
+ * Extracts all concept IDs from an ECL AST.
9
+ * @param ast The root expression node
10
+ * @returns Array of concept references with their positions
11
+ */
12
+ export declare function extractConceptIds(ast: ExpressionNode, options?: {
13
+ deduplicate?: boolean;
14
+ }): ConceptReference[];
15
+ /**
16
+ * Extracts concept IDs from text using regex (fallback when AST is unavailable or incomplete)
17
+ * @param text The ECL text
18
+ * @returns Array of concept IDs found (6-18 digit numbers)
19
+ */
20
+ export declare function extractConceptIdsFromText(text: string): string[];
21
+ //# sourceMappingURL=concept-extractor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"concept-extractor.d.ts","sourceRoot":"","sources":["../../src/parser/concept-extractor.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAiBd,KAAK,EACN,MAAM,OAAO,CAAC;AAqBf,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,gBAAgB,EAAE,CAoH9G;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAKhE"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Single-pass error analysis for ECL expressions.
3
+ *
4
+ * Replaces 7 independent character-scanning heuristics with:
5
+ * 1. groupTokens() — one pass to produce logical tokens
6
+ * 2. analyzeExpression() — one iteration over tokens for all checks
7
+ */
8
+ export interface ExpressionIssues {
9
+ mixedOperator: {
10
+ firstOp: string;
11
+ conflictOp: string;
12
+ line: number;
13
+ column: number;
14
+ } | null;
15
+ missingColonBeforeBrace: {
16
+ line: number;
17
+ column: number;
18
+ } | null;
19
+ trailingOperator: {
20
+ op: string;
21
+ line: number;
22
+ column: number;
23
+ } | null;
24
+ duplicateOperator: {
25
+ op: string;
26
+ line: number;
27
+ column: number;
28
+ } | null;
29
+ danglingEquals: {
30
+ line: number;
31
+ column: number;
32
+ } | null;
33
+ unclosedParen: {
34
+ line: number;
35
+ column: number;
36
+ } | null;
37
+ missingWhitespace: {
38
+ op: string;
39
+ side: 'before' | 'after';
40
+ line: number;
41
+ column: number;
42
+ } | null;
43
+ }
44
+ export interface GroupedToken {
45
+ kind: 'keyword' | 'word' | 'symbol' | 'whitespace';
46
+ text: string;
47
+ line: number;
48
+ column: number;
49
+ offset: number;
50
+ inTerm: boolean;
51
+ }
52
+ export declare function groupTokens(text: string): GroupedToken[];
53
+ export declare function analyzeExpression(text: string): ExpressionIssues;
54
+ //# sourceMappingURL=error-analysis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-analys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CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAOD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,EAAE,CAkFxD;AAKD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAsLhE"}
@@ -0,0 +1,14 @@
1
+ import { ANTLRErrorListener, RecognitionException, Recognizer } from 'antlr4ts';
2
+ export interface ParseError {
3
+ line: number;
4
+ column: number;
5
+ message: string;
6
+ offendingSymbol?: any;
7
+ }
8
+ export declare class ECLErrorListener implements ANTLRErrorListener<any> {
9
+ private readonly errors;
10
+ syntaxError(recognizer: Recognizer<any, any>, offendingSymbol: any, line: number, charPositionInLine: number, msg: string, _e: RecognitionException | undefined): void;
11
+ getErrors(): ParseError[];
12
+ hasErrors(): boolean;
13
+ }
14
+ //# sourceMappingURL=error-listener.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-listener.d.ts","sourceRoot":"","sources":["../../src/parser/error-listener.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEhF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,GAAG,CAAC;CACvB;AAED,qBAAa,gBAAiB,YAAW,kBAAkB,CAAC,GAAG,CAAC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAE3C,WAAW,CACT,UAAU,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAChC,eAAe,EAAE,GAAG,EACpB,IAAI,EAAE,MAAM,EACZ,kBAAkB,EAAE,MAAM,EAC1B,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,oBAAoB,GAAG,SAAS,GACnC,IAAI;IASP,SAAS,IAAI,UAAU,EAAE;IAIzB,SAAS,IAAI,OAAO;CAGrB"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Represents a single ECL expression in a document.
3
+ * Expressions are separated by ECL-END comment delimiters.
4
+ */
5
+ export interface Expression {
6
+ text: string;
7
+ startLine: number;
8
+ endLine: number;
9
+ lineOffsets: number[];
10
+ }
11
+ /**
12
+ * Groups document lines into ECL expressions.
13
+ * Expressions are separated by ECL-END comment delimiters.
14
+ * Each expression can be multi-line.
15
+ *
16
+ * @param text - The full document text
17
+ * @returns Array of expressions with their positions in the document
18
+ */
19
+ export declare function groupIntoExpressions(text: string): Expression[];
20
+ //# sourceMappingURL=expression-grouper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-grouper.d.ts","sourceRoot":"","sources":["../../src/parser/expression-grouper.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED;;;;;;;GAOG;AAEH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,EAAE,CA4F/D"}
@@ -0,0 +1,122 @@
1
+ import { ATN } from 'antlr4ts/atn/ATN';
2
+ import { CharStream } from 'antlr4ts/CharStream';
3
+ import { Lexer } from 'antlr4ts/Lexer';
4
+ import { Vocabulary } from 'antlr4ts/Vocabulary';
5
+ export declare class ECLLexer extends Lexer {
6
+ static readonly UTF8_LETTER = 1;
7
+ static readonly TAB = 2;
8
+ static readonly LF = 3;
9
+ static readonly CR = 4;
10
+ static readonly SPACE = 5;
11
+ static readonly EXCLAMATION = 6;
12
+ static readonly QUOTE = 7;
13
+ static readonly HASH = 8;
14
+ static readonly DOLLAR = 9;
15
+ static readonly PERCENT = 10;
16
+ static readonly AMPERSAND = 11;
17
+ static readonly APOSTROPHE = 12;
18
+ static readonly LEFT_PAREN = 13;
19
+ static readonly RIGHT_PAREN = 14;
20
+ static readonly ASTERISK = 15;
21
+ static readonly PLUS = 16;
22
+ static readonly COMMA = 17;
23
+ static readonly DASH = 18;
24
+ static readonly PERIOD = 19;
25
+ static readonly SLASH = 20;
26
+ static readonly ZERO = 21;
27
+ static readonly ONE = 22;
28
+ static readonly TWO = 23;
29
+ static readonly THREE = 24;
30
+ static readonly FOUR = 25;
31
+ static readonly FIVE = 26;
32
+ static readonly SIX = 27;
33
+ static readonly SEVEN = 28;
34
+ static readonly EIGHT = 29;
35
+ static readonly NINE = 30;
36
+ static readonly COLON = 31;
37
+ static readonly SEMICOLON = 32;
38
+ static readonly LESS_THAN = 33;
39
+ static readonly EQUALS = 34;
40
+ static readonly GREATER_THAN = 35;
41
+ static readonly QUESTION = 36;
42
+ static readonly AT = 37;
43
+ static readonly CAP_A = 38;
44
+ static readonly CAP_B = 39;
45
+ static readonly CAP_C = 40;
46
+ static readonly CAP_D = 41;
47
+ static readonly CAP_E = 42;
48
+ static readonly CAP_F = 43;
49
+ static readonly CAP_G = 44;
50
+ static readonly CAP_H = 45;
51
+ static readonly CAP_I = 46;
52
+ static readonly CAP_J = 47;
53
+ static readonly CAP_K = 48;
54
+ static readonly CAP_L = 49;
55
+ static readonly CAP_M = 50;
56
+ static readonly CAP_N = 51;
57
+ static readonly CAP_O = 52;
58
+ static readonly CAP_P = 53;
59
+ static readonly CAP_Q = 54;
60
+ static readonly CAP_R = 55;
61
+ static readonly CAP_S = 56;
62
+ static readonly CAP_T = 57;
63
+ static readonly CAP_U = 58;
64
+ static readonly CAP_V = 59;
65
+ static readonly CAP_W = 60;
66
+ static readonly CAP_X = 61;
67
+ static readonly CAP_Y = 62;
68
+ static readonly CAP_Z = 63;
69
+ static readonly LEFT_BRACE = 64;
70
+ static readonly BACKSLASH = 65;
71
+ static readonly RIGHT_BRACE = 66;
72
+ static readonly CARAT = 67;
73
+ static readonly UNDERSCORE = 68;
74
+ static readonly ACCENT = 69;
75
+ static readonly A = 70;
76
+ static readonly B = 71;
77
+ static readonly C = 72;
78
+ static readonly D = 73;
79
+ static readonly E = 74;
80
+ static readonly F = 75;
81
+ static readonly G = 76;
82
+ static readonly H = 77;
83
+ static readonly I = 78;
84
+ static readonly J = 79;
85
+ static readonly K = 80;
86
+ static readonly L = 81;
87
+ static readonly M = 82;
88
+ static readonly N = 83;
89
+ static readonly O = 84;
90
+ static readonly P = 85;
91
+ static readonly Q = 86;
92
+ static readonly R = 87;
93
+ static readonly S = 88;
94
+ static readonly T = 89;
95
+ static readonly U = 90;
96
+ static readonly V = 91;
97
+ static readonly W = 92;
98
+ static readonly X = 93;
99
+ static readonly Y = 94;
100
+ static readonly Z = 95;
101
+ static readonly LEFT_CURLY_BRACE = 96;
102
+ static readonly PIPE = 97;
103
+ static readonly RIGHT_CURLY_BRACE = 98;
104
+ static readonly TILDE = 99;
105
+ static readonly channelNames: string[];
106
+ static readonly modeNames: string[];
107
+ static readonly ruleNames: string[];
108
+ private static readonly _LITERAL_NAMES;
109
+ private static readonly _SYMBOLIC_NAMES;
110
+ static readonly VOCABULARY: Vocabulary;
111
+ get vocabulary(): Vocabulary;
112
+ constructor(input: CharStream);
113
+ get grammarFileName(): string;
114
+ get ruleNames(): string[];
115
+ get serializedATN(): string;
116
+ get channelNames(): string[];
117
+ get modeNames(): string[];
118
+ static readonly _serializedATN: string;
119
+ static __ATN: ATN;
120
+ static get _ATN(): ATN;
121
+ }
122
+ //# sourceMappingURL=ECLLexer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ECLLexer.d.ts","sourceRoot":"","sources":["../../../../src/parser/generated/grammar/ECLLexer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAKvC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC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