@woosh/meep-engine 2.48.23 → 2.49.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 (142) hide show
  1. package/editor/tools/GridPaintTool.js +1 -1
  2. package/editor/tools/paint/TerrainPaintTool.js +1 -1
  3. package/editor/view/GridPickCoordinateView.js +1 -1
  4. package/package.json +1 -1
  5. package/src/core/UUID.js +2 -0
  6. package/src/core/assert.js +4 -1
  7. package/src/core/binary/ctz32.js +1 -1
  8. package/src/core/binary/operations/bitCount.spec.js +19 -0
  9. package/src/core/binary/uint82float.spec.js +7 -0
  10. package/src/core/bvh2/bvh3/EBBVHLeafProxy.js +3 -0
  11. package/src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.js +5 -4
  12. package/src/core/bvh2/transform/RotationOptimizer.spec.js +161 -155
  13. package/src/core/codegen/LineBuilder.js +12 -3
  14. package/src/core/codegen/LineBuilder.spec.js +7 -0
  15. package/src/core/collection/HashMap.js +486 -237
  16. package/src/core/collection/HashMap.spec.js +110 -1
  17. package/src/core/collection/array/{typedArrayToDataType.js → typed/typedArrayToDataType.js} +1 -1
  18. package/src/core/collection/array/weightedRandomFromArray.spec.js +20 -0
  19. package/src/core/debug/matchers/AnyOf.js +1 -2
  20. package/src/core/geom/2d/aabb/AABB2.spec.js +1 -1
  21. package/src/core/geom/2d/aabb/aabb2_compute_center_from_multiple.js +19 -0
  22. package/src/core/geom/2d/quad-tree/qt_collect_by_circle.js +3 -3
  23. package/src/core/geom/2d/quad-tree/qt_query_data_nearest_to_point.js +7 -9
  24. package/src/core/geom/3d/aabb/aabb3_compute_plane_side.js +17 -15
  25. package/src/core/geom/3d/aabb/aabb3_compute_plane_side.spec.js +25 -0
  26. package/src/core/geom/3d/aabb/aabb3_detailed_volume_intersection.js +1 -1
  27. package/src/core/geom/3d/aabb/aabb3_from_v3_array.js +3 -0
  28. package/src/core/geom/3d/aabb/aabb3_from_v3_array.spec.js +32 -0
  29. package/src/core/geom/3d/aabb/aabb3_intersects_aabb3.spec.js +115 -0
  30. package/src/core/geom/3d/aabb/aabb3_raycast.js +6 -1
  31. package/src/core/geom/3d/aabb/serializeAABB3Encoded_v0.js +6 -6
  32. package/src/core/geom/3d/{CircleMath.js → compute_circle_bounding_box.js} +1 -1
  33. package/src/core/geom/3d/decompose_matrix_4_array.js +18 -19
  34. package/src/core/geom/3d/frustum/frustum3_computeNearestPointToPoint.js +1 -1
  35. package/src/{engine/graphics/ecs/mesh-v2 → core/geom/3d/matrix}/allocate_transform_m4.js +1 -1
  36. package/src/core/geom/3d/normal/hemioct/decode_hemioct_to_unit.js +26 -0
  37. package/src/core/geom/3d/normal/hemioct/encode_unit3_hemioct.js +0 -26
  38. package/src/core/geom/3d/normal/hemioct/unit_hemioct.spec.js +2 -1
  39. package/src/core/geom/3d/plane/computePlaneLineIntersection.js +51 -0
  40. package/src/core/geom/3d/plane/computePlanePlaneIntersection.js +77 -0
  41. package/src/core/geom/3d/plane/computePlaneRayIntersection.js +55 -0
  42. package/src/core/geom/3d/plane/plane3_computeLineSegmentIntersection.js +50 -0
  43. package/src/core/geom/3d/plane/planeRayIntersection.js +14 -0
  44. package/src/core/geom/3d/{tetrahedra/in_sphere_fast.js → sphere/in_sphere3d_fast.js} +1 -1
  45. package/src/core/geom/3d/{tetrahedra/in_sphere_robust.js → sphere/in_sphere3d_robust.js} +1 -1
  46. package/src/core/geom/3d/sphere/sphere_array_intersects_point.js +2 -2
  47. package/src/core/geom/3d/sphere/{sphereIntersectsPoint.js → sphere_intersects_point.js} +7 -4
  48. package/src/core/geom/3d/sphere/sphere_intersects_point.spec.js +134 -0
  49. package/src/core/geom/3d/sphere/sphere_intersects_ray.spec.js +49 -0
  50. package/src/core/geom/3d/sphere/sphere_radius_sqr_from_v3_array_transformed.js +11 -7
  51. package/src/core/geom/3d/tetrahedra/delaunay/{debug_validate_mesh.js → debug/debug_validate_mesh.js} +1 -1
  52. package/src/core/geom/3d/tetrahedra/delaunay/{push_boundary_with_validation.js → debug/push_boundary_with_validation.js} +1 -1
  53. package/src/core/geom/3d/tetrahedra/delaunay/{validate_cavity_boundary.js → debug/validate_cavity_boundary.js} +2 -2
  54. package/src/core/geom/3d/tetrahedra/delaunay/tetrahedral_mesh_compute_cavity.js +2 -2
  55. package/src/core/geom/3d/triangle/computeTriangleRayIntersection.js +0 -164
  56. package/src/core/geom/3d/triangle/computeTriangleRayIntersectionBarycentric.js +87 -0
  57. package/src/core/geom/3d/triangle/computeTriangleRayIntersectionBarycentricEdge.js +81 -0
  58. package/src/core/geom/{rayTriangleIntersection.js → 3d/triangle/rayTriangleIntersection.js} +2 -2
  59. package/src/core/geom/ConicRay.js +160 -152
  60. package/src/core/geom/Matrix4.js +2 -0
  61. package/src/core/geom/Quaternion.js +19 -1
  62. package/src/core/geom/packing/max-rect/MaxRectangles.js +4 -214
  63. package/src/core/geom/packing/max-rect/cost/costByBestShortSide.js +11 -0
  64. package/src/core/geom/packing/max-rect/cost/costByRemainingArea.js +14 -0
  65. package/src/core/geom/packing/max-rect/cutArea.js +79 -0
  66. package/src/core/geom/packing/max-rect/findBestContainer.js +58 -0
  67. package/src/core/geom/packing/max-rect/packOneBox.js +49 -0
  68. package/src/core/geom/v3_dot.js +1 -1
  69. package/src/core/graph/layout/CircleLayout.js +1 -1
  70. package/src/core/graph/layout/{BoxLayouter.js → box/BoxLayouter.js} +6 -50
  71. package/src/core/graph/layout/box/applyCentralGravityAABB2.js +29 -0
  72. package/src/core/json/resolvePath.spec.js +14 -0
  73. package/src/core/land/reactive/{compiler/ReactiveCompiler.spec.js → compileReactiveExpression.spec.js} +17 -17
  74. package/src/core/math/random/MersenneTwister.spec.js +19 -0
  75. package/src/core/math/random/randomGaussian.spec.js +9 -0
  76. package/src/core/math/statistics/computeStatisticalMean.js +2 -2
  77. package/src/core/model/reactive/model/arithmetic/ReactiveAdd.js +1 -1
  78. package/src/core/model/reactive/model/arithmetic/ReactiveDivide.js +3 -1
  79. package/src/core/model/reactive/model/arithmetic/ReactiveMultiply.js +1 -1
  80. package/src/core/model/reactive/model/arithmetic/ReactiveNegate.js +3 -1
  81. package/src/core/model/reactive/model/arithmetic/ReactiveSubtract.js +1 -1
  82. package/src/core/model/reactive/model/comparative/ReactiveEquals.js +1 -1
  83. package/src/core/model/reactive/model/comparative/ReactiveGreaterThan.js +3 -1
  84. package/src/core/model/reactive/model/comparative/ReactiveGreaterThanOrEqual.js +3 -1
  85. package/src/core/model/reactive/model/comparative/ReactiveLessThan.js +3 -1
  86. package/src/core/model/reactive/model/comparative/ReactiveLessThanOrEqual.js +3 -1
  87. package/src/core/model/reactive/model/comparative/ReactiveNotEquals.js +1 -1
  88. package/src/core/model/reactive/model/logic/ReactiveAnd.js +1 -1
  89. package/src/core/model/reactive/model/logic/ReactiveNot.js +3 -1
  90. package/src/core/model/reactive/model/logic/ReactiveOr.js +1 -1
  91. package/src/core/primitives/numbers/computeHashFloat.spec.js +7 -0
  92. package/src/core/process/task/util/iteratorTask.js +3 -1
  93. package/src/engine/animation/curve/AnimationCurve.js +34 -5
  94. package/src/engine/animation/curve/AnimationCurve.spec.js +100 -0
  95. package/src/engine/asset/AssetTransformer.js +1 -0
  96. package/src/engine/computeStridedIntegerArrayHash.js +4 -2
  97. package/src/engine/ecs/components/Renderable.d.ts +1 -1
  98. package/src/{ecs → engine/ecs}/grid/pick.js +4 -4
  99. package/src/engine/ecs/parent/entity_node_compute_bounding_box.js +1 -1
  100. package/src/engine/ecs/storage/binary/collection/BinaryCollectionSerializer.js +1 -18
  101. package/src/engine/ecs/systems/MotionSystem.js +7 -1
  102. package/src/engine/ecs/systems/SynchronizePositionSystem.js +8 -2
  103. package/src/engine/ecs/transform/Transform.js +1 -1
  104. package/src/engine/graphics/camera/makeScreenScissorFrustum.js +3 -3
  105. package/src/engine/graphics/camera/testClippingPlaneComputation.js +13 -13
  106. package/src/engine/graphics/ecs/camera/Camera.js +1 -1
  107. package/src/engine/graphics/ecs/mesh-v2/aggregate/SGMesh.js +1 -1
  108. package/src/engine/graphics/ecs/mesh-v2/aggregate/SGMeshSystem.js +9 -0
  109. package/src/engine/graphics/geometry/MikkT/MikkTSpace.js +1 -1
  110. package/src/engine/graphics/geometry/MikkT/STSpace.js +1 -1
  111. package/src/engine/graphics/geometry/bvh/buffered/BVHGeometryRaycaster.js +1 -1
  112. package/src/engine/graphics/material/optimization/MaterialOptimizationContext.js +1 -1
  113. package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.js +1 -1
  114. package/src/engine/graphics/particles/particular/engine/parameter/ParameterLookupTable.js +1 -0
  115. package/src/engine/graphics/particles/particular/engine/utils/volume/prototypeParticleVolume.js +1 -1
  116. package/src/engine/graphics/postprocess/threejs/postprocessing/TexturePass.js +2 -2
  117. package/src/engine/graphics/sh3/path_tracer/GeometryBVHBatched.js +2 -2
  118. package/src/engine/graphics/texture/sampler/Sampler2D.js +1 -1
  119. package/src/engine/graphics/texture/sampler/sampler2d_compute_texel_value_conversion_scale_to_uint8.js +1 -1
  120. package/src/engine/intelligence/behavior/Behavior.spec.js +15 -0
  121. package/src/engine/intelligence/mcts/MoveEdge.js +1 -1
  122. package/src/engine/reference/v1/ReferenceManager.js +3 -0
  123. package/src/engine/reference/v2/Reference.js +33 -37
  124. package/src/engine/sound/sopra/README.md +6 -0
  125. package/src/generation/automata/CaveGeneratorCellularAutomata.js +10 -7
  126. package/src/generation/automata/CaveGeneratorCellularAutomata.spec.js +12 -0
  127. package/src/generation/automata/CellularAutomata.js +5 -4
  128. package/src/generation/filtering/numeric/complex/CellFilterGaussianBlur.js +25 -9
  129. package/src/view/minimap/dom/MinimapCameraView.js +1 -1
  130. package/src/core/geom/Plane.js +0 -250
  131. package/src/core/land/reactive/ReactiveLexer.js +0 -158
  132. package/src/core/land/reactive/ReactiveLexer.ts +0 -181
  133. package/src/core/land/reactive/ReactiveListener.ts +0 -323
  134. package/src/core/land/reactive/ReactiveParser.js +0 -1573
  135. package/src/core/land/reactive/ReactiveParser.ts +0 -1776
  136. package/src/core/land/reactive/ReactiveVisitor.js +0 -1
  137. package/src/core/land/reactive/ReactiveVisitor.ts +0 -218
  138. package/src/core/land/reactive/compiler/ReactiveCompiler.js +0 -350
  139. package/src/core/land/reactive/compiler/ReactiveNearlyCompiler.js +0 -166
  140. package/src/core/land/reactive/compiler/ReactiveParser.js +0 -34
  141. package/src/core/land/reactive/nearley/ReactiveNearley.js +0 -187
  142. /package/src/{engine/graphics/ecs/mesh-v2 → core/geom/3d/vector}/allocate_v3.js +0 -0
