@finos/legend-application-repl 0.0.36 → 0.0.37

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 (240) hide show
  1. package/README.md +1 -1
  2. package/lib/__lib__/LegendREPLEvent.d.ts +1 -1
  3. package/lib/__lib__/LegendREPLEvent.d.ts.map +1 -1
  4. package/lib/__lib__/LegendREPLEvent.js +5 -5
  5. package/lib/__lib__/LegendREPLEvent.js.map +1 -1
  6. package/lib/__lib__/LegendREPLSetting.d.ts +1 -1
  7. package/lib/__lib__/LegendREPLSetting.d.ts.map +1 -1
  8. package/lib/__lib__/LegendREPLSetting.js +4 -4
  9. package/lib/__lib__/LegendREPLSetting.js.map +1 -1
  10. package/lib/application/LegendREPL.d.ts +1 -1
  11. package/lib/application/LegendREPL.d.ts.map +1 -1
  12. package/lib/application/LegendREPL.js +2 -2
  13. package/lib/application/LegendREPL.js.map +1 -1
  14. package/lib/application/LegendREPLDocumentation.d.ts +21 -0
  15. package/lib/application/LegendREPLDocumentation.d.ts.map +1 -0
  16. package/lib/application/LegendREPLDocumentation.js +22 -0
  17. package/lib/application/LegendREPLDocumentation.js.map +1 -0
  18. package/lib/components/Core_LegendREPLApplicationPlugin.js +2 -2
  19. package/lib/components/Core_LegendREPLApplicationPlugin.js.map +1 -1
  20. package/lib/components/LegendREPLApplication.d.ts.map +1 -1
  21. package/lib/components/LegendREPLApplication.js +3 -2
  22. package/lib/components/LegendREPLApplication.js.map +1 -1
  23. package/lib/components/LegendREPLFrameworkProvider.d.ts.map +1 -1
  24. package/lib/components/LegendREPLFrameworkProvider.js +2 -2
  25. package/lib/components/LegendREPLFrameworkProvider.js.map +1 -1
  26. package/lib/components/REPLStoreProvider.d.ts +4 -2
  27. package/lib/components/REPLStoreProvider.d.ts.map +1 -1
  28. package/lib/components/REPLStoreProvider.js +13 -7
  29. package/lib/components/REPLStoreProvider.js.map +1 -1
  30. package/lib/components/dataCube/DataCube.d.ts.map +1 -1
  31. package/lib/components/dataCube/DataCube.js +31 -13
  32. package/lib/components/dataCube/DataCube.js.map +1 -1
  33. package/lib/components/dataCube/editor/DataCubeEditor.d.ts +1 -3
  34. package/lib/components/dataCube/editor/DataCubeEditor.d.ts.map +1 -1
  35. package/lib/components/dataCube/editor/DataCubeEditor.js +18 -20
  36. package/lib/components/dataCube/editor/DataCubeEditor.js.map +1 -1
  37. package/lib/components/dataCube/editor/DataCubeEditorCodePanel.js +12 -12
  38. package/lib/components/dataCube/editor/DataCubeEditorCodePanel.js.map +1 -1
  39. package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.d.ts.map +1 -1
  40. package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.js +45 -43
  41. package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.js.map +1 -1
  42. package/lib/components/dataCube/editor/DataCubeEditorColumnsPanel.js +4 -4
  43. package/lib/components/dataCube/editor/DataCubeEditorColumnsPanel.js.map +1 -1
  44. package/lib/components/dataCube/editor/DataCubeEditorExtendedColumnsPanel.js +4 -4
  45. package/lib/components/dataCube/editor/DataCubeEditorExtendedColumnsPanel.js.map +1 -1
  46. package/lib/components/dataCube/editor/DataCubeEditorFilterPanel.js +4 -4
  47. package/lib/components/dataCube/editor/DataCubeEditorFilterPanel.js.map +1 -1
  48. package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.d.ts.map +1 -1
  49. package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.js +22 -22
  50. package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.js.map +1 -1
  51. package/lib/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.js +4 -4
  52. package/lib/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.js.map +1 -1
  53. package/lib/components/dataCube/editor/DataCubeEditorSortsPanel.js +5 -5
  54. package/lib/components/dataCube/editor/DataCubeEditorSortsPanel.js.map +1 -1
  55. package/lib/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.js +2 -2
  56. package/lib/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.js.map +1 -1
  57. package/lib/components/dataCube/grid/DataCubeGrid.d.ts.map +1 -1
  58. package/lib/components/dataCube/grid/DataCubeGrid.js +37 -45
  59. package/lib/components/dataCube/grid/DataCubeGrid.js.map +1 -1
  60. package/lib/components/dataCube/grid/DataCubeGridShared.js +2 -2
  61. package/lib/components/dataCube/grid/DataCubeGridShared.js.map +1 -1
  62. package/lib/components/repl/Alert.d.ts +23 -0
  63. package/lib/components/repl/Alert.d.ts.map +1 -0
  64. package/lib/components/repl/Alert.js +73 -0
  65. package/lib/components/repl/Alert.js.map +1 -0
  66. package/lib/components/repl/DocumentationPanel.d.ts +24 -0
  67. package/lib/components/repl/DocumentationPanel.d.ts.map +1 -0
  68. package/lib/components/repl/DocumentationPanel.js +56 -0
  69. package/lib/components/repl/DocumentationPanel.js.map +1 -0
  70. package/lib/components/{dataCube/editor/DataCubeEditorShared.d.ts → repl/Form.d.ts} +11 -11
  71. package/lib/components/repl/Form.d.ts.map +1 -0
  72. package/lib/components/{dataCube/editor/DataCubeEditorShared.js → repl/Form.js} +13 -13
  73. package/lib/components/repl/Form.js.map +1 -0
  74. package/lib/components/{REPLWindow.d.ts → repl/LayoutManager.d.ts} +11 -17
  75. package/lib/components/repl/LayoutManager.d.ts.map +1 -0
  76. package/lib/components/repl/LayoutManager.js +116 -0
  77. package/lib/components/repl/LayoutManager.js.map +1 -0
  78. package/lib/components/{dataCube/editor/DataCubeEditorDeveloperPanel.d.ts → repl/SettingsPanel.d.ts} +2 -2
  79. package/lib/components/repl/SettingsPanel.d.ts.map +1 -0
  80. package/lib/components/repl/SettingsPanel.js +47 -0
  81. package/lib/components/repl/SettingsPanel.js.map +1 -0
  82. package/lib/index.css +1 -1
  83. package/lib/package.json +18 -21
  84. package/lib/server/DataCubeQuery.d.ts.map +1 -0
  85. package/lib/server/{models/DataCubeQuery.js → DataCubeQuery.js} +6 -6
  86. package/lib/server/DataCubeQuery.js.map +1 -0
  87. package/lib/server/{models/DataCubeEngineModels.d.ts → REPLEngine.d.ts} +7 -1
  88. package/lib/server/REPLEngine.d.ts.map +1 -0
  89. package/lib/server/{models/DataCubeEngineModels.js → REPLEngine.js} +9 -1
  90. package/lib/server/REPLEngine.js.map +1 -0
  91. package/lib/server/REPLServerClient.d.ts +2 -2
  92. package/lib/server/REPLServerClient.d.ts.map +1 -1
  93. package/lib/server/REPLServerClient.js +2 -2
  94. package/lib/server/REPLServerClient.js.map +1 -1
  95. package/lib/stores/LayoutManagerState.d.ts +62 -0
  96. package/lib/stores/LayoutManagerState.d.ts.map +1 -0
  97. package/lib/stores/LayoutManagerState.js +121 -0
  98. package/lib/stores/LayoutManagerState.js.map +1 -0
  99. package/lib/stores/LegendREPLApplicationPlugin.d.ts +1 -0
  100. package/lib/stores/LegendREPLApplicationPlugin.d.ts.map +1 -1
  101. package/lib/stores/LegendREPLApplicationPlugin.js +8 -0
  102. package/lib/stores/LegendREPLApplicationPlugin.js.map +1 -1
  103. package/lib/stores/LegendREPLBaseStore.d.ts +2 -2
  104. package/lib/stores/LegendREPLBaseStore.d.ts.map +1 -1
  105. package/lib/stores/LegendREPLBaseStore.js +4 -4
  106. package/lib/stores/LegendREPLBaseStore.js.map +1 -1
  107. package/lib/stores/REPLStore.d.ts +12 -4
  108. package/lib/stores/REPLStore.d.ts.map +1 -1
  109. package/lib/stores/REPLStore.js +77 -25
  110. package/lib/stores/REPLStore.js.map +1 -1
  111. package/lib/stores/dataCube/{DataCubeInfrastructure.d.ts → DataCubeEngine.d.ts} +21 -21
  112. package/lib/stores/dataCube/DataCubeEngine.d.ts.map +1 -0
  113. package/lib/stores/dataCube/{DataCubeInfrastructure.js → DataCubeEngine.js} +50 -35
  114. package/lib/stores/dataCube/DataCubeEngine.js.map +1 -0
  115. package/lib/stores/dataCube/DataCubeState.d.ts +4 -4
  116. package/lib/stores/dataCube/DataCubeState.d.ts.map +1 -1
  117. package/lib/stores/dataCube/DataCubeState.js +13 -8
  118. package/lib/stores/dataCube/DataCubeState.js.map +1 -1
  119. package/lib/stores/dataCube/core/DataCubeCoreState.d.ts +1 -1
  120. package/lib/stores/dataCube/core/DataCubeCoreState.d.ts.map +1 -1
  121. package/lib/stores/dataCube/core/DataCubeQueryEngine.d.ts +2 -2
  122. package/lib/stores/dataCube/core/DataCubeQueryEngine.d.ts.map +1 -1
  123. package/lib/stores/dataCube/core/DataCubeQueryEngine.js +2 -2
  124. package/lib/stores/dataCube/core/DataCubeQueryEngine.js.map +1 -1
  125. package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilder.d.ts +1 -1
  126. package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilder.d.ts.map +1 -1
  127. package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.d.ts +1 -1
  128. package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.d.ts.map +1 -1
  129. package/lib/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.d.ts.map +1 -1
  130. package/lib/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.js +4 -0
  131. package/lib/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.js.map +1 -1
  132. package/lib/stores/dataCube/editor/DataCubeEditorCodePanelState.js +1 -1
  133. package/lib/stores/dataCube/editor/DataCubeEditorCodePanelState.js.map +1 -1
  134. package/lib/stores/dataCube/editor/DataCubeEditorState.d.ts +5 -8
  135. package/lib/stores/dataCube/editor/DataCubeEditorState.d.ts.map +1 -1
  136. package/lib/stores/dataCube/editor/DataCubeEditorState.js +19 -29
  137. package/lib/stores/dataCube/editor/DataCubeEditorState.js.map +1 -1
  138. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.d.ts +1 -1
  139. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.d.ts.map +1 -1
  140. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.js +31 -28
  141. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.js.map +1 -1
  142. package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.d.ts.map +1 -1
  143. package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.js +7 -2
  144. package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.js.map +1 -1
  145. package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.d.ts.map +1 -1
  146. package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.js +9 -8
  147. package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.js.map +1 -1
  148. package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.d.ts.map +1 -1
  149. package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.js +2 -6
  150. package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.js.map +1 -1
  151. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.d.ts.map +1 -1
  152. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.js +0 -2
  153. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.js.map +1 -1
  154. package/lib/stores/dataCube/grid/DataCubeGridState.d.ts +0 -2
  155. package/lib/stores/dataCube/grid/DataCubeGridState.d.ts.map +1 -1
  156. package/lib/stores/dataCube/grid/DataCubeGridState.js +1 -7
  157. package/lib/stores/dataCube/grid/DataCubeGridState.js.map +1 -1
  158. package/package.json +24 -27
  159. package/src/__lib__/LegendREPLEvent.ts +1 -1
  160. package/src/__lib__/LegendREPLSetting.ts +1 -1
  161. package/src/application/LegendREPL.tsx +2 -2
  162. package/{lib/grammar/parser.d.ts → src/application/LegendREPLDocumentation.ts} +6 -1
  163. package/src/components/Core_LegendREPLApplicationPlugin.tsx +2 -2
  164. package/src/components/LegendREPLApplication.tsx +2 -0
  165. package/src/components/LegendREPLFrameworkProvider.tsx +2 -4
  166. package/src/components/REPLStoreProvider.tsx +24 -18
  167. package/src/components/dataCube/DataCube.tsx +69 -26
  168. package/src/components/dataCube/editor/DataCubeEditor.tsx +89 -98
  169. package/src/components/dataCube/editor/DataCubeEditorCodePanel.tsx +12 -12
  170. package/src/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.tsx +112 -115
  171. package/src/components/dataCube/editor/DataCubeEditorColumnsPanel.tsx +4 -4
  172. package/src/components/dataCube/editor/DataCubeEditorExtendedColumnsPanel.tsx +4 -4
  173. package/src/components/dataCube/editor/DataCubeEditorFilterPanel.tsx +4 -4
  174. package/src/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.tsx +76 -88
  175. package/src/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.tsx +4 -4
  176. package/src/components/dataCube/editor/DataCubeEditorSortsPanel.tsx +5 -5
  177. package/src/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.tsx +2 -2
  178. package/src/components/dataCube/grid/DataCubeGrid.tsx +45 -53
  179. package/src/components/dataCube/grid/DataCubeGridShared.tsx +2 -2
  180. package/src/components/repl/Alert.tsx +138 -0
  181. package/src/components/repl/DocumentationPanel.tsx +88 -0
  182. package/src/components/{dataCube/editor/DataCubeEditorShared.tsx → repl/Form.tsx} +12 -12
  183. package/src/components/repl/LayoutManager.tsx +190 -0
  184. package/src/components/repl/SettingsPanel.tsx +148 -0
  185. package/src/server/{models/DataCubeQuery.ts → DataCubeQuery.ts} +3 -3
  186. package/src/server/{models/DataCubeEngineModels.ts → REPLEngine.ts} +13 -0
  187. package/src/server/REPLServerClient.ts +4 -3
  188. package/src/stores/LayoutManagerState.ts +168 -0
  189. package/src/stores/LegendREPLApplicationPlugin.ts +9 -0
  190. package/src/stores/LegendREPLBaseStore.ts +4 -4
  191. package/src/stores/REPLStore.tsx +145 -0
  192. package/src/stores/dataCube/{DataCubeInfrastructure.ts → DataCubeEngine.ts} +66 -46
  193. package/src/stores/dataCube/DataCubeState.ts +14 -9
  194. package/src/stores/dataCube/core/DataCubeCoreState.ts +1 -1
  195. package/src/stores/dataCube/core/DataCubeQueryEngine.ts +2 -3
  196. package/src/stores/dataCube/core/DataCubeQuerySnapshotBuilder.ts +1 -1
  197. package/src/stores/dataCube/core/DataCubeQuerySnapshotManager.ts +1 -1
  198. package/src/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.ts +10 -0
  199. package/src/stores/dataCube/editor/DataCubeEditorCodePanelState.ts +1 -1
  200. package/src/stores/dataCube/editor/{DataCubeEditorState.ts → DataCubeEditorState.tsx} +12 -24
  201. package/src/stores/dataCube/grid/DataCubeGridClientEngine.ts +23 -12
  202. package/src/stores/dataCube/grid/DataCubeGridClientExportEngine.ts +4 -1
  203. package/src/stores/dataCube/grid/DataCubeGridConfigurationBuilder.tsx +9 -11
  204. package/src/stores/dataCube/grid/DataCubeGridMenuBuilder.tsx +2 -6
  205. package/src/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.ts +0 -3
  206. package/src/stores/dataCube/grid/DataCubeGridState.ts +1 -11
  207. package/tsconfig.json +12 -8
  208. package/grammar/datacube_filter__lexer.g4 +0 -40
  209. package/grammar/datacube_filter__parser.g4 +0 -14
  210. package/grammar/generateGrammar.js +0 -43
  211. package/grammar/parser/generated/datacube_filter__lexer.interp +0 -59
  212. package/grammar/parser/generated/datacube_filter__lexer.tokens +0 -14
  213. package/grammar/parser/generated/datacube_filter__lexer.ts +0 -142
  214. package/grammar/parser/generated/datacube_filter__parser.interp +0 -38
  215. package/grammar/parser/generated/datacube_filter__parser.tokens +0 -14
  216. package/grammar/parser/generated/datacube_filter__parser.ts +0 -514
  217. package/grammar/parser/parser.ts +0 -55
  218. package/lib/components/REPLWindow.d.ts.map +0 -1
  219. package/lib/components/REPLWindow.js +0 -117
  220. package/lib/components/REPLWindow.js.map +0 -1
  221. package/lib/components/dataCube/editor/DataCubeEditorDeveloperPanel.d.ts.map +0 -1
  222. package/lib/components/dataCube/editor/DataCubeEditorDeveloperPanel.js +0 -28
  223. package/lib/components/dataCube/editor/DataCubeEditorDeveloperPanel.js.map +0 -1
  224. package/lib/components/dataCube/editor/DataCubeEditorShared.d.ts.map +0 -1
  225. package/lib/components/dataCube/editor/DataCubeEditorShared.js.map +0 -1
  226. package/lib/grammar/generated/datacube_filter__lexer.d.ts +0 -31
  227. package/lib/grammar/generated/datacube_filter__lexer.js +0 -118
  228. package/lib/grammar/generated/datacube_filter__parser.d.ts +0 -91
  229. package/lib/grammar/generated/datacube_filter__parser.js +0 -485
  230. package/lib/grammar/parser.js +0 -39
  231. package/lib/server/models/DataCubeEngineModels.d.ts.map +0 -1
  232. package/lib/server/models/DataCubeEngineModels.js.map +0 -1
  233. package/lib/server/models/DataCubeQuery.d.ts.map +0 -1
  234. package/lib/server/models/DataCubeQuery.js.map +0 -1
  235. package/lib/stores/dataCube/DataCubeInfrastructure.d.ts.map +0 -1
  236. package/lib/stores/dataCube/DataCubeInfrastructure.js.map +0 -1
  237. package/src/components/REPLWindow.tsx +0 -179
  238. package/src/components/dataCube/editor/DataCubeEditorDeveloperPanel.tsx +0 -43
  239. package/src/stores/REPLStore.ts +0 -48
  240. /package/lib/server/{models/DataCubeQuery.d.ts → DataCubeQuery.d.ts} +0 -0
