@aehrc/ecl-core 1.3.1 → 1.5.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 +48630 -57274
  42. package/dist/index.d.ts +45 -1326
  43. package/dist/index.d.ts.map +1 -0
  44. package/dist/index.mjs +48633 -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,15 @@
1
+ import { ExpressionNode, SubExpressionNode, RefinementMemberNode } from '../parser/ast';
2
+ /**
3
+ * Print a canonical string from an ECL AST node.
4
+ * Accepts either a full ExpressionNode or a SubExpressionNode (for sort-key computation).
5
+ */
6
+ export declare function printCanonical(ast: ExpressionNode | SubExpressionNode, sourceText: string, outerOperator?: string): string;
7
+ /**
8
+ * Canonical form of a refinement member.
9
+ *
10
+ * The conjunction/disjunction operator and the grouping are part of the meaning:
11
+ * a comma is a CONJUNCTION, so a disjunction must not collapse to one (issue #73).
12
+ * Explicit `AND` is normalised to `,` because the two are equivalent.
13
+ */
14
+ export declare function printRefinementMember(node: RefinementMemberNode, src: string): string;
15
+ //# sourceMappingURL=canonical-printer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canonical-printer.d.ts","sourceRoot":"","sources":["../../src/canonical/canonical-printer.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAKtB,KAAK,oBAAoB,EAG1B,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,cAAc,GAAG,iBAAiB,EACvC,UAAU,EAAE,MAAM,EAClB,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAKR;AAuHD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAiBrF"}
@@ -0,0 +1,27 @@
1
+ import { ParseError } from '../parser';
2
+ export type ComparisonResult = 'identical' | 'structurally_equivalent' | 'different';
3
+ export declare class CanonicaliseError extends Error {
4
+ readonly parseErrors: ParseError[];
5
+ constructor(message: string, parseErrors: ParseError[]);
6
+ }
7
+ /**
8
+ * Returns a canonical string form of the given ECL expression.
9
+ *
10
+ * Applies deterministic ordering (AND/OR operands, refinement attributes),
11
+ * strips display terms, removes redundant parentheses, and normalises whitespace.
12
+ *
13
+ * Throws `CanonicaliseError` if the expression cannot be parsed.
14
+ */
15
+ export declare function canonicalise(expression: string): string;
16
+ /**
17
+ * Compares two ECL expressions.
18
+ *
19
+ * Returns 'identical' if the trimmed input strings are equal.
20
+ * Returns 'structurally_equivalent' if they differ but canonicalise to the same form.
21
+ * Returns 'different' otherwise.
22
+ *
23
+ * Both expressions must be syntactically valid. If either fails to parse,
24
+ * a CanonicaliseError is thrown.
25
+ */
26
+ export declare function compareExpressions(a: string, b: string): ComparisonResult;
27
+ //# sourceMappingURL=comparator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comparator.d.ts","sourceRoot":"","sources":["../../src/canonical/comparator.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,yBAAyB,GAAG,WAAW,CAAC;AAErF,qBAAa,iBAAkB,SAAQ,KAAK;aAGxB,WAAW,EAAE,UAAU,EAAE;gBADzC,OAAO,EAAE,MAAM,EACC,WAAW,EAAE,UAAU,EAAE;CAK5C;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAOvD;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAKzE"}
@@ -0,0 +1,8 @@
1
+ import { ExpressionNode } from '../parser/ast';
2
+ /**
3
+ * Produce a normalised deep copy of the AST.
4
+ * Strips display terms, sorts commutative operands and attributes,
5
+ * and flattens same-operator compound expressions.
6
+ */
7
+ export declare function normaliseAst(ast: ExpressionNode, sourceText: string): ExpressionNode;
8
+ //# sourceMappingURL=normaliser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normaliser.d.ts","sourceRoot":"","sources":["../../src/canonical/normaliser.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,cAAc,EAepB,MAAM,eAAe,CAAC;AAGvB;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAEpF"}
@@ -0,0 +1,51 @@
1
+ /** Sub-context within a filter block. */
2
+ export type FilterSubContext = 'after-opening' | 'after-keyword' | {
3
+ kind: 'after-equals';
4
+ keyword: string | null;
5
+ } | 'after-value';
6
+ /** Filter type character for filter blocks. */
7
+ export type FilterType = 'D' | 'C' | 'M' | '+';
8
+ /** Discriminated union of all cursor contexts for ECL completion. */
9
+ export type CursorContext = {
10
+ kind: 'expression-start';
11
+ } | {
12
+ kind: 'after-operator';
13
+ operator: string;
14
+ } | {
15
+ kind: 'after-concept';
16
+ } | {
17
+ kind: 'after-logical-operator';
18
+ operator: string;
19
+ } | {
20
+ kind: 'refinement-start';
21
+ } | {
22
+ kind: 'after-attribute-name';
23
+ } | {
24
+ kind: 'after-comparison-operator';
25
+ } | {
26
+ kind: 'after-cardinality';
27
+ } | {
28
+ kind: 'dotted-awaiting-attribute';
29
+ } | {
30
+ kind: 'filter-block';
31
+ filterType: FilterType;
32
+ subContext: FilterSubContext;
33
+ } | {
34
+ kind: 'inside-display-term';
35
+ } | {
36
+ kind: 'unknown';
37
+ };
38
+ /**
39
+ * Detect if the cursor is inside a filter block by scanning for unmatched `{{`.
40
+ *
41
+ * Returns a filter-block CursorContext if inside one, or null otherwise.
42
+ */
43
+ export declare function detectFilterContext(text: string): CursorContext | null;
44
+ /**
45
+ * Detect the cursor context for ECL completion.
46
+ *
47
+ * 1. Checks for filter block context first via text scan (filters are opaque to ANTLR)
48
+ * 2. Parses with parseECL() and inspects the partial AST for everything else
49
+ */
50
+ export declare function detectCursorContext(textBeforeCursor: string): CursorContext;
51
+ //# sourceMappingURL=context-detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-detector.d.ts","sourceRoot":"","sources":["../../src/completion/context-detector.ts"],"names":[],"mappings":"AAWA,yCAAyC;AACzC,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,eAAe,GACf;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAChD,aAAa,CAAC;AAElB,+CAA+C;AAC/C,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE/C,qEAAqE;AACrE,MAAM,MAAM,aAAa,GACrB;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC5C;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,GACzB;IAAE,IAAI,EAAE,wBAAwB,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACpD;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,sBAAsB,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,2BAA2B,CAAA;CAAE,GACrC;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,GAC7B;IAAE,IAAI,EAAE,2BAA2B,CAAA;CAAE,GACrC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,UAAU,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,gBAAgB,CAAA;CAAE,GAC9E;IAAE,IAAI,EAAE,qBAAqB,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AA4GxB;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAiBtE;AAoED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,aAAa,CA8B3E"}
@@ -0,0 +1,50 @@
1
+ import { CoreCompletionItem } from '../types';
2
+ export declare const descendantOf: CoreCompletionItem;
3
+ export declare const descendantOrSelfOf: CoreCompletionItem;
4
+ export declare const ancestorOf: CoreCompletionItem;
5
+ export declare const ancestorOrSelfOf: CoreCompletionItem;
6
+ export declare const childOf: CoreCompletionItem;
7
+ export declare const childOrSelfOf: CoreCompletionItem;
8
+ export declare const parentOf: CoreCompletionItem;
9
+ export declare const parentOrSelfOf: CoreCompletionItem;
10
+ export declare const memberOf: CoreCompletionItem;
11
+ export declare const top: CoreCompletionItem;
12
+ export declare const bottom: CoreCompletionItem;
13
+ /** All constraint operators — offered at expression start and after logical operators. */
14
+ export declare const constraintOperators: CoreCompletionItem[];
15
+ export declare const andOperator: CoreCompletionItem;
16
+ export declare const orOperator: CoreCompletionItem;
17
+ export declare const minusOperator: CoreCompletionItem;
18
+ export declare const refinementColon: CoreCompletionItem;
19
+ export declare const dotNotation: CoreCompletionItem;
20
+ export declare const equalsOperator: CoreCompletionItem;
21
+ export declare const notEqualsOperator: CoreCompletionItem;
22
+ export declare const reverseFlag: CoreCompletionItem;
23
+ export declare const wildcardValue: CoreCompletionItem;
24
+ export declare const attributeGroup: CoreCompletionItem;
25
+ export declare const cardinality_0_0: CoreCompletionItem;
26
+ export declare const cardinality_0_1: CoreCompletionItem;
27
+ export declare const cardinality_0_many: CoreCompletionItem;
28
+ export declare const cardinality_1_1: CoreCompletionItem;
29
+ export declare const cardinality_1_many: CoreCompletionItem;
30
+ export declare const cardinalitySnippets: CoreCompletionItem[];
31
+ export declare const filterDescription: CoreCompletionItem;
32
+ export declare const filterConcept: CoreCompletionItem;
33
+ export declare const filterMember: CoreCompletionItem;
34
+ export declare const historySupplement: CoreCompletionItem;
35
+ export declare const filterOpeners: CoreCompletionItem[];
36
+ export declare const descriptionFilterKeywords: CoreCompletionItem[];
37
+ export declare const conceptFilterKeywords: CoreCompletionItem[];
38
+ export declare const memberFilterKeywords: CoreCompletionItem[];
39
+ export declare const historyCompletions: CoreCompletionItem[];
40
+ export declare const descriptionTypeValues: CoreCompletionItem[];
41
+ export declare const definitionStatusValues: CoreCompletionItem[];
42
+ export declare const booleanValues: CoreCompletionItem[];
43
+ export declare const typeIdValues: CoreCompletionItem[];
44
+ export declare const dialectIdValues: CoreCompletionItem[];
45
+ export declare const moduleIdValues: CoreCompletionItem[];
46
+ export declare const definitionStatusIdValues: CoreCompletionItem[];
47
+ export declare const languageCodeValues: CoreCompletionItem[];
48
+ export declare const effectiveTimeHint: CoreCompletionItem;
49
+ export declare const conceptSearch: CoreCompletionItem;
50
+ //# sourceMappingURL=context-items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-items.d.ts","sourceRoot":"","sources":["../../src/completion/context-items.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD,eAAO,MAAM,Y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,eAAO,MAAM,mBAAmB,EAAE,kBAAkB,EAMnD,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,kBAQ/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAQ3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAQ1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAQ/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAAkB,EAAwE,CAAC;AAIvH,eAAO,MAAM,yBAAyB,EAAE,kBAAkB,EA8CzD,CAAC;AAIF,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,EA0BrD,CAAC;AAIF,eAAO,MAAM,oBAAoB,EAAE,kBAAkB,EAcpD,CAAC;AAIF,eAAO,MAAM,kBAAkB,EAAE,kBAAkB,EAyBlD,CAAC;AAIF,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,EAIrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EAGtD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAAkB,EAK7C,CAAC;AAIF,eAAO,MAAM,YAAY,EAAE,kBAAkB,EAmB5C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAAkB,EAyB/C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,EA+B9C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAAkB,EAaxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAAkB,EAalD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAM/B,CAAC;AAIF,eAAO,MAAM,aAAa,EAAE,kBAW3B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { CoreCompletionItem } from '../types';
2
+ import { ITerminologyService } from '../terminology/types';
3
+ /** ECL constraints for filter keywords that support FHIR-powered completions. */
4
+ export declare const FILTER_ECL_CONSTRAINTS: Record<string, string>;
5
+ /**
6
+ * Get FHIR-powered completion items for a filter keyword.
7
+ *
8
+ * Evaluates the ECL constraint for the keyword against the terminology server,
9
+ * caches the result, and returns CompletionItems. Returns [] on FHIR errors.
10
+ */
11
+ export declare function getFhirFilterCompletions(keyword: string, terminologyService: ITerminologyService): Promise<CoreCompletionItem[]>;
12
+ /** Clear all cached filter completions (e.g. on edition change). */
13
+ export declare function clearFilterCache(): void;
14
+ //# sourceMappingURL=filter-cache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-cache.d.ts","sourceRoot":"","sources":["../../src/completion/filter-cache.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAqB,MAAM,sBAAsB,CAAC;AAEnF,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIzD,CAAC;AAeF;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAC5C,OAAO,EAAE,MAAM,EACf,kBAAkB,EAAE,mBAAmB,GACtC,OAAO,CAAC,kBAAkB,EAAE,CAAC,CA0B/B;AAED,oEAAoE;AACpE,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC"}
@@ -0,0 +1,38 @@
1
+ import { CoreCompletionItem } from '../types';
2
+ import { ITerminologyService } from '../terminology/types';
3
+ export { clearFilterCache } from './filter-cache';
4
+ /**
5
+ * Determines which completion items to return given cursor context.
6
+ *
7
+ * Pure function — no LSP dependencies — so it can be unit-tested.
8
+ *
9
+ * @param inExpression Whether the cursor is inside a recognised expression
10
+ * @param textBeforeCursor Full text from expression start to cursor (multi-line)
11
+ * @param currentLine Text of the current line only
12
+ * @param cursorColumn Column position of cursor within the current line
13
+ * @returns Array of CompletionItem to present
14
+ */
15
+ export declare function getCompletionItems(inExpression: boolean, textBeforeCursor: string, _currentLine: string, _cursorColumn: number): CoreCompletionItem[];
16
+ /**
17
+ * Extracts a partial concept term from the text before the cursor.
18
+ *
19
+ * Returns the search query string if the user appears to be typing a term
20
+ * after a constraint operator, logical operator, colon, equals, or open paren.
21
+ * Returns null if no valid search query is detected.
22
+ *
23
+ * Guards:
24
+ * - Minimum 3 characters
25
+ * - Not purely numeric (concept IDs are not term searches)
26
+ * - Not an ECL operator keyword
27
+ */
28
+ export interface ConceptSearchQuery {
29
+ query: string;
30
+ startOffset: number;
31
+ }
32
+ export declare function extractConceptSearchQuery(textBeforeCursor: string): ConceptSearchQuery | null;
33
+ /**
34
+ * Async wrapper around getCompletionItems that also searches for concepts
35
+ * via the terminology service when the user appears to be typing a term.
36
+ */
37
+ export declare function getCompletionItemsWithSearch(inExpression: boolean, textBeforeCursor: string, currentLine: string, cursorColumn: number, lineNumber: number, terminologyService: ITerminologyService | null): Promise<CoreCompletionItem[]>;
38
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/completion/provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AA0DlD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,OAAO,EACrB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,GACpB,kBAAkB,EAAE,CAuEtB;AAOD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,yBAAyB,CAAC,gBAAgB,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI,CAwC7F;AAID;;;GAGG;AAEH,wBAAsB,4BAA4B,CAChD,YAAY,EAAE,OAAO,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,kBAAkB,EAAE,mBAAmB,GAAG,IAAI,GAC7C,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAiF/B"}
@@ -0,0 +1,11 @@
1
+ import { CoreCompletionItem } from '../types';
2
+ /**
3
+ * ECL snippet completions for common expression patterns.
4
+ * These are offered when the cursor is between expressions or at the
5
+ * start of an expression where constraint operators are valid.
6
+ *
7
+ * All snippets use `sortText` starting with 'z' so they sort after
8
+ * keyword/operator completions.
9
+ */
10
+ export declare const eclSnippetCompletions: CoreCompletionItem[];
11
+ //# sourceMappingURL=snippets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snippets.d.ts","sourceRoot":"","sources":["../../src/completion/snippets.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,EAiErD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ExpressionNode } from '../parser/ast';
2
+ import { FormattingOptions } from './options';
3
+ /**
4
+ * Walk an ECL AST and emit formatted text.
5
+ *
6
+ * Task 1 covers leaf nodes and sub-expressions only.
7
+ * Compound, refined, and dotted expressions will be added in later tasks.
8
+ */
9
+ export declare function printAst(ast: ExpressionNode | null, sourceText: string, options: FormattingOptions): string;
10
+ /** Returns the length of the last line in the given text. */
11
+ export declare function lastLineLength(text: string): number;
12
+ //# sourceMappingURL=ast-printer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ast-printer.d.ts","sourceRoot":"","sources":["../../src/formatter/ast-printer.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,cAAc,EAUpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGnD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAK3G;AAmbD,6DAA6D;AAC7D,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGnD"}
@@ -0,0 +1,14 @@
1
+ export interface Comment {
2
+ content: string;
3
+ startOffset: number;
4
+ endOffset: number;
5
+ type: 'block' | 'line';
6
+ position: 'before' | 'inline' | 'between';
7
+ trailingWhitespace?: string;
8
+ }
9
+ export declare function extractComments(text: string): {
10
+ comments: Comment[];
11
+ textWithoutComments: string;
12
+ };
13
+ export declare function reinsertComments(formattedText: string, originalText: string, comments: Comment[]): string;
14
+ //# sourceMappingURL=comments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/formatter/comments.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC1C,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAID,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;IAAC,mBAAmB,EAAE,MAAM,CAAA;CAAE,CAmKlG;AAID,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,CAuFzG"}
@@ -0,0 +1,5 @@
1
+ export declare function validateIndentSize(value: unknown): number;
2
+ export declare function validateIndentStyle(value: unknown): 'space' | 'tab';
3
+ export declare function validateMaxLineLength(value: unknown): number;
4
+ export declare function validateBoolean(value: unknown, defaultValue: boolean): boolean;
5
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/formatter/config.ts"],"names":[],"mappings":"AAQA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAWzD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,GAAG,KAAK,CAWnE;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAW5D;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,CAK9E"}
@@ -0,0 +1,3 @@
1
+ import { FormattingOptions } from './options';
2
+ export declare function formatDocument(text: string, options: FormattingOptions): string;
3
+ //# sourceMappingURL=formatter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatter.d.ts","sourceRoot":"","sources":["../../src/formatter/formatter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAoa9C,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAiD/E"}
@@ -0,0 +1,6 @@
1
+ export { formatDocument } from './formatter';
2
+ export type { FormattingOptions } from './options';
3
+ export { defaultFormattingOptions } from './options';
4
+ export { validateIndentSize, validateIndentStyle, validateMaxLineLength, validateBoolean } from './config';
5
+ export { expandToExpressionBoundaries, getExpressionsInRange, formatRangeExpressions } from './range';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/formatter/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3G,OAAO,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,47 @@
1
+ export interface FormattingOptions {
2
+ indentSize: number;
3
+ indentStyle: 'space' | 'tab';
4
+ /**
5
+ * Accepted for backwards compatibility, but has no effect.
6
+ *
7
+ * It only ever applied to the AND, OR and MINUS keywords, and the ECL grammar
8
+ * requires mandatory whitespace around those. Setting it to `false` produced
9
+ * output that no longer parsed (`< 404684003AND< 19829001`), so keyword
10
+ * operators now always keep their spaces. Constraint operators (`<`, `<<`,
11
+ * `^`) were never affected by this option.
12
+ */
13
+ spaceAroundOperators: boolean;
14
+ maxLineLength: number;
15
+ alignTerms: boolean;
16
+ /** Wrap comment text that exceeds maxLineLength. Defaults to false. */
17
+ wrapComments: boolean;
18
+ /**
19
+ * Force a newline before every AND, OR, or MINUS operator.
20
+ * When true, each logical operator begins on its own continuation line,
21
+ * indented one level from the expression start.
22
+ * Defaults to false (operators are kept on the same line up to maxLineLength).
23
+ */
24
+ breakOnOperators: boolean;
25
+ /**
26
+ * Force a newline after every comma inside a refinement attribute list.
27
+ * When true, each attribute starts on its own line, indented appropriately.
28
+ * Defaults to false.
29
+ */
30
+ breakOnRefinementComma: boolean;
31
+ /**
32
+ * Force a newline after the refinement colon (:).
33
+ * When true, the attributes or attribute group following a colon start on
34
+ * a new line, indented one level from the focus concept.
35
+ * Defaults to false.
36
+ */
37
+ breakAfterColon: boolean;
38
+ /**
39
+ * Remove parentheses that don't change the meaning of the expression.
40
+ * Removes parens around non-compound expressions (e.g. `(404684003)` → `404684003`)
41
+ * and flattens same-operator nesting (e.g. `(A AND B) AND C` → `A AND B AND C`).
42
+ * Defaults to false.
43
+ */
44
+ removeRedundantParentheses: boolean;
45
+ }
46
+ export declare const defaultFormattingOptions: FormattingOptions;
47
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/formatter/options.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,GAAG,KAAK,CAAC;IAC7B;;;;;;;;OAQG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,uEAAuE;IACvE,YAAY,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAChC;;;;;OAKG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,0BAA0B,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,wBAAwB,EAAE,iBAWtC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CoreRange } from '../types';
2
+ export declare function expandToExpressionBoundaries(text: string, range: CoreRange): CoreRange;
3
+ export declare function getExpressionsInRange(text: string, range: CoreRange): {
4
+ start: number;
5
+ end: number;
6
+ text: string;
7
+ }[];
8
+ export declare function formatRangeExpressions(expressions: {
9
+ start: number;
10
+ end: number;
11
+ text: string;
12
+ }[], text: string, formatFunction: (text: string) => string): {
13
+ range: CoreRange;
14
+ newText: string;
15
+ }[];
16
+ //# sourceMappingURL=range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../src/formatter/range.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAK1C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS,CA+CtF;AAID,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,CA6DpH;AAGD,wBAAgB,sBAAsB,CACpC,WAAW,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EAC3D,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GACvC;IAAE,KAAK,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,CAwBzC"}
@@ -0,0 +1,8 @@
1
+ import { FormattingOptions } from './options';
2
+ export declare function getIndentString(level: number, options: FormattingOptions): string;
3
+ export declare function formatLogicalOperator(operator: string, _options: FormattingOptions): string;
4
+ export declare function formatRefinementColon(operator: string): string;
5
+ export declare function formatRefinementEquals(operator: string): string;
6
+ export declare function normalizeTerm(term: string): string;
7
+ export declare function shouldBreakLine(currentLength: number, options: FormattingOptions): boolean;
8
+ //# sourceMappingURL=rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/formatter/rules.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAGjF;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CAM3F;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG9D;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG/D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMlD;AAED,wBAAgB,eAAe,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAK1F"}
@@ -0,0 +1,10 @@
1
+ import { ExpressionNode } from '../parser';
2
+ /** Structural fingerprint of an already-parsed expression. */
3
+ export declare function structuralSignature(ast: ExpressionNode, sourceText: string): string;
4
+ /**
5
+ * Structural fingerprint of ECL text, or `null` when the text cannot be parsed
6
+ * unambiguously. A `null` signature means "unknown", so callers must treat it as
7
+ * "cannot verify" rather than "not equivalent".
8
+ */
9
+ export declare function signatureOf(text: string): string | null;
10
+ //# sourceMappingURL=semantic-guard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semantic-guard.d.ts","sourceRoot":"","sources":["../../src/formatter/semantic-guard.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAI1D,8DAA8D;AAC9D,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAEnF;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAUvD"}
@@ -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/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,UAA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