@rsconcept/domain 3.0.0 → 3.0.1

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 (82) hide show
  1. package/dist/{analyzer-fNhkwO-6.d.ts → analyzer-CzFaWR7w.d.ts} +4 -4
  2. package/dist/{api-Bf0f_uiI.d.ts → api-DgecYHjR.d.ts} +5 -3
  3. package/dist/{arguments-extractor-ngatANBI.d.ts → arguments-extractor-CXWRT5Ou.d.ts} +4 -4
  4. package/dist/{ast-C8sIpKdL.d.ts → ast-D-D6Rq3T.d.ts} +2 -3
  5. package/dist/{ast-annotations-CiIx8qBM.d.ts → ast-annotations-x4PJ_Lhc.d.ts} +4 -4
  6. package/dist/{calculator-DE89LtIM.d.ts → calculator-uPaTV3hc.d.ts} +5 -5
  7. package/dist/cctext/language-api.d.ts +0 -1
  8. package/dist/{diagnostics-ndGYbvgh.js → diagnostics-D1Cp21nP.js} +16 -3
  9. package/dist/{diagnostics-ndGYbvgh.js.map → diagnostics-D1Cp21nP.js.map} +1 -1
  10. package/dist/{diagnostics-DsEhmFh0.d.ts → diagnostics-DKyMf6q-.d.ts} +20 -6
  11. package/dist/{expression-generator-CoucLIkE.d.ts → expression-generator-CADzBw-C.d.ts} +3 -2
  12. package/dist/graph/index.d.ts +1 -0
  13. package/dist/index-CnuO4w8e.d.ts +13 -0
  14. package/dist/index-D5RahF1K.d.ts +2 -0
  15. package/dist/{index-DpiTybDB.d.ts → index-DCO4mxiO.d.ts} +9 -7
  16. package/dist/index-DntDUXW1.d.ts +1 -0
  17. package/dist/index-x0_Y5uPV.d.ts +2 -0
  18. package/dist/index.d.ts +13 -13
  19. package/dist/index.js +1 -1
  20. package/dist/{lezer-tree-iS7LpLBJ.d.ts → lezer-tree-BQZqBT5A.d.ts} +1 -2
  21. package/dist/library/diagnostics.d.ts +1 -1
  22. package/dist/library/diagnostics.js +1 -1
  23. package/dist/library/index.d.ts +2 -3
  24. package/dist/library/index.js +1 -1
  25. package/dist/library/oss-api.d.ts +11 -3
  26. package/dist/library/oss-api.js +45 -4
  27. package/dist/library/oss-api.js.map +1 -1
  28. package/dist/library/oss-layout-api.d.ts +0 -1
  29. package/dist/library/oss.d.ts +21 -16
  30. package/dist/library/oss.js +19 -13
  31. package/dist/library/oss.js.map +1 -1
  32. package/dist/library/rsengine.d.ts +6 -5
  33. package/dist/library/rsengine.js +1 -1
  34. package/dist/library/rsform-api/index.d.ts +1 -1
  35. package/dist/library/rsform-api/index.js +1 -1
  36. package/dist/library/rsform.d.ts +1 -1
  37. package/dist/library/rsmodel-api.d.ts +5 -5
  38. package/dist/library/rsmodel-api.js +1 -1
  39. package/dist/library/rsmodel.d.ts +1 -1
  40. package/dist/library/structure-planner.d.ts +3 -3
  41. package/dist/library/structure-planner.js +1 -1
  42. package/dist/{parser-Bwd8LxJ1.d.ts → parser-DkejtiOR.d.ts} +1 -2
  43. package/dist/parsing/ast.d.ts +1 -1
  44. package/dist/parsing/index.d.ts +3 -2
  45. package/dist/parsing/lezer-tree.d.ts +1 -1
  46. package/dist/rslang/api.d.ts +2 -2
  47. package/dist/rslang/ast-annotations.d.ts +1 -1
  48. package/dist/rslang/eval/calculator.d.ts +1 -1
  49. package/dist/rslang/eval/evaluation-cache.d.ts +3 -3
  50. package/dist/rslang/eval/evaluator.d.ts +3 -3
  51. package/dist/rslang/eval/value-api.d.ts +1 -1
  52. package/dist/rslang/eval/value.d.ts +1 -1
  53. package/dist/rslang/index.d.ts +11 -10
  54. package/dist/rslang/labels.d.ts +3 -3
  55. package/dist/rslang/parser/expression-generator.d.ts +1 -1
  56. package/dist/rslang/parser/normalize.d.ts +2 -1
  57. package/dist/rslang/parser/parser.d.ts +1 -1
  58. package/dist/rslang/parser/parser.terms.d.ts +1 -40
  59. package/dist/rslang/parser/syntax-errors/index.d.ts +3 -3
  60. package/dist/rslang/semantic/analyzer.d.ts +1 -1
  61. package/dist/rslang/semantic/arguments-extractor.d.ts +1 -1
  62. package/dist/rslang/semantic/type-auditor.d.ts +3 -3
  63. package/dist/rslang/semantic/typification-api.d.ts +1 -2
  64. package/dist/rslang/semantic/typification-parser.d.ts +1 -1
  65. package/dist/rslang/semantic/typification.d.ts +1 -1
  66. package/dist/rslang/semantic/value-auditor.d.ts +2 -2
  67. package/dist/rslang/typification-graph.d.ts +1 -1
  68. package/dist/shared/index.d.ts +1 -0
  69. package/dist/{typification-graph-BY_oGT82.d.ts → typification-graph-CSxDt18X.d.ts} +2 -3
  70. package/dist/{typification-9lNu9R4k.d.ts → typification-hWUoWCba.d.ts} +2 -1
  71. package/dist/{typification-parser-Dytsv9CI.d.ts → typification-parser-DFxj4JiQ.d.ts} +2 -3
  72. package/dist/{value-BduA_ZGp.d.ts → value-XpJOVzMP.d.ts} +2 -1
  73. package/dist/{value-api-CXLl_zg0.d.ts → value-api-Dw8UkwCD.d.ts} +3 -4
  74. package/package.json +8 -8
  75. package/src/library/diagnostics.ts +16 -2
  76. package/src/library/oss-api.test.ts +100 -5
  77. package/src/library/oss-api.ts +71 -5
  78. package/src/library/oss.ts +22 -16
  79. package/dist/index-BKZ67WMa.d.ts +0 -1
  80. package/dist/index-BVVgDSdq.d.ts +0 -1
  81. package/dist/index-DmtQKWjk.d.ts +0 -1
  82. package/dist/index-_6s0AX1B.d.ts +0 -1