@@ -523,12 +523,8 @@ export function generateMenuBuilder(
523
523
  'separator',
524
524
  {
525
525
  name: 'Properties...',
526
- disabled: editor.isPanelOpen,
527
- action: () => {
528
- if (!editor.isPanelOpen) {
529
- editor.openPanel();
530
- }
531
- },
526
+ disabled: editor.display.isOpen,
527
+ action: () => editor.display.open(),
532
528
  },
533
529
  ];
534
530
  };
@@ -69,9 +69,6 @@ export function buildQuerySnapshot(
69
69
  ): DataCubeQuerySnapshot {
70
70
  const snapshot = baseSnapshot.clone();
71
71
 
72
- // --------------------------------- SELECT ---------------------------------
73
- // TODO: @akphi - Implement this
74
-
75
72
  // --------------------------------- GROUP BY ---------------------------------
76
73
 
77
74
  if (request.rowGroupCols.length) {
@@ -48,7 +48,6 @@ export class DataCubeGridState extends DataCubeQuerySnapshotSubscriber {
48
48
  private _client?: GridApi | undefined;
49
49
 
50
50
  clientDataSource: DataCubeGridClientServerSideDataSource;
51
- clientLicenseKey?: string | undefined;
52
51
 
53
52
  isPaginationEnabled = false;
54
53
  scrollHintText?: string | undefined;
@@ -63,9 +62,6 @@ export class DataCubeGridState extends DataCubeQuerySnapshotSubscriber {
63
62
  datasourceConfiguration: observable,
64
63
  queryConfiguration: observable,
65
64
 
66
- clientLicenseKey: observable,
67
- setClientLicenseKey: action,
68
-
69
65
  isPaginationEnabled: observable,
70
66
  setPaginationEnabled: action,
71
67
 
@@ -80,10 +76,6 @@ export class DataCubeGridState extends DataCubeQuerySnapshotSubscriber {
80
76
  this.clientDataSource = new DataCubeGridClientServerSideDataSource(this);
81
77
  }
82
78
 
83
- setClientLicenseKey(val: string): void {
84
- this.clientLicenseKey = val;
85
- }
86
-
87
79
  setPaginationEnabled(val: boolean): void {
88
80
  this.isPaginationEnabled = val;
89
81
 
@@ -142,8 +134,6 @@ export class DataCubeGridState extends DataCubeQuerySnapshotSubscriber {
142
134
  }
143
135
 
144
136
  override async initialize(): Promise<void> {
145
- this.setClientLicenseKey(
146
- await this.dataCube.replStore.client.getGridClientLicenseKey(),
147
- );
137
+ // do nothing
148
138
  }
149
139
  }
package/tsconfig.json CHANGED
@@ -51,14 +51,15 @@
51
51
  "./src/__lib__/LegendREPLEvent.ts",
52
52
  "./src/__lib__/LegendREPLSetting.ts",
53
53
  "./src/application/LegendREPLApplicationConfig.ts",
54
+ "./src/application/LegendREPLDocumentation.ts",
54
55
  "./src/application/LegendREPLPluginManager.ts",
56
+ "./src/server/DataCubeQuery.ts",
57
+ "./src/server/REPLEngine.ts",
55
58
  "./src/server/REPLServerClient.ts",
56
- "./src/server/models/DataCubeEngineModels.ts",
57
- "./src/server/models/DataCubeQuery.ts",
59
+ "./src/stores/LayoutManagerState.ts",
58
60
  "./src/stores/LegendREPLApplicationPlugin.ts",
59
61
  "./src/stores/LegendREPLBaseStore.ts",
60
- "./src/stores/REPLStore.ts",
61
- "./src/stores/dataCube/DataCubeInfrastructure.ts",
62
+ "./src/stores/dataCube/DataCubeEngine.ts",
62
63
  "./src/stores/dataCube/DataCubeState.ts",
63
64
  "./src/stores/dataCube/core/DataCubeConfiguration.ts",
64
65
  "./src/stores/dataCube/core/DataCubeConfigurationBuilder.ts",
@@ -76,7 +77,6 @@
76
77
  "./src/stores/dataCube/editor/DataCubeEditorGeneralPropertiesPanelState.ts",
77
78
  "./src/stores/dataCube/editor/DataCubeEditorPanelState.ts",
78
79
  "./src/stores/dataCube/editor/DataCubeEditorSortsPanelState.ts",
79
- "./src/stores/dataCube/editor/DataCubeEditorState.ts",
80
80
  "./src/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.ts",
81
81
  "./src/stores/dataCube/editor/DataCubeMutableConfiguration.ts",
82
82
  "./src/stores/dataCube/grid/DataCubeGridClientEngine.ts",
@@ -91,23 +91,27 @@
91
91
  "./src/components/LegendREPLApplication.tsx",
92
92
  "./src/components/LegendREPLFrameworkProvider.tsx",
93
93
  "./src/components/REPLStoreProvider.tsx",
94
- "./src/components/REPLWindow.tsx",
95
94
  "./src/components/dataCube/DataCube.tsx",
96
95
  "./src/components/dataCube/editor/DataCubeEditor.tsx",
97
96
  "./src/components/dataCube/editor/DataCubeEditorCodePanel.tsx",
98
97
  "./src/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.tsx",
99
98
  "./src/components/dataCube/editor/DataCubeEditorColumnsPanel.tsx",
100
99
  "./src/components/dataCube/editor/DataCubeEditorColumnsSelector.tsx",
101
- "./src/components/dataCube/editor/DataCubeEditorDeveloperPanel.tsx",
102
100
  "./src/components/dataCube/editor/DataCubeEditorExtendedColumnsPanel.tsx",
103
101
  "./src/components/dataCube/editor/DataCubeEditorFilterPanel.tsx",
104
102
  "./src/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.tsx",
105
103
  "./src/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.tsx",
106
- "./src/components/dataCube/editor/DataCubeEditorShared.tsx",
107
104
  "./src/components/dataCube/editor/DataCubeEditorSortsPanel.tsx",
108
105
  "./src/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.tsx",
109
106
  "./src/components/dataCube/grid/DataCubeGrid.tsx",
110
107
  "./src/components/dataCube/grid/DataCubeGridShared.tsx",
108
+ "./src/components/repl/Alert.tsx",
109
+ "./src/components/repl/DocumentationPanel.tsx",
110
+ "./src/components/repl/Form.tsx",
111
+ "./src/components/repl/LayoutManager.tsx",
112
+ "./src/components/repl/SettingsPanel.tsx",
113
+ "./src/stores/REPLStore.tsx",
114
+ "./src/stores/dataCube/editor/DataCubeEditorState.tsx",
111
115
  "./src/stores/dataCube/grid/DataCubeGridConfigurationBuilder.tsx",
112
116
  "./src/stores/dataCube/grid/DataCubeGridMenuBuilder.tsx"
113
117
  ],
@@ -1,40 +0,0 @@
1
- lexer grammar datacube_filter__lexer;
2
-
3
- fragment Whitespace: [ \r\t\n]+;
4
- fragment Identifier: Letter (Letter | Digit | ' ')* (Letter | Digit);
5
- fragment Letter: [A-Za-z];
6
- fragment Digit: [0-9];
7
- fragment HexDigit: [0-9a-fA-F];
8
- fragment UnicodeEsc:
9
- 'u' (HexDigit (HexDigit (HexDigit HexDigit?)?)?)?;
10
- fragment Esc: '\\';
11
- fragment StringEscSeq:
12
- Esc (
13
- [btnfr"'\\] // The standard escaped character set such as tab, newline, etc.
14
- | UnicodeEsc // A Unicode escape sequence
15
- | . // Invalid escape character
16
- | EOF // Incomplete at EOF
17
- );
18
- fragment String: ('"' ( StringEscSeq | ~["\r\n\\])* '"');
19
- fragment Number: ((Digit)* '.' (Digit)+ | (Digit)+) (
20
- ('e' | 'E') ('+' | '-')? (Digit)+
21
- )?;
22
- fragment ColumnEscSeq:
23
- Esc (
24
- [btnfr[\]\\] // The standard escaped character set such as tab, newline, etc.
25
- | UnicodeEsc // A Unicode escape sequence
26
- | . // Invalid escape character
27
- | EOF // Incomplete at EOF
28
- );
29
- fragment Column: ('[' ( StringEscSeq | ~[[\]\r\n\\])* ']');
30
-
31
- OPERATOR: '==' | '!=' | '<>' | '>' | '<' | '>=' | '<=';
32
- GROUP_OPERATOR_AND: '&&';
33
- GROUP_OPERATOR_OR: '||';
34
- GROUP_OPEN: '(';
35
- GROUP_CLOSE: ')';
36
- NUMBER: Number;
37
- STRING: String;
38
- COLUMN: Column;
39
- IDENTIFIER: Identifier;
40
- WHITESPACE: [ \t\r\n]+ -> skip;
@@ -1,14 +0,0 @@
1
- parser grammar datacube_filter__parser;
2
- options {
3
- tokenVocab = datacube_filter__lexer;
4
- }
5
-
6
- filter: (groupCondition | group) EOF;
7
- condition: column (OPERATOR | IDENTIFIER) (value)?;
8
- column: COLUMN;
9
- value: STRING | NUMBER;
10
- group: GROUP_OPEN groupCondition GROUP_CLOSE;
11
- groupOperator: GROUP_OPERATOR_AND | GROUP_OPERATOR_OR;
12
- groupCondition: (condition | group) (
13
- groupOperator (condition | group)
14
- )*;
@@ -1,43 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- import { execSync } from 'child_process';
18
- import { dirname, resolve } from 'path';
19
- import { fileURLToPath } from 'url';
20
- import { rimrafSync } from 'rimraf';
21
- import { mkdirSync } from 'fs';
22
-
23
- const __dirname = dirname(fileURLToPath(import.meta.url));
24
-
25
- const ANTLR_VERSION = '4.13.1';
26
-
27
- // Download the ANTLR jar to generate grammars
28
- // See https://github.com/antlr/antlr4/blob/master/doc/getting-started.md#unix
29
- execSync(
30
- `curl -o build/antlr.jar https://www.antlr.org/download/antlr-${ANTLR_VERSION}-complete.jar`,
31
- );
32
-
33
- // Flush the content of the current generated content directory
34
- rimrafSync(resolve(__dirname, 'parser/generated'));
35
- mkdirSync(resolve(__dirname, 'parser/generated'));
36
-
37
- // ANTLR generation targeting Typescript
38
- // See https://github.com/antlr/antlr4/blob/master/doc/typescript-target.md
39
- ['datacube_filter__lexer.g4', 'datacube_filter__parser.g4'].forEach((file) => {
40
- execSync(
41
- `java -jar ${resolve(__dirname, '../build/antlr.jar')} -Dlanguage=TypeScript -no-listener ${resolve(__dirname, file)} -o ${resolve(__dirname, 'parser/generated')}`,
42
- );
43
- });
@@ -1,59 +0,0 @@
1
- token literal names:
2
- null
3
- null
4
- '&&'
5
- '||'
6
- '('
7
- ')'
8
- null
9
- null
10
- null
11
- null
12
- null
13
-
14
- token symbolic names:
15
- null
16
- OPERATOR
17
- GROUP_OPERATOR_AND
18
- GROUP_OPERATOR_OR
19
- GROUP_OPEN
20
- GROUP_CLOSE
21
- NUMBER
22
- STRING
23
- COLUMN
24
- IDENTIFIER
25
- WHITESPACE
26
-
27
- rule names:
28
- Whitespace
29
- Identifier
30
- Letter
31
- Digit
32
- HexDigit
33
- UnicodeEsc
34
- Esc
35
- StringEscSeq
36
- String
37
- Number
38
- ColumnEscSeq
39
- Column
40
- OPERATOR
41
- GROUP_OPERATOR_AND
42
- GROUP_OPERATOR_OR
43
- GROUP_OPEN
44
- GROUP_CLOSE
45
- NUMBER
46
- STRING
47
- COLUMN
48
- IDENTIFIER
49
- WHITESPACE
50
-
51
- channel names:
52
- DEFAULT_TOKEN_CHANNEL
53
- HIDDEN
54
-
55
- mode names:
56
- DEFAULT_MODE
57
-
58
- atn:
59
- [4, 0, 10, 186, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 1, 0, 4, 0, 47, 8, 0, 11, 0, 12, 0, 48, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 55, 8, 1, 10, 1, 12, 1, 58, 9, 1, 1, 1, 1, 1, 3, 1, 62, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 75, 8, 5, 3, 5, 77, 8, 5, 3, 5, 79, 8, 5, 3, 5, 81, 8, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 90, 8, 7, 1, 8, 1, 8, 1, 8, 5, 8, 95, 8, 8, 10, 8, 12, 8, 98, 9, 8, 1, 8, 1, 8, 1, 9, 5, 9, 103, 8, 9, 10, 9, 12, 9, 106, 9, 9, 1, 9, 1, 9, 4, 9, 110, 8, 9, 11, 9, 12, 9, 111, 1, 9, 4, 9, 115, 8, 9, 11, 9, 12, 9, 116, 3, 9, 119, 8, 9, 1, 9, 1, 9, 3, 9, 123, 8, 9, 1, 9, 4, 9, 126, 8, 9, 11, 9, 12, 9, 127, 3, 9, 130, 8, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 137, 8, 10, 1, 11, 1, 11, 1, 11, 5, 11, 142, 8, 11, 10, 11, 12, 11, 145, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 160, 8, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 21, 4, 21, 181, 8, 21, 11, 21, 12, 21, 182, 1, 21, 1, 21, 0, 0, 22, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 0, 15, 0, 17, 0, 19, 0, 21, 0, 23, 0, 25, 1, 27, 2, 29, 3, 31, 4, 33, 5, 35, 6, 37, 7, 39, 8, 41, 9, 43, 10, 1, 0, 11, 3, 0, 9, 10, 13, 13, 32, 32, 2, 0, 65, 90, 97, 122, 1, 0, 48, 57, 3, 0, 48, 57, 65, 70, 97, 102, 8, 0, 34, 34, 39, 39, 92, 92, 98, 98, 102, 102, 110, 110, 114, 114, 116, 116, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 2, 0, 69, 69, 101, 101, 2, 0, 43, 43, 45, 45, 6, 0, 91, 93, 98, 98, 102, 102, 110, 110, 114, 114, 116, 116, 3, 0, 10, 10, 13, 13, 91, 93, 2, 0, 60, 60, 62, 62, 205, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 1, 46, 1, 0, 0, 0, 3, 50, 1, 0, 0, 0, 5, 63, 1, 0, 0, 0, 7, 65, 1, 0, 0, 0, 9, 67, 1, 0, 0, 0, 11, 69, 1, 0, 0, 0, 13, 82, 1, 0, 0, 0, 15, 84, 1, 0, 0, 0, 17, 91, 1, 0, 0, 0, 19, 118, 1, 0, 0, 0, 21, 131, 1, 0, 0, 0, 23, 138, 1, 0, 0, 0, 25, 159, 1, 0, 0, 0, 27, 161, 1, 0, 0, 0, 29, 164, 1, 0, 0, 0, 31, 167, 1, 0, 0, 0, 33, 169, 1, 0, 0, 0, 35, 171, 1, 0, 0, 0, 37, 173, 1, 0, 0, 0, 39, 175, 1, 0, 0, 0, 41, 177, 1, 0, 0, 0, 43, 180, 1, 0, 0, 0, 45, 47, 7, 0, 0, 0, 46, 45, 1, 0, 0, 0, 47, 48, 1, 0, 0, 0, 48, 46, 1, 0, 0, 0, 48, 49, 1, 0, 0, 0, 49, 2, 1, 0, 0, 0, 50, 56, 3, 5, 2, 0, 51, 55, 3, 5, 2, 0, 52, 55, 3, 7, 3, 0, 53, 55, 5, 32, 0, 0, 54, 51, 1, 0, 0, 0, 54, 52, 1, 0, 0, 0, 54, 53, 1, 0, 0, 0, 55, 58, 1, 0, 0, 0, 56, 54, 1, 0, 0, 0, 56, 57, 1, 0, 0, 0, 57, 61, 1, 0, 0, 0, 58, 56, 1, 0, 0, 0, 59, 62, 3, 5, 2, 0, 60, 62, 3, 7, 3, 0, 61, 59, 1, 0, 0, 0, 61, 60, 1, 0, 0, 0, 62, 4, 1, 0, 0, 0, 63, 64, 7, 1, 0, 0, 64, 6, 1, 0, 0, 0, 65, 66, 7, 2, 0, 0, 66, 8, 1, 0, 0, 0, 67, 68, 7, 3, 0, 0, 68, 10, 1, 0, 0, 0, 69, 80, 5, 117, 0, 0, 70, 78, 3, 9, 4, 0, 71, 76, 3, 9, 4, 0, 72, 74, 3, 9, 4, 0, 73, 75, 3, 9, 4, 0, 74, 73, 1, 0, 0, 0, 74, 75, 1, 0, 0, 0, 75, 77, 1, 0, 0, 0, 76, 72, 1, 0, 0, 0, 76, 77, 1, 0, 0, 0, 77, 79, 1, 0, 0, 0, 78, 71, 1, 0, 0, 0, 78, 79, 1, 0, 0, 0, 79, 81, 1, 0, 0, 0, 80, 70, 1, 0, 0, 0, 80, 81, 1, 0, 0, 0, 81, 12, 1, 0, 0, 0, 82, 83, 5, 92, 0, 0, 83, 14, 1, 0, 0, 0, 84, 89, 3, 13, 6, 0, 85, 90, 7, 4, 0, 0, 86, 90, 3, 11, 5, 0, 87, 90, 9, 0, 0, 0, 88, 90, 5, 0, 0, 1, 89, 85, 1, 0, 0, 0, 89, 86, 1, 0, 0, 0, 89, 87, 1, 0, 0, 0, 89, 88, 1, 0, 0, 0, 90, 16, 1, 0, 0, 0, 91, 96, 5, 34, 0, 0, 92, 95, 3, 15, 7, 0, 93, 95, 8, 5, 0, 0, 94, 92, 1, 0, 0, 0, 94, 93, 1, 0, 0, 0, 95, 98, 1, 0, 0, 0, 96, 94, 1, 0, 0, 0, 96, 97, 1, 0, 0, 0, 97, 99, 1, 0, 0, 0, 98, 96, 1, 0, 0, 0, 99, 100, 5, 34, 0, 0, 100, 18, 1, 0, 0, 0, 101, 103, 3, 7, 3, 0, 102, 101, 1, 0, 0, 0, 103, 106, 1, 0, 0, 0, 104, 102, 1, 0, 0, 0, 104, 105, 1, 0, 0, 0, 105, 107, 1, 0, 0, 0, 106, 104, 1, 0, 0, 0, 107, 109, 5, 46, 0, 0, 108, 110, 3, 7, 3, 0, 109, 108, 1, 0, 0, 0, 110, 111, 1, 0, 0, 0, 111, 109, 1, 0, 0, 0, 111, 112, 1, 0, 0, 0, 112, 119, 1, 0, 0, 0, 113, 115, 3, 7, 3, 0, 114, 113, 1, 0, 0, 0, 115, 116, 1, 0, 0, 0, 116, 114, 1, 0, 0, 0, 116, 117, 1, 0, 0, 0, 117, 119, 1, 0, 0, 0, 118, 104, 1, 0, 0, 0, 118, 114, 1, 0, 0, 0, 119, 129, 1, 0, 0, 0, 120, 122, 7, 6, 0, 0, 121, 123, 7, 7, 0, 0, 122, 121, 1, 0, 0, 0, 122, 123, 1, 0, 0, 0, 123, 125, 1, 0, 0, 0, 124, 126, 3, 7, 3, 0, 125, 124, 1, 0, 0, 0, 126, 127, 1, 0, 0, 0, 127, 125, 1, 0, 0, 0, 127, 128, 1, 0, 0, 0, 128, 130, 1, 0, 0, 0, 129, 120, 1, 0, 0, 0, 129, 130, 1, 0, 0, 0, 130, 20, 1, 0, 0, 0, 131, 136, 3, 13, 6, 0, 132, 137, 7, 8, 0, 0, 133, 137, 3, 11, 5, 0, 134, 137, 9, 0, 0, 0, 135, 137, 5, 0, 0, 1, 136, 132, 1, 0, 0, 0, 136, 133, 1, 0, 0, 0, 136, 134, 1, 0, 0, 0, 136, 135, 1, 0, 0, 0, 137, 22, 1, 0, 0, 0, 138, 143, 5, 91, 0, 0, 139, 142, 3, 15, 7, 0, 140, 142, 8, 9, 0, 0, 141, 139, 1, 0, 0, 0, 141, 140, 1, 0, 0, 0, 142, 145, 1, 0, 0, 0, 143, 141, 1, 0, 0, 0, 143, 144, 1, 0, 0, 0, 144, 146, 1, 0, 0, 0, 145, 143, 1, 0, 0, 0, 146, 147, 5, 93, 0, 0, 147, 24, 1, 0, 0, 0, 148, 149, 5, 61, 0, 0, 149, 160, 5, 61, 0, 0, 150, 151, 5, 33, 0, 0, 151, 160, 5, 61, 0, 0, 152, 153, 5, 60, 0, 0, 153, 160, 5, 62, 0, 0, 154, 160, 7, 10, 0, 0, 155, 156, 5, 62, 0, 0, 156, 160, 5, 61, 0, 0, 157, 158, 5, 60, 0, 0, 158, 160, 5, 61, 0, 0, 159, 148, 1, 0, 0, 0, 159, 150, 1, 0, 0, 0, 159, 152, 1, 0, 0, 0, 159, 154, 1, 0, 0, 0, 159, 155, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 160, 26, 1, 0, 0, 0, 161, 162, 5, 38, 0, 0, 162, 163, 5, 38, 0, 0, 163, 28, 1, 0, 0, 0, 164, 165, 5, 124, 0, 0, 165, 166, 5, 124, 0, 0, 166, 30, 1, 0, 0, 0, 167, 168, 5, 40, 0, 0, 168, 32, 1, 0, 0, 0, 169, 170, 5, 41, 0, 0, 170, 34, 1, 0, 0, 0, 171, 172, 3, 19, 9, 0, 172, 36, 1, 0, 0, 0, 173, 174, 3, 17, 8, 0, 174, 38, 1, 0, 0, 0, 175, 176, 3, 23, 11, 0, 176, 40, 1, 0, 0, 0, 177, 178, 3, 3, 1, 0, 178, 42, 1, 0, 0, 0, 179, 181, 7, 0, 0, 0, 180, 179, 1, 0, 0, 0, 181, 182, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 182, 183, 1, 0, 0, 0, 183, 184, 1, 0, 0, 0, 184, 185, 6, 21, 0, 0, 185, 44, 1, 0, 0, 0, 24, 0, 48, 54, 56, 61, 74, 76, 78, 80, 89, 94, 96, 104, 111, 116, 118, 122, 127, 129, 136, 141, 143, 159, 182, 1, 6, 0, 0]
@@ -1,14 +0,0 @@
1
- OPERATOR=1
2
- GROUP_OPERATOR_AND=2
3
- GROUP_OPERATOR_OR=3
4
- GROUP_OPEN=4
5
- GROUP_CLOSE=5
6
- NUMBER=6
7
- STRING=7
8
- COLUMN=8
9
- IDENTIFIER=9
10
- WHITESPACE=10
11
- '&&'=2
12
- '||'=3
13
- '('=4
14
- ')'=5
@@ -1,142 +0,0 @@
1
- // Generated from /Users/blacksteed232/Developer/legend/studio/packages/legend-application-repl/grammar/datacube_filter__lexer.g4 by ANTLR 4.13.1
2
- // noinspection ES6UnusedImports,JSUnusedGlobalSymbols,JSUnusedLocalSymbols
3
- import {
4
- ATN,
5
- ATNDeserializer,
6
- CharStream,
7
- DecisionState, DFA,
8
- Lexer,
9
- LexerATNSimulator,
10
- RuleContext,
11
- PredictionContextCache,
12
- Token
13
- } from "antlr4";
14
- export default class datacube_filter__lexer extends Lexer {
15
- public static readonly OPERATOR = 1;
16
- public static readonly GROUP_OPERATOR_AND = 2;
17
- public static readonly GROUP_OPERATOR_OR = 3;
18
- public static readonly GROUP_OPEN = 4;
19
- public static readonly GROUP_CLOSE = 5;
20
- public static readonly NUMBER = 6;
21
- public static readonly STRING = 7;
22
- public static readonly COLUMN = 8;
23
- public static readonly IDENTIFIER = 9;
24
- public static readonly WHITESPACE = 10;
25
- public static readonly EOF = Token.EOF;
26
-
27
- public static readonly channelNames: string[] = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ];
28
- public static readonly literalNames: (string | null)[] = [ null, null,
29
- "'&&'", "'||'",
30
- "'('", "')'" ];
31
- public static readonly symbolicNames: (string | null)[] = [ null, "OPERATOR",
32
- "GROUP_OPERATOR_AND",
33
- "GROUP_OPERATOR_OR",
34
- "GROUP_OPEN",
35
- "GROUP_CLOSE",
36
- "NUMBER", "STRING",
37
- "COLUMN", "IDENTIFIER",
38
- "WHITESPACE" ];
39
- public static readonly modeNames: string[] = [ "DEFAULT_MODE", ];
40
-
41
- public static readonly ruleNames: string[] = [
42
- "Whitespace", "Identifier", "Letter", "Digit", "HexDigit", "UnicodeEsc",
43
- "Esc", "StringEscSeq", "String", "Number", "ColumnEscSeq", "Column", "OPERATOR",
44
- "GROUP_OPERATOR_AND", "GROUP_OPERATOR_OR", "GROUP_OPEN", "GROUP_CLOSE",
45
- "NUMBER", "STRING", "COLUMN", "IDENTIFIER", "WHITESPACE",
46
- ];
47
-
48
-
49
- constructor(input: CharStream) {
50
- super(input);
51
- this._interp = new LexerATNSimulator(this, datacube_filter__lexer._ATN, datacube_filter__lexer.DecisionsToDFA, new PredictionContextCache());
52
- }
53
-
54
- public get grammarFileName(): string { return "datacube_filter__lexer.g4"; }
55
-
56
- public get literalNames(): (string | null)[] { return datacube_filter__lexer.literalNames; }
57
- public get symbolicNames(): (string | null)[] { return datacube_filter__lexer.symbolicNames; }
58
- public get ruleNames(): string[] { return datacube_filter__lexer.ruleNames; }
59
-
60
- public get serializedATN(): number[] { return datacube_filter__lexer._serializedATN; }
61
-
62
- public get channelNames(): string[] { return datacube_filter__lexer.channelNames; }
63
-
64
- public get modeNames(): string[] { return datacube_filter__lexer.modeNames; }
65
-
66
- public static readonly _serializedATN: number[] = [4,0,10,186,6,-1,2,0,
67
- 7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,
68
- 7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,
69
- 16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,1,0,4,0,47,8,0,11,
70
- 0,12,0,48,1,1,1,1,1,1,1,1,5,1,55,8,1,10,1,12,1,58,9,1,1,1,1,1,3,1,62,8,
71
- 1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,5,1,5,1,5,3,5,75,8,5,3,5,77,8,5,3,5,
72
- 79,8,5,3,5,81,8,5,1,6,1,6,1,7,1,7,1,7,1,7,1,7,3,7,90,8,7,1,8,1,8,1,8,5,
73
- 8,95,8,8,10,8,12,8,98,9,8,1,8,1,8,1,9,5,9,103,8,9,10,9,12,9,106,9,9,1,9,
74
- 1,9,4,9,110,8,9,11,9,12,9,111,1,9,4,9,115,8,9,11,9,12,9,116,3,9,119,8,9,
75
- 1,9,1,9,3,9,123,8,9,1,9,4,9,126,8,9,11,9,12,9,127,3,9,130,8,9,1,10,1,10,
76
- 1,10,1,10,1,10,3,10,137,8,10,1,11,1,11,1,11,5,11,142,8,11,10,11,12,11,145,
77
- 9,11,1,11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,3,
78
- 12,160,8,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1,17,
79
- 1,18,1,18,1,19,1,19,1,20,1,20,1,21,4,21,181,8,21,11,21,12,21,182,1,21,1,
80
- 21,0,0,22,1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,17,0,19,0,21,0,23,0,25,1,27,
81
- 2,29,3,31,4,33,5,35,6,37,7,39,8,41,9,43,10,1,0,11,3,0,9,10,13,13,32,32,
82
- 2,0,65,90,97,122,1,0,48,57,3,0,48,57,65,70,97,102,8,0,34,34,39,39,92,92,
83
- 98,98,102,102,110,110,114,114,116,116,4,0,10,10,13,13,34,34,92,92,2,0,69,
84
- 69,101,101,2,0,43,43,45,45,6,0,91,93,98,98,102,102,110,110,114,114,116,
85
- 116,3,0,10,10,13,13,91,93,2,0,60,60,62,62,205,0,25,1,0,0,0,0,27,1,0,0,0,
86
- 0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,
87
- 0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,1,46,1,0,0,0,3,50,1,0,0,0,5,63,1,0,0,0,
88
- 7,65,1,0,0,0,9,67,1,0,0,0,11,69,1,0,0,0,13,82,1,0,0,0,15,84,1,0,0,0,17,
89
- 91,1,0,0,0,19,118,1,0,0,0,21,131,1,0,0,0,23,138,1,0,0,0,25,159,1,0,0,0,
90
- 27,161,1,0,0,0,29,164,1,0,0,0,31,167,1,0,0,0,33,169,1,0,0,0,35,171,1,0,
91
- 0,0,37,173,1,0,0,0,39,175,1,0,0,0,41,177,1,0,0,0,43,180,1,0,0,0,45,47,7,
92
- 0,0,0,46,45,1,0,0,0,47,48,1,0,0,0,48,46,1,0,0,0,48,49,1,0,0,0,49,2,1,0,
93
- 0,0,50,56,3,5,2,0,51,55,3,5,2,0,52,55,3,7,3,0,53,55,5,32,0,0,54,51,1,0,
94
- 0,0,54,52,1,0,0,0,54,53,1,0,0,0,55,58,1,0,0,0,56,54,1,0,0,0,56,57,1,0,0,
95
- 0,57,61,1,0,0,0,58,56,1,0,0,0,59,62,3,5,2,0,60,62,3,7,3,0,61,59,1,0,0,0,
96
- 61,60,1,0,0,0,62,4,1,0,0,0,63,64,7,1,0,0,64,6,1,0,0,0,65,66,7,2,0,0,66,
97
- 8,1,0,0,0,67,68,7,3,0,0,68,10,1,0,0,0,69,80,5,117,0,0,70,78,3,9,4,0,71,
98
- 76,3,9,4,0,72,74,3,9,4,0,73,75,3,9,4,0,74,73,1,0,0,0,74,75,1,0,0,0,75,77,
99
- 1,0,0,0,76,72,1,0,0,0,76,77,1,0,0,0,77,79,1,0,0,0,78,71,1,0,0,0,78,79,1,
100
- 0,0,0,79,81,1,0,0,0,80,70,1,0,0,0,80,81,1,0,0,0,81,12,1,0,0,0,82,83,5,92,
101
- 0,0,83,14,1,0,0,0,84,89,3,13,6,0,85,90,7,4,0,0,86,90,3,11,5,0,87,90,9,0,
102
- 0,0,88,90,5,0,0,1,89,85,1,0,0,0,89,86,1,0,0,0,89,87,1,0,0,0,89,88,1,0,0,
103
- 0,90,16,1,0,0,0,91,96,5,34,0,0,92,95,3,15,7,0,93,95,8,5,0,0,94,92,1,0,0,
104
- 0,94,93,1,0,0,0,95,98,1,0,0,0,96,94,1,0,0,0,96,97,1,0,0,0,97,99,1,0,0,0,
105
- 98,96,1,0,0,0,99,100,5,34,0,0,100,18,1,0,0,0,101,103,3,7,3,0,102,101,1,
106
- 0,0,0,103,106,1,0,0,0,104,102,1,0,0,0,104,105,1,0,0,0,105,107,1,0,0,0,106,
107
- 104,1,0,0,0,107,109,5,46,0,0,108,110,3,7,3,0,109,108,1,0,0,0,110,111,1,
108
- 0,0,0,111,109,1,0,0,0,111,112,1,0,0,0,112,119,1,0,0,0,113,115,3,7,3,0,114,
109
- 113,1,0,0,0,115,116,1,0,0,0,116,114,1,0,0,0,116,117,1,0,0,0,117,119,1,0,
110
- 0,0,118,104,1,0,0,0,118,114,1,0,0,0,119,129,1,0,0,0,120,122,7,6,0,0,121,
111
- 123,7,7,0,0,122,121,1,0,0,0,122,123,1,0,0,0,123,125,1,0,0,0,124,126,3,7,
112
- 3,0,125,124,1,0,0,0,126,127,1,0,0,0,127,125,1,0,0,0,127,128,1,0,0,0,128,
113
- 130,1,0,0,0,129,120,1,0,0,0,129,130,1,0,0,0,130,20,1,0,0,0,131,136,3,13,
114
- 6,0,132,137,7,8,0,0,133,137,3,11,5,0,134,137,9,0,0,0,135,137,5,0,0,1,136,
115
- 132,1,0,0,0,136,133,1,0,0,0,136,134,1,0,0,0,136,135,1,0,0,0,137,22,1,0,
116
- 0,0,138,143,5,91,0,0,139,142,3,15,7,0,140,142,8,9,0,0,141,139,1,0,0,0,141,
117
- 140,1,0,0,0,142,145,1,0,0,0,143,141,1,0,0,0,143,144,1,0,0,0,144,146,1,0,
118
- 0,0,145,143,1,0,0,0,146,147,5,93,0,0,147,24,1,0,0,0,148,149,5,61,0,0,149,
119
- 160,5,61,0,0,150,151,5,33,0,0,151,160,5,61,0,0,152,153,5,60,0,0,153,160,
120
- 5,62,0,0,154,160,7,10,0,0,155,156,5,62,0,0,156,160,5,61,0,0,157,158,5,60,
121
- 0,0,158,160,5,61,0,0,159,148,1,0,0,0,159,150,1,0,0,0,159,152,1,0,0,0,159,
122
- 154,1,0,0,0,159,155,1,0,0,0,159,157,1,0,0,0,160,26,1,0,0,0,161,162,5,38,
123
- 0,0,162,163,5,38,0,0,163,28,1,0,0,0,164,165,5,124,0,0,165,166,5,124,0,0,
124
- 166,30,1,0,0,0,167,168,5,40,0,0,168,32,1,0,0,0,169,170,5,41,0,0,170,34,
125
- 1,0,0,0,171,172,3,19,9,0,172,36,1,0,0,0,173,174,3,17,8,0,174,38,1,0,0,0,
126
- 175,176,3,23,11,0,176,40,1,0,0,0,177,178,3,3,1,0,178,42,1,0,0,0,179,181,
127
- 7,0,0,0,180,179,1,0,0,0,181,182,1,0,0,0,182,180,1,0,0,0,182,183,1,0,0,0,
128
- 183,184,1,0,0,0,184,185,6,21,0,0,185,44,1,0,0,0,24,0,48,54,56,61,74,76,
129
- 78,80,89,94,96,104,111,116,118,122,127,129,136,141,143,159,182,1,6,0,0];
130
-
131
- private static __ATN: ATN;
132
- public static get _ATN(): ATN {
133
- if (!datacube_filter__lexer.__ATN) {
134
- datacube_filter__lexer.__ATN = new ATNDeserializer().deserialize(datacube_filter__lexer._serializedATN);
135
- }
136
-
137
- return datacube_filter__lexer.__ATN;
138
- }
139
-
140
-
141
- static DecisionsToDFA = datacube_filter__lexer._ATN.decisionToState.map( (ds: DecisionState, index: number) => new DFA(ds, index) );
142
- }
@@ -1,38 +0,0 @@
1
- token literal names:
2
- null
3
- null
4
- '&&'
5
- '||'
6
- '('
7
- ')'
8
- null
9
- null
10
- null
11
- null
12
- null
13
-
14
- token symbolic names:
15
- null
16
- OPERATOR
17
- GROUP_OPERATOR_AND
18
- GROUP_OPERATOR_OR
19
- GROUP_OPEN
20
- GROUP_CLOSE
21
- NUMBER
22
- STRING
23
- COLUMN
24
- IDENTIFIER
25
- WHITESPACE
26
-
27
- rule names:
28
- filter
29
- condition
30
- column
31
- value
32
- group
33
- groupOperator
34
- groupCondition
35
-
36
-
37
- atn:
38
- [4, 1, 10, 50, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 1, 0, 1, 0, 3, 0, 17, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 24, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 3, 6, 38, 8, 6, 1, 6, 1, 6, 1, 6, 3, 6, 43, 8, 6, 5, 6, 45, 8, 6, 10, 6, 12, 6, 48, 9, 6, 1, 6, 0, 0, 7, 0, 2, 4, 6, 8, 10, 12, 0, 3, 2, 0, 1, 1, 9, 9, 1, 0, 6, 7, 1, 0, 2, 3, 47, 0, 16, 1, 0, 0, 0, 2, 20, 1, 0, 0, 0, 4, 25, 1, 0, 0, 0, 6, 27, 1, 0, 0, 0, 8, 29, 1, 0, 0, 0, 10, 33, 1, 0, 0, 0, 12, 37, 1, 0, 0, 0, 14, 17, 3, 12, 6, 0, 15, 17, 3, 8, 4, 0, 16, 14, 1, 0, 0, 0, 16, 15, 1, 0, 0, 0, 17, 18, 1, 0, 0, 0, 18, 19, 5, 0, 0, 1, 19, 1, 1, 0, 0, 0, 20, 21, 3, 4, 2, 0, 21, 23, 7, 0, 0, 0, 22, 24, 3, 6, 3, 0, 23, 22, 1, 0, 0, 0, 23, 24, 1, 0, 0, 0, 24, 3, 1, 0, 0, 0, 25, 26, 5, 8, 0, 0, 26, 5, 1, 0, 0, 0, 27, 28, 7, 1, 0, 0, 28, 7, 1, 0, 0, 0, 29, 30, 5, 4, 0, 0, 30, 31, 3, 12, 6, 0, 31, 32, 5, 5, 0, 0, 32, 9, 1, 0, 0, 0, 33, 34, 7, 2, 0, 0, 34, 11, 1, 0, 0, 0, 35, 38, 3, 2, 1, 0, 36, 38, 3, 8, 4, 0, 37, 35, 1, 0, 0, 0, 37, 36, 1, 0, 0, 0, 38, 46, 1, 0, 0, 0, 39, 42, 3, 10, 5, 0, 40, 43, 3, 2, 1, 0, 41, 43, 3, 8, 4, 0, 42, 40, 1, 0, 0, 0, 42, 41, 1, 0, 0, 0, 43, 45, 1, 0, 0, 0, 44, 39, 1, 0, 0, 0, 45, 48, 1, 0, 0, 0, 46, 44, 1, 0, 0, 0, 46, 47, 1, 0, 0, 0, 47, 13, 1, 0, 0, 0, 48, 46, 1, 0, 0, 0, 5, 16, 23, 37, 42, 46]
@@ -1,14 +0,0 @@
1
- OPERATOR=1
2
- GROUP_OPERATOR_AND=2
3
- GROUP_OPERATOR_OR=3
4
- GROUP_OPEN=4
5
- GROUP_CLOSE=5
6
- NUMBER=6
7
- STRING=7
8
- COLUMN=8
9
- IDENTIFIER=9
10
- WHITESPACE=10
11
- '&&'=2
12
- '||'=3
13
- '('=4
14
- ')'=5