@@ -1,181 +0,0 @@
1
- // Generated from app/src/lang/Reactive.g4 by ANTLR 4.6-SNAPSHOT
2
-
3
-
4
- import {ATN} from "antlr4ts/atn/ATN";
5
- import {ATNDeserializer} from "antlr4ts/atn/ATNDeserializer";
6
- import {CharStream} from "antlr4ts/CharStream";
7
- import {Lexer} from "antlr4ts/Lexer";
8
- import {LexerATNSimulator} from "antlr4ts/atn/LexerATNSimulator";
9
- import {Vocabulary} from "antlr4ts/Vocabulary";
10
- import {VocabularyImpl} from "antlr4ts/VocabularyImpl";
11
-
12
- import * as Utils from "antlr4ts/misc/Utils";
13
-
14
-
15
- export class ReactiveLexer extends Lexer {
16
- public static readonly T__0 = 1;
17
- public static readonly T__1 = 2;
18
- public static readonly T__2 = 3;
19
- public static readonly Identifier = 4;
20
- public static readonly NonzeroDigit = 5;
21
- public static readonly DigitSequence = 6;
22
- public static readonly FractionalConstant = 7;
23
- public static readonly ExponentPart = 8;
24
- public static readonly PLUS = 9;
25
- public static readonly MINUS = 10;
26
- public static readonly MULTIPLY = 11;
27
- public static readonly DIVIDE = 12;
28
- public static readonly NOT = 13;
29
- public static readonly GT = 14;
30
- public static readonly GTE = 15;
31
- public static readonly LT = 16;
32
- public static readonly LTE = 17;
33
- public static readonly EQUALS = 18;
34
- public static readonly NOT_EQUALS = 19;
35
- public static readonly AND = 20;
36
- public static readonly OR = 21;
37
- public static readonly DOT = 22;
38
- public static readonly OPEN_BRACKET = 23;
39
- public static readonly CLOSED_BRACKET = 24;
40
- public static readonly Whitespace = 25;
41
- // tslint:disable:no-trailing-whitespace
42
- public static readonly modeNames: string[] = [
43
- "DEFAULT_MODE",
44
- ];
45
-
46
- public static readonly ruleNames: string[] = [
47
- "T__0", "T__1", "T__2", "Identifier", "IdentifierNondigit", "Nondigit",
48
- "Digit", "NonzeroDigit", "DigitSequence", "FractionalConstant", "Sign",
49
- "ExponentPart", "PLUS", "MINUS", "MULTIPLY", "DIVIDE", "NOT", "GT", "GTE",
50
- "LT", "LTE", "EQUALS", "NOT_EQUALS", "AND", "OR", "DOT", "OPEN_BRACKET",
51
- "CLOSED_BRACKET", "Whitespace",
52
- ];
53
-
54
- private static readonly _LITERAL_NAMES: Array<string | undefined> = [
55
- undefined, "'0'", "'true'", "'false'", undefined, undefined, undefined,
56
- undefined, undefined, "'+'", "'-'", "'*'", "'/'", "'!'", "'>'", "'>='",
57
- "'<'", "'<='", "'=='", "'!='", "'&&'", "'||'", "'.'", "'('", "')'",
58
- ];
59
- private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [
60
- undefined, undefined, undefined, undefined, "Identifier", "NonzeroDigit",
61
- "DigitSequence", "FractionalConstant", "ExponentPart", "PLUS", "MINUS",
62
- "MULTIPLY", "DIVIDE", "NOT", "GT", "GTE", "LT", "LTE", "EQUALS", "NOT_EQUALS",
63
- "AND", "OR", "DOT", "OPEN_BRACKET", "CLOSED_BRACKET", "Whitespace",
64
- ];
65
- public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(ReactiveLexer._LITERAL_NAMES, ReactiveLexer._SYMBOLIC_NAMES, []);
66
-
67
- // @Override
68
- // @NotNull
69
- public get vocabulary(): Vocabulary {
70
- return ReactiveLexer.VOCABULARY;
71
- }
72
-
73
- // tslint:enable:no-trailing-whitespace
74
-
75
-
76
- constructor(input: CharStream) {
77
- super(input);
78
- this._interp = new LexerATNSimulator(ReactiveLexer._ATN, this);
79
- }
80
-
81
- // @Override
82
- public get grammarFileName(): string {
83
- return "Reactive.g4";
84
- }
85
-
86
- // @Override
87
- public get ruleNames(): string[] {
88
- return ReactiveLexer.ruleNames;
89
- }
90
-
91
- // @Override
92
- public get serializedATN(): string {
93
- return ReactiveLexer._serializedATN;
94
- }
95
-
96
- // @Override
97
- public get modeNames(): string[] {
98
- return ReactiveLexer.modeNames;
99
- }
100
-
101
- public static readonly _serializedATN: string =
102
- "\x03\uAF6F\u8320\u479D\uB75C\u4880\u1605\u191C\uAB37\x02\x1B\xA4\b\x01" +
103
- "\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06" +
104
- "\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r" +
105
- "\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t" +
106
- "\x12\x04\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17\t" +
107
- "\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x04\x1C\t" +
108
- "\x1C\x04\x1D\t\x1D\x04\x1E\t\x1E\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03" +
109
- "\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x05" +
110
- "\x03\x05\x03\x05\x07\x05N\n\x05\f\x05\x0E\x05Q\v\x05\x03\x06\x03\x06\x03" +
111
- "\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\n\x06\n\\\n\n\r\n\x0E\n]\x03" +
112
- "\v\x05\va\n\v\x03\v\x03\v\x03\v\x03\v\x03\v\x05\vh\n\v\x03\f\x03\f\x03" +
113
- "\r\x03\r\x05\rn\n\r\x03\r\x03\r\x03\r\x05\rs\n\r\x03\r\x05\rv\n\r\x03" +
114
- "\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x11\x03\x11\x03\x12\x03" +
115
- "\x12\x03\x13\x03\x13\x03\x14\x03\x14\x03\x14\x03\x15\x03\x15\x03\x16\x03" +
116
- "\x16\x03\x16\x03\x17\x03\x17\x03\x17\x03\x18\x03\x18\x03\x18\x03\x19\x03" +
117
- "\x19\x03\x19\x03\x1A\x03\x1A\x03\x1A\x03\x1B\x03\x1B\x03\x1C\x03\x1C\x03" +
118
- "\x1D\x03\x1D\x03\x1E\x06\x1E\x9F\n\x1E\r\x1E\x0E\x1E\xA0\x03\x1E\x03\x1E" +
119
- "\x02\x02\x02\x1F\x03\x02\x03\x05\x02\x04\x07\x02\x05\t\x02\x06\v\x02\x02" +
120
- "\r\x02\x02\x0F\x02\x02\x11\x02\x07\x13\x02\b\x15\x02\t\x17\x02\x02\x19" +
121
- "\x02\n\x1B\x02\v\x1D\x02\f\x1F\x02\r!\x02\x0E#\x02\x0F%\x02\x10\'\x02" +
122
- "\x11)\x02\x12+\x02\x13-\x02\x14/\x02\x151\x02\x163\x02\x175\x02\x187\x02" +
123
- "\x199\x02\x1A;\x02\x1B\x03\x02\x07\x05\x02C\\aac|\x03\x022;\x03\x023;" +
124
- "\x04\x02--//\x05\x02\v\f\x0E\x0F\"\"\xA8\x02\x03\x03\x02\x02\x02\x02\x05" +
125
- "\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\x11" +
126
- "\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x19" +
127
- "\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F" +
128
- "\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02" +
129
- "\x02\x02\x02\'\x03\x02\x02\x02\x02)\x03\x02\x02\x02\x02+\x03\x02\x02\x02" +
130
- "\x02-\x03\x02\x02\x02\x02/\x03\x02\x02\x02\x021\x03\x02\x02\x02\x023\x03" +
131
- "\x02\x02\x02\x025\x03\x02\x02\x02\x027\x03\x02\x02\x02\x029\x03\x02\x02" +
132
- "\x02\x02;\x03\x02\x02\x02\x03=\x03\x02\x02\x02\x05?\x03\x02\x02\x02\x07" +
133
- "D\x03\x02\x02\x02\tJ\x03\x02\x02\x02\vR\x03\x02\x02\x02\rT\x03\x02\x02" +
134
- "\x02\x0FV\x03\x02\x02\x02\x11X\x03\x02\x02\x02\x13[\x03\x02\x02\x02\x15" +
135
- "g\x03\x02\x02\x02\x17i\x03\x02\x02\x02\x19u\x03\x02\x02\x02\x1Bw\x03\x02" +
136
- "\x02\x02\x1Dy\x03\x02\x02\x02\x1F{\x03\x02\x02\x02!}\x03\x02\x02\x02#" +
137
- "\x7F\x03\x02\x02\x02%\x81\x03\x02\x02\x02\'\x83\x03\x02\x02\x02)\x86\x03" +
138
- "\x02\x02\x02+\x88\x03\x02\x02\x02-\x8B\x03\x02\x02\x02/\x8E\x03\x02\x02" +
139
- "\x021\x91\x03\x02\x02\x023\x94\x03\x02\x02\x025\x97\x03\x02\x02\x027\x99" +
140
- "\x03\x02\x02\x029\x9B\x03\x02\x02\x02;\x9E\x03\x02\x02\x02=>\x072\x02" +
141
- "\x02>\x04\x03\x02\x02\x02?@\x07v\x02\x02@A\x07t\x02\x02AB\x07w\x02\x02" +
142
- "BC\x07g\x02\x02C\x06\x03\x02\x02\x02DE\x07h\x02\x02EF\x07c\x02\x02FG\x07" +
143
- "n\x02\x02GH\x07u\x02\x02HI\x07g\x02\x02I\b\x03\x02\x02\x02JO\x05\r\x07" +
144
- "\x02KN\x05\r\x07\x02LN\x05\x0F\b\x02MK\x03\x02\x02\x02ML\x03\x02\x02\x02" +
145
- "NQ\x03\x02\x02\x02OM\x03\x02\x02\x02OP\x03\x02\x02\x02P\n\x03\x02\x02" +
146
- "\x02QO\x03\x02\x02\x02RS\x05\r\x07\x02S\f\x03\x02\x02\x02TU\t\x02\x02" +
147
- "\x02U\x0E\x03\x02\x02\x02VW\t\x03\x02\x02W\x10\x03\x02\x02\x02XY\t\x04" +
148
- "\x02\x02Y\x12\x03\x02\x02\x02Z\\\x05\x0F\b\x02[Z\x03\x02\x02\x02\\]\x03" +
149
- "\x02\x02\x02][\x03\x02\x02\x02]^\x03\x02\x02\x02^\x14\x03\x02\x02\x02" +
150
- "_a\x05\x13\n\x02`_\x03\x02\x02\x02`a\x03\x02\x02\x02ab\x03\x02\x02\x02" +
151
- "bc\x070\x02\x02ch\x05\x13\n\x02de\x05\x13\n\x02ef\x070\x02\x02fh\x03\x02" +
152
- "\x02\x02g`\x03\x02\x02\x02gd\x03\x02\x02\x02h\x16\x03\x02\x02\x02ij\t" +
153
- "\x05\x02\x02j\x18\x03\x02\x02\x02km\x07g\x02\x02ln\x05\x17\f\x02ml\x03" +
154
- "\x02\x02\x02mn\x03\x02\x02\x02no\x03\x02\x02\x02ov\x05\x13\n\x02pr\x07" +
155
- "G\x02\x02qs\x05\x17\f\x02rq\x03\x02\x02\x02rs\x03\x02\x02\x02st\x03\x02" +
156
- "\x02\x02tv\x05\x13\n\x02uk\x03\x02\x02\x02up\x03\x02\x02\x02v\x1A\x03" +
157
- "\x02\x02\x02wx\x07-\x02\x02x\x1C\x03\x02\x02\x02yz\x07/\x02\x02z\x1E\x03" +
158
- "\x02\x02\x02{|\x07,\x02\x02| \x03\x02\x02\x02}~\x071\x02\x02~\"\x03\x02" +
159
- "\x02\x02\x7F\x80\x07#\x02\x02\x80$\x03\x02\x02\x02\x81\x82\x07@\x02\x02" +
160
- "\x82&\x03\x02\x02\x02\x83\x84\x07@\x02\x02\x84\x85\x07?\x02\x02\x85(\x03" +
161
- "\x02\x02\x02\x86\x87\x07>\x02\x02\x87*\x03\x02\x02\x02\x88\x89\x07>\x02" +
162
- "\x02\x89\x8A\x07?\x02\x02\x8A,\x03\x02\x02\x02\x8B\x8C\x07?\x02\x02\x8C" +
163
- "\x8D\x07?\x02\x02\x8D.\x03\x02\x02\x02\x8E\x8F\x07#\x02\x02\x8F\x90\x07" +
164
- "?\x02\x02\x900\x03\x02\x02\x02\x91\x92\x07(\x02\x02\x92\x93\x07(\x02\x02" +
165
- "\x932\x03\x02\x02\x02\x94\x95\x07~\x02\x02\x95\x96\x07~\x02\x02\x964\x03" +
166
- "\x02\x02\x02\x97\x98\x070\x02\x02\x986\x03\x02\x02\x02\x99\x9A\x07*\x02" +
167
- "\x02\x9A8\x03\x02\x02\x02\x9B\x9C\x07+\x02\x02\x9C:\x03\x02\x02\x02\x9D" +
168
- "\x9F\t\x06\x02\x02\x9E\x9D\x03\x02\x02\x02\x9F\xA0\x03\x02\x02\x02\xA0" +
169
- "\x9E\x03\x02\x02\x02\xA0\xA1\x03\x02\x02\x02\xA1\xA2\x03\x02\x02\x02\xA2" +
170
- "\xA3\b\x1E\x02\x02\xA3<\x03\x02\x02\x02\f\x02MO]`gmru\xA0\x03\b\x02\x02";
171
- public static __ATN: ATN;
172
- public static get _ATN(): ATN {
173
- if (!ReactiveLexer.__ATN) {
174
- ReactiveLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(ReactiveLexer._serializedATN));
175
- }
176
-
177
- return ReactiveLexer.__ATN;
178
- }
179
-
180
- }
181
-
@@ -1,323 +0,0 @@
1
- // Generated from app/src/lang/Reactive.g4 by ANTLR 4.6-SNAPSHOT
2
-
3
-
4
- import {ParseTreeListener} from "antlr4ts/tree/ParseTreeListener";
5
-
6
- import {
7
- AtomicContext,
8
- AtomicExpressionContext,
9
- BinaryExpressionAddContext,
10
- BinaryExpressionAndContext,
11
- BinaryExpressionDivideContext,
12
- BinaryExpressionEqualContext,
13
- BinaryExpressionGreaterThanContext,
14
- BinaryExpressionGreaterThanOrEqualContext,
15
- BinaryExpressionLessThanContext,
16
- BinaryExpressionLessThanOrEqualContext,
17
- BinaryExpressionMultiplyContext,
18
- BinaryExpressionNotEqualContext,
19
- BinaryExpressionOrContext,
20
- BinaryExpressionSubtractContext,
21
- BooleanLiteralContext,
22
- ExpressionContext,
23
- FloatingLiteralContext,
24
- GroupExpressionContext,
25
- IntegerLiteralContext,
26
- LiteralContext,
27
- ReferenceContext,
28
- UnaryExpressionNegateContext,
29
- UnaryExpressionNotContext
30
- } from "./ReactiveParser";
31
-
32
-
33
- /**
34
- * This interface defines a complete listener for a parse tree produced by
35
- * `ReactiveParser`.
36
- */
37
- export interface ReactiveListener extends ParseTreeListener {
38
- /**
39
- * Enter a parse tree produced by the `BinaryExpressionDivide`
40
- * labeled alternative in `ReactiveParser.expression`.
41
- * @param ctx the parse tree
42
- */
43
- enterBinaryExpressionDivide?: (ctx: BinaryExpressionDivideContext) => void;
44
- /**
45
- * Exit a parse tree produced by the `BinaryExpressionDivide`
46
- * labeled alternative in `ReactiveParser.expression`.
47
- * @param ctx the parse tree
48
- */
49
- exitBinaryExpressionDivide?: (ctx: BinaryExpressionDivideContext) => void;
50
-
51
- /**
52
- * Enter a parse tree produced by the `UnaryExpressionNot`
53
- * labeled alternative in `ReactiveParser.expression`.
54
- * @param ctx the parse tree
55
- */
56
- enterUnaryExpressionNot?: (ctx: UnaryExpressionNotContext) => void;
57
- /**
58
- * Exit a parse tree produced by the `UnaryExpressionNot`
59
- * labeled alternative in `ReactiveParser.expression`.
60
- * @param ctx the parse tree
61
- */
62
- exitUnaryExpressionNot?: (ctx: UnaryExpressionNotContext) => void;
63
-
64
- /**
65
- * Enter a parse tree produced by the `BinaryExpressionLessThan`
66
- * labeled alternative in `ReactiveParser.expression`.
67
- * @param ctx the parse tree
68
- */
69
- enterBinaryExpressionLessThan?: (ctx: BinaryExpressionLessThanContext) => void;
70
- /**
71
- * Exit a parse tree produced by the `BinaryExpressionLessThan`
72
- * labeled alternative in `ReactiveParser.expression`.
73
- * @param ctx the parse tree
74
- */
75
- exitBinaryExpressionLessThan?: (ctx: BinaryExpressionLessThanContext) => void;
76
-
77
- /**
78
- * Enter a parse tree produced by the `BinaryExpressionAnd`
79
- * labeled alternative in `ReactiveParser.expression`.
80
- * @param ctx the parse tree
81
- */
82
- enterBinaryExpressionAnd?: (ctx: BinaryExpressionAndContext) => void;
83
- /**
84
- * Exit a parse tree produced by the `BinaryExpressionAnd`
85
- * labeled alternative in `ReactiveParser.expression`.
86
- * @param ctx the parse tree
87
- */
88
- exitBinaryExpressionAnd?: (ctx: BinaryExpressionAndContext) => void;
89
-
90
- /**
91
- * Enter a parse tree produced by the `Atomic`
92
- * labeled alternative in `ReactiveParser.expression`.
93
- * @param ctx the parse tree
94
- */
95
- enterAtomic?: (ctx: AtomicContext) => void;
96
- /**
97
- * Exit a parse tree produced by the `Atomic`
98
- * labeled alternative in `ReactiveParser.expression`.
99
- * @param ctx the parse tree
100
- */
101
- exitAtomic?: (ctx: AtomicContext) => void;
102
-
103
- /**
104
- * Enter a parse tree produced by the `BinaryExpressionGreaterThanOrEqual`
105
- * labeled alternative in `ReactiveParser.expression`.
106
- * @param ctx the parse tree
107
- */
108
- enterBinaryExpressionGreaterThanOrEqual?: (ctx: BinaryExpressionGreaterThanOrEqualContext) => void;
109
- /**
110
- * Exit a parse tree produced by the `BinaryExpressionGreaterThanOrEqual`
111
- * labeled alternative in `ReactiveParser.expression`.
112
- * @param ctx the parse tree
113
- */
114
- exitBinaryExpressionGreaterThanOrEqual?: (ctx: BinaryExpressionGreaterThanOrEqualContext) => void;
115
-
116
- /**
117
- * Enter a parse tree produced by the `BinaryExpressionOr`
118
- * labeled alternative in `ReactiveParser.expression`.
119
- * @param ctx the parse tree
120
- */
121
- enterBinaryExpressionOr?: (ctx: BinaryExpressionOrContext) => void;
122
- /**
123
- * Exit a parse tree produced by the `BinaryExpressionOr`
124
- * labeled alternative in `ReactiveParser.expression`.
125
- * @param ctx the parse tree
126
- */
127
- exitBinaryExpressionOr?: (ctx: BinaryExpressionOrContext) => void;
128
-
129
- /**
130
- * Enter a parse tree produced by the `GroupExpression`
131
- * labeled alternative in `ReactiveParser.expression`.
132
- * @param ctx the parse tree
133
- */
134
- enterGroupExpression?: (ctx: GroupExpressionContext) => void;
135
- /**
136
- * Exit a parse tree produced by the `GroupExpression`
137
- * labeled alternative in `ReactiveParser.expression`.
138
- * @param ctx the parse tree
139
- */
140
- exitGroupExpression?: (ctx: GroupExpressionContext) => void;
141
-
142
- /**
143
- * Enter a parse tree produced by the `BinaryExpressionSubtract`
144
- * labeled alternative in `ReactiveParser.expression`.
145
- * @param ctx the parse tree
146
- */
147
- enterBinaryExpressionSubtract?: (ctx: BinaryExpressionSubtractContext) => void;
148
- /**
149
- * Exit a parse tree produced by the `BinaryExpressionSubtract`
150
- * labeled alternative in `ReactiveParser.expression`.
151
- * @param ctx the parse tree
152
- */
153
- exitBinaryExpressionSubtract?: (ctx: BinaryExpressionSubtractContext) => void;
154
-
155
- /**
156
- * Enter a parse tree produced by the `BinaryExpressionGreaterThan`
157
- * labeled alternative in `ReactiveParser.expression`.
158
- * @param ctx the parse tree
159
- */
160
- enterBinaryExpressionGreaterThan?: (ctx: BinaryExpressionGreaterThanContext) => void;
161
- /**
162
- * Exit a parse tree produced by the `BinaryExpressionGreaterThan`
163
- * labeled alternative in `ReactiveParser.expression`.
164
- * @param ctx the parse tree
165
- */
166
- exitBinaryExpressionGreaterThan?: (ctx: BinaryExpressionGreaterThanContext) => void;
167
-
168
- /**
169
- * Enter a parse tree produced by the `BinaryExpressionNotEqual`
170
- * labeled alternative in `ReactiveParser.expression`.
171
- * @param ctx the parse tree
172
- */
173
- enterBinaryExpressionNotEqual?: (ctx: BinaryExpressionNotEqualContext) => void;
174
- /**
175
- * Exit a parse tree produced by the `BinaryExpressionNotEqual`
176
- * labeled alternative in `ReactiveParser.expression`.
177
- * @param ctx the parse tree
178
- */
179
- exitBinaryExpressionNotEqual?: (ctx: BinaryExpressionNotEqualContext) => void;
180
-
181
- /**
182
- * Enter a parse tree produced by the `UnaryExpressionNegate`
183
- * labeled alternative in `ReactiveParser.expression`.
184
- * @param ctx the parse tree
185
- */
186
- enterUnaryExpressionNegate?: (ctx: UnaryExpressionNegateContext) => void;
187
- /**
188
- * Exit a parse tree produced by the `UnaryExpressionNegate`
189
- * labeled alternative in `ReactiveParser.expression`.
190
- * @param ctx the parse tree
191
- */
192
- exitUnaryExpressionNegate?: (ctx: UnaryExpressionNegateContext) => void;
193
-
194
- /**
195
- * Enter a parse tree produced by the `BinaryExpressionEqual`
196
- * labeled alternative in `ReactiveParser.expression`.
197
- * @param ctx the parse tree
198
- */
199
- enterBinaryExpressionEqual?: (ctx: BinaryExpressionEqualContext) => void;
200
- /**
201
- * Exit a parse tree produced by the `BinaryExpressionEqual`
202
- * labeled alternative in `ReactiveParser.expression`.
203
- * @param ctx the parse tree
204
- */
205
- exitBinaryExpressionEqual?: (ctx: BinaryExpressionEqualContext) => void;
206
-
207
- /**
208
- * Enter a parse tree produced by the `BinaryExpressionMultiply`
209
- * labeled alternative in `ReactiveParser.expression`.
210
- * @param ctx the parse tree
211
- */
212
- enterBinaryExpressionMultiply?: (ctx: BinaryExpressionMultiplyContext) => void;
213
- /**
214
- * Exit a parse tree produced by the `BinaryExpressionMultiply`
215
- * labeled alternative in `ReactiveParser.expression`.
216
- * @param ctx the parse tree
217
- */
218
- exitBinaryExpressionMultiply?: (ctx: BinaryExpressionMultiplyContext) => void;
219
-
220
- /**
221
- * Enter a parse tree produced by the `BinaryExpressionLessThanOrEqual`
222
- * labeled alternative in `ReactiveParser.expression`.
223
- * @param ctx the parse tree
224
- */
225
- enterBinaryExpressionLessThanOrEqual?: (ctx: BinaryExpressionLessThanOrEqualContext) => void;
226
- /**
227
- * Exit a parse tree produced by the `BinaryExpressionLessThanOrEqual`
228
- * labeled alternative in `ReactiveParser.expression`.
229
- * @param ctx the parse tree
230
- */
231
- exitBinaryExpressionLessThanOrEqual?: (ctx: BinaryExpressionLessThanOrEqualContext) => void;
232
-
233
- /**
234
- * Enter a parse tree produced by the `BinaryExpressionAdd`
235
- * labeled alternative in `ReactiveParser.expression`.
236
- * @param ctx the parse tree
237
- */
238
- enterBinaryExpressionAdd?: (ctx: BinaryExpressionAddContext) => void;
239
- /**
240
- * Exit a parse tree produced by the `BinaryExpressionAdd`
241
- * labeled alternative in `ReactiveParser.expression`.
242
- * @param ctx the parse tree
243
- */
244
- exitBinaryExpressionAdd?: (ctx: BinaryExpressionAddContext) => void;
245
-
246
- /**
247
- * Enter a parse tree produced by `ReactiveParser.expression`.
248
- * @param ctx the parse tree
249
- */
250
- enterExpression?: (ctx: ExpressionContext) => void;
251
- /**
252
- * Exit a parse tree produced by `ReactiveParser.expression`.
253
- * @param ctx the parse tree
254
- */
255
- exitExpression?: (ctx: ExpressionContext) => void;
256
-
257
- /**
258
- * Enter a parse tree produced by `ReactiveParser.reference`.
259
- * @param ctx the parse tree
260
- */
261
- enterReference?: (ctx: ReferenceContext) => void;
262
- /**
263
- * Exit a parse tree produced by `ReactiveParser.reference`.
264
- * @param ctx the parse tree
265
- */
266
- exitReference?: (ctx: ReferenceContext) => void;
267
-
268
- /**
269
- * Enter a parse tree produced by `ReactiveParser.atomicExpression`.
270
- * @param ctx the parse tree
271
- */
272
- enterAtomicExpression?: (ctx: AtomicExpressionContext) => void;
273
- /**
274
- * Exit a parse tree produced by `ReactiveParser.atomicExpression`.
275
- * @param ctx the parse tree
276
- */
277
- exitAtomicExpression?: (ctx: AtomicExpressionContext) => void;
278
-
279
- /**
280
- * Enter a parse tree produced by `ReactiveParser.literal`.
281
- * @param ctx the parse tree
282
- */
283
- enterLiteral?: (ctx: LiteralContext) => void;
284
- /**
285
- * Exit a parse tree produced by `ReactiveParser.literal`.
286
- * @param ctx the parse tree
287
- */
288
- exitLiteral?: (ctx: LiteralContext) => void;
289
-
290
- /**
291
- * Enter a parse tree produced by `ReactiveParser.integerLiteral`.
292
- * @param ctx the parse tree
293
- */
294
- enterIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
295
- /**
296
- * Exit a parse tree produced by `ReactiveParser.integerLiteral`.
297
- * @param ctx the parse tree
298
- */
299
- exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
300
-
301
- /**
302
- * Enter a parse tree produced by `ReactiveParser.floatingLiteral`.
303
- * @param ctx the parse tree
304
- */
305
- enterFloatingLiteral?: (ctx: FloatingLiteralContext) => void;
306
- /**
307
- * Exit a parse tree produced by `ReactiveParser.floatingLiteral`.
308
- * @param ctx the parse tree
309
- */
310
- exitFloatingLiteral?: (ctx: FloatingLiteralContext) => void;
311
-
312
- /**
313
- * Enter a parse tree produced by `ReactiveParser.booleanLiteral`.
314
- * @param ctx the parse tree
315
- */
316
- enterBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
317
- /**
318
- * Exit a parse tree produced by `ReactiveParser.booleanLiteral`.
319
- * @param ctx the parse tree
320
- */
321
- exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
322
- }
323
-