@@ -1,8 +1,9 @@
1
- import { t as AstNode } from "../ast-C8sIpKdL.js";
2
- import { l as Value } from "../value-BduA_ZGp.js";
3
- import { n as CalculatorResult, r as RSCalculator, t as CalculatorEvaluateOptions } from "../calculator-DE89LtIM.js";
4
- import { S as RSForm, f as EvalStatus, l as BasicBinding, p as RSModel, u as BasicsContext, x as CstType } from "../diagnostics-DsEhmFh0.js";
5
-
1
+ import { t as AstNode } from "../ast-D-D6Rq3T.js";
2
+ import "../index-D5RahF1K.js";
3
+ import { l as Value } from "../value-XpJOVzMP.js";
4
+ import { n as CalculatorResult, r as RSCalculator, t as CalculatorEvaluateOptions } from "../calculator-uPaTV3hc.js";
5
+ import "../index-CnuO4w8e.js";
6
+ import { S as RSForm, f as EvalStatus, l as BasicBinding, p as RSModel, u as BasicsContext, x as CstType } from "../diagnostics-DKyMf6q-.js";
6
7
  //#region src/library/rsengine.d.ts
7
8
  /** Services for {@link RSEngine}. */
8
9
  interface RSEngineServices {
@@ -4,7 +4,7 @@ import { CstType } from "./rsform.js";
4
4
  import { l as compare } from "../value-COprb2Je.js";
5
5
  import { RSCalculator } from "../rslang/eval/calculator.js";
6
6
  import "../rslang/index.js";
7
- import { $ as isFunctional, P as getAnalysisFor, Q as isBasicConcept, Z as isBaseSet } from "../diagnostics-ndGYbvgh.js";
7
+ import { $ as isFunctional, P as getAnalysisFor, Q as isBasicConcept, Z as isBaseSet } from "../diagnostics-D1Cp21nP.js";
8
8
  import { TYPE_BASIC } from "./rsmodel.js";
9
9
  import { inferEvalStatus, isInferrable, tryFixValue } from "./rsmodel-api.js";
10
10
  //#region src/library/rsengine.ts
@@ -1,2 +1,2 @@
1
- import { $ as removeAliasReference, A as canProduceStructure, B as filterAttributions, C as restoreConstituentOrder, D as inferTemplatedType, E as inferTemplate, F as isBasicConcept, G as MappableFields, H as remapAttributionsUnderSubstitution, I as isFunctional, J as applyMappingToConstituents, K as addAliasReference, L as isLogical, M as guessCstType, N as inferClass, O as normalizeExpression, P as isBaseSet, Q as maxAliasIndex, R as isTemplateCst, S as buildFormalDependencyGraph, T as inferStatus, U as getAnalysisFor, V as importAttributions, W as refineAnalysisForDependencyCycles, X as buildSequentialAliasMapping, Y as argumentValuesToMapping, Z as generateAlias, _ as findCstByStructure, a as buildDefinitionReferenceGraph, at as DiagnosticSourceFields, b as calculateSchemaStats, c as resolveConstituentTextChange, ct as SchemaIssueFields, d as SynthesizableFields, dt as SpawnPathFields, et as validateAliasFormat, f as inlineSynthesis, ft as StructureCapableFields, g as remapSubstitutionsAfterImport, h as applyConstituentSubstitutions, ht as TextResolvableFields, i as TextChangeOptions, it as DescribableFields, j as getCstTypePrefix, k as canHaveManualTypification, l as InlineSynthesisInput, lt as SearchableFields, m as SubstitutionResult, mt as TemplateSourceFields, n as moveIdsInOrder, nt as AliasTypedFields, o as buildTermReferenceGraph, ot as FormalOrderFields, p as sortItemsForInlineSynthesis, pt as TemplateParamSourceFields, q as allocateImportAliases, r as reorderItemsByIds, rt as BasicTextCheckFields, s as resolveAllConstituentTexts, st as ModelEvalFields, t as insertItemAfter, tt as validateNewAlias, u as InlineSynthesisResult, ut as SemanticRelations, v as getStructureName, w as applyFilterCategory, x as isSchemaIssue, y as inferNewSpawnPosition, z as typeClassForCstType } from "../../index-DpiTybDB.js";
1
+ import { $ as removeAliasReference, A as canProduceStructure, B as filterAttributions, C as restoreConstituentOrder, D as inferTemplatedType, E as inferTemplate, F as isBasicConcept, G as MappableFields, H as remapAttributionsUnderSubstitution, I as isFunctional, J as applyMappingToConstituents, K as addAliasReference, L as isLogical, M as guessCstType, N as inferClass, O as normalizeExpression, P as isBaseSet, Q as maxAliasIndex, R as isTemplateCst, S as buildFormalDependencyGraph, T as inferStatus, U as getAnalysisFor, V as importAttributions, W as refineAnalysisForDependencyCycles, X as buildSequentialAliasMapping, Y as argumentValuesToMapping, Z as generateAlias, _ as findCstByStructure, a as buildDefinitionReferenceGraph, at as DiagnosticSourceFields, b as calculateSchemaStats, c as resolveConstituentTextChange, ct as SchemaIssueFields, d as SynthesizableFields, dt as SpawnPathFields, et as validateAliasFormat, f as inlineSynthesis, ft as StructureCapableFields, g as remapSubstitutionsAfterImport, h as applyConstituentSubstitutions, ht as TextResolvableFields, i as TextChangeOptions, it as DescribableFields, j as getCstTypePrefix, k as canHaveManualTypification, l as InlineSynthesisInput, lt as SearchableFields, m as SubstitutionResult, mt as TemplateSourceFields, n as moveIdsInOrder, nt as AliasTypedFields, o as buildTermReferenceGraph, ot as FormalOrderFields, p as sortItemsForInlineSynthesis, pt as TemplateParamSourceFields, q as allocateImportAliases, r as reorderItemsByIds, rt as BasicTextCheckFields, s as resolveAllConstituentTexts, st as ModelEvalFields, t as insertItemAfter, tt as validateNewAlias, u as InlineSynthesisResult, ut as SemanticRelations, v as getStructureName, w as applyFilterCategory, x as isSchemaIssue, y as inferNewSpawnPosition, z as typeClassForCstType } from "../../index-DCO4mxiO.js";
2
2
  export { type AliasTypedFields, type BasicTextCheckFields, type DescribableFields, type DiagnosticSourceFields, type FormalOrderFields, type InlineSynthesisInput, type InlineSynthesisResult, type MappableFields, type ModelEvalFields, type SchemaIssueFields, type SearchableFields, type SemanticRelations, type SpawnPathFields, type StructureCapableFields, type SubstitutionResult, type SynthesizableFields, type TemplateParamSourceFields, type TemplateSourceFields, type TextChangeOptions, type TextResolvableFields, addAliasReference, allocateImportAliases, applyConstituentSubstitutions, applyFilterCategory, applyMappingToConstituents, argumentValuesToMapping, buildDefinitionReferenceGraph, buildFormalDependencyGraph, buildSequentialAliasMapping, buildTermReferenceGraph, calculateSchemaStats, canHaveManualTypification, canProduceStructure, filterAttributions, findCstByStructure, generateAlias, getAnalysisFor, getCstTypePrefix, getStructureName, guessCstType, importAttributions, inferClass, inferNewSpawnPosition, inferStatus, inferTemplate, inferTemplatedType, inlineSynthesis, insertItemAfter, isBaseSet, isBasicConcept, isFunctional, isLogical, isSchemaIssue, isTemplateCst, maxAliasIndex, moveIdsInOrder, normalizeExpression, refineAnalysisForDependencyCycles, remapAttributionsUnderSubstitution, remapSubstitutionsAfterImport, removeAliasReference, reorderItemsByIds, resolveAllConstituentTexts, resolveConstituentTextChange, restoreConstituentOrder, sortItemsForInlineSynthesis, typeClassForCstType, validateAliasFormat, validateNewAlias };
@@ -1,2 +1,2 @@
1
- import { $ as isFunctional, A as normalizeExpression, B as buildSequentialAliasMapping, C as isSchemaIssue, D as inferStatus, E as applyFilterCategory, F as refineAnalysisForDependencyCycles, G as validateNewAlias, H as maxAliasIndex, I as addAliasReference, J as getCstTypePrefix, K as canHaveManualTypification, L as allocateImportAliases, M as importAttributions, N as remapAttributionsUnderSubstitution, O as inferTemplate, P as getAnalysisFor, Q as isBasicConcept, R as applyMappingToConstituents, S as calculateSchemaStats, T as restoreConstituentOrder, U as removeAliasReference, V as generateAlias, W as validateAliasFormat, X as inferClass, Y as guessCstType, Z as isBaseSet, _ as applyConstituentSubstitutions, b as getStructureName, c as insertItemAfter, d as inlineSynthesis, et as isLogical, f as sortItemsForInlineSynthesis, g as resolveConstituentTextChange, h as resolveAllConstituentTexts, j as filterAttributions, k as inferTemplatedType, l as moveIdsInOrder, m as buildTermReferenceGraph, nt as typeClassForCstType, p as buildDefinitionReferenceGraph, q as canProduceStructure, tt as isTemplateCst, u as reorderItemsByIds, v as remapSubstitutionsAfterImport, w as buildFormalDependencyGraph, x as inferNewSpawnPosition, y as findCstByStructure, z as argumentValuesToMapping } from "../../diagnostics-ndGYbvgh.js";
1
+ import { $ as isFunctional, A as normalizeExpression, B as buildSequentialAliasMapping, C as isSchemaIssue, D as inferStatus, E as applyFilterCategory, F as refineAnalysisForDependencyCycles, G as validateNewAlias, H as maxAliasIndex, I as addAliasReference, J as getCstTypePrefix, K as canHaveManualTypification, L as allocateImportAliases, M as importAttributions, N as remapAttributionsUnderSubstitution, O as inferTemplate, P as getAnalysisFor, Q as isBasicConcept, R as applyMappingToConstituents, S as calculateSchemaStats, T as restoreConstituentOrder, U as removeAliasReference, V as generateAlias, W as validateAliasFormat, X as inferClass, Y as guessCstType, Z as isBaseSet, _ as applyConstituentSubstitutions, b as getStructureName, c as insertItemAfter, d as inlineSynthesis, et as isLogical, f as sortItemsForInlineSynthesis, g as resolveConstituentTextChange, h as resolveAllConstituentTexts, j as filterAttributions, k as inferTemplatedType, l as moveIdsInOrder, m as buildTermReferenceGraph, nt as typeClassForCstType, p as buildDefinitionReferenceGraph, q as canProduceStructure, tt as isTemplateCst, u as reorderItemsByIds, v as remapSubstitutionsAfterImport, w as buildFormalDependencyGraph, x as inferNewSpawnPosition, y as findCstByStructure, z as argumentValuesToMapping } from "../../diagnostics-D1Cp21nP.js";
2
2
  export { addAliasReference, allocateImportAliases, applyConstituentSubstitutions, applyFilterCategory, applyMappingToConstituents, argumentValuesToMapping, buildDefinitionReferenceGraph, buildFormalDependencyGraph, buildSequentialAliasMapping, buildTermReferenceGraph, calculateSchemaStats, canHaveManualTypification, canProduceStructure, filterAttributions, findCstByStructure, generateAlias, getAnalysisFor, getCstTypePrefix, getStructureName, guessCstType, importAttributions, inferClass, inferNewSpawnPosition, inferStatus, inferTemplate, inferTemplatedType, inlineSynthesis, insertItemAfter, isBaseSet, isBasicConcept, isFunctional, isLogical, isSchemaIssue, isTemplateCst, maxAliasIndex, moveIdsInOrder, normalizeExpression, refineAnalysisForDependencyCycles, remapAttributionsUnderSubstitution, remapSubstitutionsAfterImport, removeAliasReference, reorderItemsByIds, resolveAllConstituentTexts, resolveConstituentTextChange, restoreConstituentOrder, sortItemsForInlineSynthesis, typeClassForCstType, validateAliasFormat, validateNewAlias };
@@ -1,2 +1,2 @@
1
- import { C as RSFormStats, E as TypeInfo, S as RSForm, T as TermForm, _ as Attribution, b as CstStatus, g as ArgumentValue, v as Constituenta, w as Substitution, x as CstType, y as CstClass } from "../diagnostics-DsEhmFh0.js";
1
+ import { C as RSFormStats, E as TypeInfo, S as RSForm, T as TermForm, _ as Attribution, b as CstStatus, g as ArgumentValue, v as Constituenta, w as Substitution, x as CstType, y as CstClass } from "../diagnostics-DKyMf6q-.js";
2
2
  export { ArgumentValue, Attribution, Constituenta, CstClass, CstStatus, CstType, RSForm, RSFormStats, Substitution, TermForm, TypeInfo };
@@ -1,9 +1,9 @@
1
- import { b as Typification, f as ExpressionType } from "../typification-9lNu9R4k.js";
2
- import { d as ValuePath, l as Value } from "../value-BduA_ZGp.js";
3
- import { S as RSForm, f as EvalStatus, l as BasicBinding, m as RSModelStats, x as CstType } from "../diagnostics-DsEhmFh0.js";
1
+ import { b as Typification, f as ExpressionType } from "../typification-hWUoWCba.js";
2
+ import { d as ValuePath, l as Value } from "../value-XpJOVzMP.js";
3
+ import "../index-CnuO4w8e.js";
4
+ import { S as RSForm, f as EvalStatus, l as BasicBinding, m as RSModelStats, x as CstType } from "../diagnostics-DKyMf6q-.js";
4
5
  import { RSEngine } from "./rsengine.js";
5
- import { st as ModelEvalFields } from "../index-DpiTybDB.js";
6
-
6
+ import { st as ModelEvalFields } from "../index-DCO4mxiO.js";
7
7
  //#region src/library/rsmodel-api.d.ts
8
8
  /** Evaluate if parsed data is a basic binding data. */
9
9
  declare function validateBasicBindingData(data: unknown): data is Record<string, string>;
@@ -2,7 +2,7 @@ import { TypeID } from "../rslang/semantic/typification.js";
2
2
  import { CstType } from "./rsform.js";
3
3
  import { O as setNestedValue, _ as extractValue, b as isTupleValue, f as tuple, l as compare, x as makeDefaultValue } from "../value-COprb2Je.js";
4
4
  import "../rslang/index.js";
5
- import { Q as isBasicConcept, S as calculateSchemaStats, Z as isBaseSet, s as modelStatusCstDiagnostic } from "../diagnostics-ndGYbvgh.js";
5
+ import { Q as isBasicConcept, S as calculateSchemaStats, Z as isBaseSet, s as modelStatusCstDiagnostic } from "../diagnostics-D1Cp21nP.js";
6
6
  import { EvalStatus } from "./rsmodel.js";
7
7
  //#region src/library/rsmodel-api.ts
8
8
  const RANDOM_INTEGER_MIN = -100;
@@ -1,2 +1,2 @@
1
- import { d as DEFAULT_VALUE_TEXT, f as EvalStatus, h as TYPE_BASIC, l as BasicBinding, m as RSModelStats, p as RSModel, u as BasicsContext } from "../diagnostics-DsEhmFh0.js";
1
+ import { d as DEFAULT_VALUE_TEXT, f as EvalStatus, h as TYPE_BASIC, l as BasicBinding, m as RSModelStats, p as RSModel, u as BasicsContext } from "../diagnostics-DKyMf6q-.js";
2
2
  export { BasicBinding, BasicsContext, DEFAULT_VALUE_TEXT, EvalStatus, RSModel, RSModelStats, TYPE_BASIC };
@@ -1,6 +1,6 @@
1
- import { b as Typification, y as TypePath } from "../typification-9lNu9R4k.js";
2
- import { S as RSForm, v as Constituenta } from "../diagnostics-DsEhmFh0.js";
3
-
1
+ import { b as Typification, y as TypePath } from "../typification-hWUoWCba.js";
2
+ import "../index-CnuO4w8e.js";
3
+ import { S as RSForm, v as Constituenta } from "../diagnostics-DKyMf6q-.js";
4
4
  //#region src/library/structure-planner.d.ts
5
5
  /** Represents a node in the structure planner. */
6
6
  interface SPNode {
@@ -3,7 +3,7 @@ import { labelType } from "../rslang/labels.js";
3
3
  import { splitTemplateDefinition } from "../rslang/api.js";
4
4
  import { CstType } from "./rsform.js";
5
5
  import "../rslang/index.js";
6
- import { y as findCstByStructure } from "../diagnostics-ndGYbvgh.js";
6
+ import { y as findCstByStructure } from "../diagnostics-D1Cp21nP.js";
7
7
  //#region src/library/structure-planner.ts
8
8
  /** Structure planner for {@link Constituenta}. */
9
9
  var StructurePlanner = class {
@@ -1,7 +1,6 @@
1
1
  import { LRParser } from "@lezer/lr";
2
-
3
2
  //#region src/rslang/parser/parser.d.ts
4
3
  declare const parser: LRParser;
5
4
  //#endregion
6
5
  export { parser as t };
7
- //# sourceMappingURL=parser-Bwd8LxJ1.d.ts.map
6
+ //# sourceMappingURL=parser-DkejtiOR.d.ts.map
@@ -1,2 +1,2 @@
1
- import { a as TOKEN_ERROR, c as flattenAst, d as printAst, f as visitAstDFS, i as FlatAstNode, l as getNodeIndices, n as AstNodeBase, o as buildTree, r as FlatAST, s as findByUid, t as AstNode, u as getNodeText } from "../ast-C8sIpKdL.js";
1
+ import { a as TOKEN_ERROR, c as flattenAst, d as printAst, f as visitAstDFS, i as FlatAstNode, l as getNodeIndices, n as AstNodeBase, o as buildTree, r as FlatAST, s as findByUid, t as AstNode, u as getNodeText } from "../ast-D-D6Rq3T.js";
2
2
  export { AstNode, AstNodeBase, FlatAST, FlatAstNode, TOKEN_ERROR, buildTree, findByUid, flattenAst, getNodeIndices, getNodeText, printAst, visitAstDFS };
@@ -1,3 +1,4 @@
1
- import { r as printTree, t as CMSyntaxNode } from "../lezer-tree-iS7LpLBJ.js";
2
- import { a as TOKEN_ERROR, c as flattenAst, d as printAst, f as visitAstDFS, i as FlatAstNode, l as getNodeIndices, n as AstNodeBase, o as buildTree, r as FlatAST, s as findByUid, t as AstNode, u as getNodeText } from "../ast-C8sIpKdL.js";
1
+ import { r as printTree, t as CMSyntaxNode } from "../lezer-tree-BQZqBT5A.js";
2
+ import { a as TOKEN_ERROR, c as flattenAst, d as printAst, f as visitAstDFS, i as FlatAstNode, l as getNodeIndices, n as AstNodeBase, o as buildTree, r as FlatAST, s as findByUid, t as AstNode, u as getNodeText } from "../ast-D-D6Rq3T.js";
3
+ import "../index-D5RahF1K.js";
3
4
  export { type AstNode, type AstNodeBase, type CMSyntaxNode, type FlatAST, type FlatAstNode, TOKEN_ERROR, buildTree, findByUid, flattenAst, getNodeIndices, getNodeText, printAst, printTree, visitAstDFS };
@@ -1,2 +1,2 @@
1
- import { n as TreeCursor, r as printTree, t as CMSyntaxNode } from "../lezer-tree-iS7LpLBJ.js";
1
+ import { n as TreeCursor, r as printTree, t as CMSyntaxNode } from "../lezer-tree-BQZqBT5A.js";
2
2
  export { CMSyntaxNode, type TreeCursor, printTree };
@@ -1,3 +1,3 @@
1
- import { t as generateExpressionFromAst } from "../expression-generator-CoucLIkE.js";
2
- import { a as extractGlobals, c as isSimpleExpression, d as substituteLocalAliases, f as substituteTemplateArgs, i as extractArguments, l as parseRSLangExpression, n as applyAliasMapping, o as isGlobalAlias, r as applyTypificationMapping, s as isSetTypification, t as AliasMapping, u as splitTemplateDefinition } from "../api-Bf0f_uiI.js";
1
+ import { t as generateExpressionFromAst } from "../expression-generator-CADzBw-C.js";
2
+ import { a as extractGlobals, c as isSimpleExpression, d as substituteLocalAliases, f as substituteTemplateArgs, i as extractArguments, l as parseRSLangExpression, n as applyAliasMapping, o as isGlobalAlias, r as applyTypificationMapping, s as isSetTypification, t as AliasMapping, u as splitTemplateDefinition } from "../api-DgecYHjR.js";
3
3
  export { AliasMapping, applyAliasMapping, applyTypificationMapping, extractArguments, extractGlobals, generateExpressionFromAst, isGlobalAlias, isSetTypification, isSimpleExpression, parseRSLangExpression, splitTemplateDefinition, substituteLocalAliases, substituteTemplateArgs };
@@ -1,2 +1,2 @@
1
- import { i as readTypeAnnotation, n as annotateType, r as readErrorAnnotation, t as annotateError } from "../ast-annotations-CiIx8qBM.js";
1
+ import { i as readTypeAnnotation, n as annotateType, r as readErrorAnnotation, t as annotateError } from "../ast-annotations-x4PJ_Lhc.js";
2
2
  export { annotateError, annotateType, readErrorAnnotation, readTypeAnnotation };
@@ -1,2 +1,2 @@
1
- import { n as CalculatorResult, r as RSCalculator, t as CalculatorEvaluateOptions } from "../../calculator-DE89LtIM.js";
1
+ import { n as CalculatorResult, r as RSCalculator, t as CalculatorEvaluateOptions } from "../../calculator-uPaTV3hc.js";
2
2
  export { CalculatorEvaluateOptions, CalculatorResult, RSCalculator };
@@ -1,6 +1,6 @@
1
- import { t as AstNode } from "../../ast-C8sIpKdL.js";
2
- import { l as Value } from "../../value-BduA_ZGp.js";
3
-
1
+ import { t as AstNode } from "../../ast-D-D6Rq3T.js";
2
+ import "../../index-D5RahF1K.js";
3
+ import { l as Value } from "../../value-XpJOVzMP.js";
4
4
  //#region src/rslang/eval/evaluation-cache.d.ts
5
5
  /** Static metadata for one AST node. */
6
6
  interface EvalNodeInfo {
@@ -1,7 +1,7 @@
1
- import { t as AstNode } from "../../ast-C8sIpKdL.js";
1
+ import { t as AstNode } from "../../ast-D-D6Rq3T.js";
2
+ import "../../index-D5RahF1K.js";
2
3
  import { t as ErrorReporter } from "../../error-B0EkIx4K.js";
3
- import { l as Value, u as ValueContext } from "../../value-BduA_ZGp.js";
4
-
4
+ import { l as Value, u as ValueContext } from "../../value-XpJOVzMP.js";
5
5
  //#region src/rslang/eval/evaluator.d.ts
6
6
  /** AST context. */
7
7
  type ASTContext = Map<string, AstNode>;
@@ -1,2 +1,2 @@
1
- import { _ as setSymDiff, a as extractValue, b as validateValue, c as isTupleValue, d as printValue, f as projection, g as setNestedValue, h as setIntersection, i as convertPathToType, l as makeDefaultValue, m as setDiff, n as cartesianProduct, o as isSetValue, p as reduce, r as contains, s as isSubsetOrEq, t as boolean, u as normalizeValue, v as setUnion, x as valueStub, y as testInvalid } from "../../value-api-CXLl_zg0.js";
1
+ import { _ as setSymDiff, a as extractValue, b as validateValue, c as isTupleValue, d as printValue, f as projection, g as setNestedValue, h as setIntersection, i as convertPathToType, l as makeDefaultValue, m as setDiff, n as cartesianProduct, o as isSetValue, p as reduce, r as contains, s as isSubsetOrEq, t as boolean, u as normalizeValue, v as setUnion, x as valueStub, y as testInvalid } from "../../value-api-Dw8UkwCD.js";
2
2
  export { boolean, cartesianProduct, contains, convertPathToType, extractValue, isSetValue, isSubsetOrEq, isTupleValue, makeDefaultValue, normalizeValue, printValue, projection, reduce, setDiff, setIntersection, setNestedValue, setSymDiff, setUnion, testInvalid, validateValue, valueStub };
@@ -1,2 +1,2 @@
1
- import { a as SET_INFINITY, c as VALUE_TRUE, d as ValuePath, f as compare, h as tuple, i as INVALID_ELEMENT, l as Value, m as set, n as CalcInvalidDataError, o as TUPLE_ID, p as makeValuePath, r as EmptySetV, s as VALUE_FALSE, t as BOOL_INFINITY, u as ValueContext } from "../../value-BduA_ZGp.js";
1
+ import { a as SET_INFINITY, c as VALUE_TRUE, d as ValuePath, f as compare, h as tuple, i as INVALID_ELEMENT, l as Value, m as set, n as CalcInvalidDataError, o as TUPLE_ID, p as makeValuePath, r as EmptySetV, s as VALUE_FALSE, t as BOOL_INFINITY, u as ValueContext } from "../../value-XpJOVzMP.js";
2
2
  export { BOOL_INFINITY, CalcInvalidDataError, EmptySetV, INVALID_ELEMENT, SET_INFINITY, TUPLE_ID, VALUE_FALSE, VALUE_TRUE, Value, ValueContext, ValuePath, compare, makeValuePath, set, tuple };
@@ -1,14 +1,15 @@
1
- import { A as makeTypePath, b as Typification, d as EmptySetT, f as ExpressionType, g as TypeClass, m as LogicT, t as AnyTypificationT, v as TypeID, y as TypePath } from "../typification-9lNu9R4k.js";
1
+ import { A as makeTypePath, b as Typification, d as EmptySetT, f as ExpressionType, g as TypeClass, m as LogicT, t as AnyTypificationT, v as TypeID, y as TypePath } from "../typification-hWUoWCba.js";
2
2
  import { i as RSErrorDescription, r as RSErrorCode } from "../error-B0EkIx4K.js";
3
- import { i as readTypeAnnotation, r as readErrorAnnotation } from "../ast-annotations-CiIx8qBM.js";
4
- import { d as ValuePath, l as Value, p as makeValuePath } from "../value-BduA_ZGp.js";
5
- import { n as CalculatorResult, r as RSCalculator, t as CalculatorEvaluateOptions } from "../calculator-DE89LtIM.js";
6
- import { d as printValue } from "../value-api-CXLl_zg0.js";
7
- import { t as parser } from "../parser-Bwd8LxJ1.js";
3
+ import { i as readTypeAnnotation, r as readErrorAnnotation } from "../ast-annotations-x4PJ_Lhc.js";
4
+ import { d as ValuePath, l as Value, p as makeValuePath } from "../value-XpJOVzMP.js";
5
+ import { n as CalculatorResult, r as RSCalculator, t as CalculatorEvaluateOptions } from "../calculator-uPaTV3hc.js";
6
+ import { d as printValue } from "../value-api-Dw8UkwCD.js";
7
+ import { t as parser } from "../parser-DkejtiOR.js";
8
8
  import { t as TokenID } from "../token-DeXAmzwr.js";
9
9
  import { t as ValueClass } from "../value-class-CNI-lqXJ.js";
10
- import { a as RSLangAnalyzer, n as AnalysisFast, r as AnalysisFull, t as AnalysisBase } from "../analyzer-fNhkwO-6.js";
11
- import { n as ArgumentsType } from "../arguments-extractor-ngatANBI.js";
12
- import { n as applyAsciiTypeSubstitutions, r as parseTypeText } from "../typification-parser-Dytsv9CI.js";
13
- import { n as TypificationNodeData, t as TypificationGraph } from "../typification-graph-BY_oGT82.js";
10
+ import { a as RSLangAnalyzer, n as AnalysisFast, r as AnalysisFull, t as AnalysisBase } from "../analyzer-CzFaWR7w.js";
11
+ import { n as ArgumentsType } from "../arguments-extractor-CXWRT5Ou.js";
12
+ import { n as applyAsciiTypeSubstitutions, r as parseTypeText } from "../typification-parser-DFxj4JiQ.js";
13
+ import { n as TypificationNodeData, t as TypificationGraph } from "../typification-graph-CSxDt18X.js";
14
+ import "../index-CnuO4w8e.js";
14
15
  export { type AnalysisBase, type AnalysisFast, type AnalysisFull, AnyTypificationT, type ArgumentsType, type CalculatorEvaluateOptions, type CalculatorResult, EmptySetT, type ExpressionType, LogicT, RSCalculator, RSErrorCode, type RSErrorDescription, RSLangAnalyzer, TokenID, TypeClass, TypeID, type TypePath, type Typification, TypificationGraph, type TypificationNodeData, type Value, ValueClass, type ValuePath, applyAsciiTypeSubstitutions, makeTypePath, makeValuePath, parseTypeText, printValue, readErrorAnnotation, readTypeAnnotation, parser as rslangParser };
@@ -1,7 +1,7 @@
1
- import { n as AstNodeBase } from "../ast-C8sIpKdL.js";
2
- import { f as ExpressionType } from "../typification-9lNu9R4k.js";
1
+ import { n as AstNodeBase } from "../ast-D-D6Rq3T.js";
2
+ import "../index-D5RahF1K.js";
3
+ import { f as ExpressionType } from "../typification-hWUoWCba.js";
3
4
  import { t as TokenID } from "../token-DeXAmzwr.js";
4
-
5
5
  //#region src/rslang/labels.d.ts
6
6
  /** Retrieves label for {@link TokenID}. */
7
7
  declare function labelToken(id: TokenID): string;
@@ -1,2 +1,2 @@
1
- import { t as generateExpressionFromAst } from "../../expression-generator-CoucLIkE.js";
1
+ import { t as generateExpressionFromAst } from "../../expression-generator-CADzBw-C.js";
2
2
  export { generateExpressionFromAst };
@@ -1,4 +1,5 @@
1
- import { t as AstNode } from "../../ast-C8sIpKdL.js";
1
+ import { t as AstNode } from "../../ast-D-D6Rq3T.js";
2
+ import "../../index-D5RahF1K.js";
2
3
  //#region src/rslang/parser/normalize.d.ts
3
4
  /** Normalizes AST to a simple form. */
4
5
  declare function normalizeAST(ast: AstNode, input: string): void;
@@ -1,2 +1,2 @@
1
- import { t as parser } from "../../parser-Bwd8LxJ1.js";
1
+ import { t as parser } from "../../parser-DkejtiOR.js";
2
2
  export { parser };
@@ -1,44 +1,5 @@
1
1
  //#region src/rslang/parser/parser.terms.d.ts
2
- declare const Expression = 1,
3
- Logic = 2,
4
- Logic_predicates = 3,
5
- Variable = 4,
6
- Local = 5,
7
- Tuple = 8,
8
- Expr_enum_min2 = 9,
9
- Logic_unary = 24,
10
- Predicate = 26,
11
- Logic_quantor = 29,
12
- Variable_pack = 31,
13
- Logic_binary = 33,
14
- Setexpr = 38,
15
- Integer = 39,
16
- EmptySet = 40,
17
- IntegerSet = 41,
18
- Global = 42,
19
- Radical = 43,
20
- Setexpr_binary = 44,
21
- Enumeration = 55,
22
- Boolean = 56,
23
- Filter_expression = 58,
24
- Filter = 59,
25
- Declarative = 60,
26
- PrefixD = 62,
27
- PrefixI = 63,
28
- Imperative = 64,
29
- Imp_blocks = 65,
30
- PrefixR = 67,
31
- Recursion = 68,
32
- Function = 69,
33
- BigPr = 70,
34
- SmallPr = 71,
35
- Card = 72,
36
- Bool = 73,
37
- Debool = 74,
38
- Red = 75,
39
- Function_decl = 76,
40
- Arguments = 77,
41
- Declaration = 78;
2
+ declare const Expression = 1, Logic = 2, Logic_predicates = 3, Variable = 4, Local = 5, Tuple = 8, Expr_enum_min2 = 9, Logic_unary = 24, Predicate = 26, Logic_quantor = 29, Variable_pack = 31, Logic_binary = 33, Setexpr = 38, Integer = 39, EmptySet = 40, IntegerSet = 41, Global = 42, Radical = 43, Setexpr_binary = 44, Enumeration = 55, Boolean = 56, Filter_expression = 58, Filter = 59, Declarative = 60, PrefixD = 62, PrefixI = 63, Imperative = 64, Imp_blocks = 65, PrefixR = 67, Recursion = 68, Function = 69, BigPr = 70, SmallPr = 71, Card = 72, Bool = 73, Debool = 74, Red = 75, Function_decl = 76, Arguments = 77, Declaration = 78;
42
3
  //#endregion
43
4
  export { Arguments, BigPr, Bool, Boolean, Card, Debool, Declaration, Declarative, EmptySet, Enumeration, Expr_enum_min2, Expression, Filter, Filter_expression, Function, Function_decl, Global, Imp_blocks, Imperative, Integer, IntegerSet, Local, Logic, Logic_binary, Logic_predicates, Logic_quantor, Logic_unary, Predicate, PrefixD, PrefixI, PrefixR, Radical, Recursion, Red, Setexpr, Setexpr_binary, SmallPr, Tuple, Variable, Variable_pack };
44
5
  //# sourceMappingURL=parser.terms.d.ts.map
@@ -1,7 +1,7 @@
1
- import { t as AstNode } from "../../../ast-C8sIpKdL.js";
2
- import { g as TypeClass } from "../../../typification-9lNu9R4k.js";
1
+ import { t as AstNode } from "../../../ast-D-D6Rq3T.js";
2
+ import "../../../index-D5RahF1K.js";
3
+ import { g as TypeClass } from "../../../typification-hWUoWCba.js";
3
4
  import { t as ErrorReporter } from "../../../error-B0EkIx4K.js";
4
-
5
5
  //#region src/rslang/parser/syntax-errors/index.d.ts
6
6
  /** When set, refines incomplete formal headers (`[α∈…]`, quantifiers). */
7
7
  interface SyntaxErrorOptions {
@@ -1,2 +1,2 @@
1
- import { a as RSLangAnalyzer, i as AnalysisOptions, n as AnalysisFast, r as AnalysisFull, t as AnalysisBase } from "../../analyzer-fNhkwO-6.js";
1
+ import { a as RSLangAnalyzer, i as AnalysisOptions, n as AnalysisFast, r as AnalysisFull, t as AnalysisBase } from "../../analyzer-CzFaWR7w.js";
2
2
  export { AnalysisBase, AnalysisFast, AnalysisFull, AnalysisOptions, RSLangAnalyzer };
@@ -1,2 +1,2 @@
1
- import { n as ArgumentsType, t as ArgumentsExtractor } from "../../arguments-extractor-ngatANBI.js";
1
+ import { n as ArgumentsType, t as ArgumentsExtractor } from "../../arguments-extractor-CXWRT5Ou.js";
2
2
  export { ArgumentsExtractor, ArgumentsType };
@@ -1,7 +1,7 @@
1
- import { t as AstNode } from "../../ast-C8sIpKdL.js";
2
- import { _ as TypeContext, f as ExpressionType } from "../../typification-9lNu9R4k.js";
1
+ import { t as AstNode } from "../../ast-D-D6Rq3T.js";
2
+ import "../../index-D5RahF1K.js";
3
+ import { _ as TypeContext, f as ExpressionType } from "../../typification-hWUoWCba.js";
3
4
  import { t as ErrorReporter } from "../../error-B0EkIx4K.js";
4
-
5
5
  //#region src/rslang/semantic/type-auditor.d.ts
6
6
  /** Type auditor for AST type checking. */
7
7
  declare class TypeAuditor {
@@ -1,5 +1,4 @@
1
- import { b as Typification, f as ExpressionType, g as TypeClass, v as TypeID, y as TypePath } from "../../typification-9lNu9R4k.js";
2
-
1
+ import { b as Typification, f as ExpressionType, g as TypeClass, v as TypeID, y as TypePath } from "../../typification-hWUoWCba.js";
3
2
  //#region src/rslang/semantic/typification-api.d.ts
4
3
  /** Returns the TypeClass associated with the given TypeID. */
5
4
  declare function getTypeClass(typeID: TypeID): TypeClass;
@@ -1,2 +1,2 @@
1
- import { n as applyAsciiTypeSubstitutions, r as parseTypeText, t as TypificationParseResult } from "../../typification-parser-Dytsv9CI.js";
1
+ import { n as applyAsciiTypeSubstitutions, r as parseTypeText, t as TypificationParseResult } from "../../typification-parser-DFxj4JiQ.js";
2
2
  export { TypificationParseResult, applyAsciiTypeSubstitutions, parseTypeText };
@@ -1,2 +1,2 @@
1
- import { A as makeTypePath, C as component, D as isRadical, E as isMangledRadical, M as mangleRadicalId, N as tuple, O as isTemplateRadical, S as bool, T as debool, _ as TypeContext, a as EchelonCollection, b as Typification, c as EchelonLogic, d as EmptySetT, f as ExpressionType, g as TypeClass, h as Parametrized, i as EchelonBase, j as mangleParamAlias, k as isTypification, l as EchelonPredicate, m as LogicT, n as Argument, o as EchelonFunctional, p as IntegerT, r as EchelonAnyTyped, s as EchelonInteger, t as AnyTypificationT, u as EchelonTuple, v as TypeID, w as constant, x as basic, y as TypePath } from "../../typification-9lNu9R4k.js";
1
+ import { A as makeTypePath, C as component, D as isRadical, E as isMangledRadical, M as mangleRadicalId, N as tuple, O as isTemplateRadical, S as bool, T as debool, _ as TypeContext, a as EchelonCollection, b as Typification, c as EchelonLogic, d as EmptySetT, f as ExpressionType, g as TypeClass, h as Parametrized, i as EchelonBase, j as mangleParamAlias, k as isTypification, l as EchelonPredicate, m as LogicT, n as Argument, o as EchelonFunctional, p as IntegerT, r as EchelonAnyTyped, s as EchelonInteger, t as AnyTypificationT, u as EchelonTuple, v as TypeID, w as constant, x as basic, y as TypePath } from "../../typification-hWUoWCba.js";
2
2
  export { AnyTypificationT, Argument, EchelonAnyTyped, EchelonBase, EchelonCollection, EchelonFunctional, EchelonInteger, EchelonLogic, EchelonPredicate, EchelonTuple, EmptySetT, ExpressionType, IntegerT, LogicT, Parametrized, TypeClass, TypeContext, TypeID, TypePath, Typification, basic, bool, component, constant, debool, isMangledRadical, isRadical, isTemplateRadical, isTypification, makeTypePath, mangleParamAlias, mangleRadicalId, tuple };
@@ -1,7 +1,7 @@
1
- import { t as AstNode } from "../../ast-C8sIpKdL.js";
1
+ import { t as AstNode } from "../../ast-D-D6Rq3T.js";
2
+ import "../../index-D5RahF1K.js";
2
3
  import { t as ErrorReporter } from "../../error-B0EkIx4K.js";
3
4
  import { n as ValueClassContext, t as ValueClass } from "../../value-class-CNI-lqXJ.js";
4
-
5
5
  //#region src/rslang/semantic/value-auditor.d.ts
6
6
  /** Value auditor for AST value class checking. */
7
7
  declare class ValueAuditor {
@@ -1,2 +1,2 @@
1
- import { n as TypificationNodeData, t as TypificationGraph } from "../typification-graph-BY_oGT82.js";
1
+ import { n as TypificationNodeData, t as TypificationGraph } from "../typification-graph-CSxDt18X.js";
2
2
  export { TypificationGraph, TypificationNodeData };
@@ -1,3 +1,4 @@
1
1
  import { t as Branded } from "../branded-ZlzIcxzu.js";
2
2
  import { n as generateStub, t as applyHash_fnv1a } from "../hash-Y8I4c6Al.js";
3
+ import "../index-x0_Y5uPV.js";
3
4
  export { type Branded, applyHash_fnv1a, generateStub };
@@ -1,5 +1,4 @@
1
- import { f as ExpressionType } from "./typification-9lNu9R4k.js";
2
-
1
+ import { f as ExpressionType } from "./typification-hWUoWCba.js";
3
2
  //#region src/rslang/typification-graph.d.ts
4
3
  /** Represents a single node of a {@link TypificationGraph}. */
5
4
  interface TypificationNodeData extends Record<string, unknown> {
@@ -27,4 +26,4 @@ declare class TypificationGraph {
27
26
  }
28
27
  //#endregion
29
28
  export { TypificationNodeData as n, TypificationGraph as t };
30
- //# sourceMappingURL=typification-graph-BY_oGT82.d.ts.map
29
+ //# sourceMappingURL=typification-graph-CSxDt18X.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { t as Branded } from "./branded-ZlzIcxzu.js";
2
+ import "./index-x0_Y5uPV.js";
2
3
  //#region src/rslang/semantic/typification.d.ts
3
4
  /** Typification structure enumeration. */
4
5
  declare const TypeID: {
@@ -125,4 +126,4 @@ declare function mangleRadicalId(radical: string, funcName: string): string;
125
126
  declare function mangleParamAlias(alias: string, funcName: string): string;
126
127
  //#endregion
127
128
  export { makeTypePath as A, component as C, isRadical as D, isMangledRadical as E, mangleRadicalId as M, tuple as N, isTemplateRadical as O, bool as S, debool as T, TypeContext as _, EchelonCollection as a, Typification as b, EchelonLogic as c, EmptySetT as d, ExpressionType as f, TypeClass as g, Parametrized as h, EchelonBase as i, mangleParamAlias as j, isTypification as k, EchelonPredicate as l, LogicT as m, Argument as n, EchelonFunctional as o, IntegerT as p, EchelonAnyTyped as r, EchelonInteger as s, AnyTypificationT as t, EchelonTuple as u, TypeID as v, constant as w, basic as x, TypePath as y };
128
- //# sourceMappingURL=typification-9lNu9R4k.d.ts.map
129
+ //# sourceMappingURL=typification-hWUoWCba.d.ts.map
@@ -1,5 +1,4 @@
1
- import { f as ExpressionType } from "./typification-9lNu9R4k.js";
2
-
1
+ import { f as ExpressionType } from "./typification-hWUoWCba.js";
3
2
  //#region src/rslang/semantic/typification-parser.d.ts
4
3
  interface TypificationParseResult {
5
4
  type: ExpressionType | null;
@@ -10,4 +9,4 @@ declare function parseTypeText(input: string): TypificationParseResult;
10
9
  declare function applyAsciiTypeSubstitutions(raw: string): string;
11
10
  //#endregion
12
11
  export { applyAsciiTypeSubstitutions as n, parseTypeText as r, TypificationParseResult as t };
13
- //# sourceMappingURL=typification-parser-Dytsv9CI.d.ts.map
12
+ //# sourceMappingURL=typification-parser-DFxj4JiQ.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { t as Branded } from "./branded-ZlzIcxzu.js";
2
+ import "./index-x0_Y5uPV.js";
2
3
  //#region src/rslang/eval/value.d.ts
3
4
  /** Tuple ID for array distinction. */
4
5
  declare const TUPLE_ID = -111;
@@ -36,4 +37,4 @@ declare function tuple(components: Value[]): Value;
36
37
  declare function set(elements: Value[]): Value[];
37
38
  //#endregion
38
39
  export { SET_INFINITY as a, VALUE_TRUE as c, ValuePath as d, compare as f, tuple as h, INVALID_ELEMENT as i, Value as l, set as m, CalcInvalidDataError as n, TUPLE_ID as o, makeValuePath as p, EmptySetV as r, VALUE_FALSE as s, BOOL_INFINITY as t, ValueContext as u };
39
- //# sourceMappingURL=value-BduA_ZGp.d.ts.map
40
+ //# sourceMappingURL=value-XpJOVzMP.d.ts.map
@@ -1,6 +1,5 @@
1
- import { b as Typification, f as ExpressionType, y as TypePath } from "./typification-9lNu9R4k.js";
2
- import { d as ValuePath, l as Value, u as ValueContext } from "./value-BduA_ZGp.js";
3
-
1
+ import { b as Typification, f as ExpressionType, y as TypePath } from "./typification-hWUoWCba.js";
2
+ import { d as ValuePath, l as Value, u as ValueContext } from "./value-XpJOVzMP.js";
4
3
  //#region src/rslang/eval/value-api.d.ts
5
4
  /** Cartesian product of factor sets. */
6
5
  declare function cartesianProduct(factors: Value[][]): Value[] | null;
@@ -46,4 +45,4 @@ declare function setNestedValue(target: Value | null, path: ValuePath, newVal: V
46
45
  declare function testInvalid(value: Value): boolean;
47
46
  //#endregion
48
47
  export { setSymDiff as _, extractValue as a, validateValue as b, isTupleValue as c, printValue as d, projection as f, setNestedValue as g, setIntersection as h, convertPathToType as i, makeDefaultValue as l, setDiff as m, cartesianProduct as n, isSetValue as o, reduce as p, contains as r, isSubsetOrEq as s, boolean as t, normalizeValue as u, setUnion as v, valueStub as x, testInvalid as y };
49
- //# sourceMappingURL=value-api-CXLl_zg0.d.ts.map
48
+ //# sourceMappingURL=value-api-Dw8UkwCD.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsconcept/domain",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Shared TypeScript domain for RS language, RSForm, RSModel, RSEngine, OSS, and concept-text helpers.",
5
5
  "license": "MIT",
6
6
  "author": "IRBorisov",
@@ -172,17 +172,17 @@
172
172
  },
173
173
  "devDependencies": {
174
174
  "@lezer/generator": "^1.8.0",
175
- "@types/node": "^26.1.0",
176
- "@typescript-eslint/parser": "^8.0.1",
177
- "eslint": "^9.39.4",
175
+ "@types/node": "^26.1.1",
176
+ "@typescript-eslint/parser": "^8.63.0",
177
+ "eslint": "^9.39.5",
178
178
  "eslint-plugin-simple-import-sort": "^13.0.0",
179
179
  "globals": "^17.7.0",
180
- "prettier": "^3.9.4",
181
- "tsdown": "^0.22.3",
180
+ "prettier": "^3.9.5",
181
+ "tsdown": "^0.22.4",
182
182
  "typescript": "^6.0.3",
183
- "typescript-eslint": "^8.62.1",
183
+ "typescript-eslint": "^8.63.0",
184
184
  "unrun": "^0.3.1",
185
- "vitest": "^4.1.9"
185
+ "vitest": "^4.1.10"
186
186
  },
187
187
  "publishConfig": {
188
188
  "access": "public"
@@ -19,7 +19,7 @@ export const DiagnosticKind = {
19
19
  } as const;
20
20
  export type DiagnosticKind = (typeof DiagnosticKind)[keyof typeof DiagnosticKind];
21
21
 
22
- /** Schema and model diagnostic codes (same numeric format as {@link RSErrorCode}). */
22
+ /** Schema, model, and substitution-table diagnostic codes (same numeric format as {@link RSErrorCode}). */
23
23
  export const RSDiagnosticCode = {
24
24
  schemaHomonym: 0x8901,
25
25
  schemaFormalDuplicate: 0x8902,
@@ -31,7 +31,21 @@ export const RSDiagnosticCode = {
31
31
  modelEmpty: 0x8910,
32
32
  modelAxiomFalse: 0x8911,
33
33
  modelInvalidData: 0x8912,
34
- modelEvalFail: 0x8913
34
+ modelEvalFail: 0x8913,
35
+
36
+ substitutionInvalidIDs: 0x8920,
37
+ substitutionIncorrectCst: 0x8921,
38
+ substitutionInvalidClasses: 0x8922,
39
+ substitutionInvalidBasic: 0x8923,
40
+ substitutionInvalidConstant: 0x8924,
41
+ substitutionTypificationCycle: 0x8925,
42
+ substitutionBaseNotSet: 0x8926,
43
+ substitutionUnequalTypification: 0x8927,
44
+ /** Non-blocking warning: formal definitions differ after mapping. */
45
+ substitutionUnequalExpressions: 0x2928,
46
+ substitutionUnequalArgsCount: 0x8929,
47
+ substitutionUnequalArgs: 0x892a,
48
+ substitutionInvalidNominal: 0x892b
35
49
  } as const;
36
50
  export type RSDiagnosticCode = (typeof RSDiagnosticCode)[keyof typeof RSDiagnosticCode];
37
51