Procházet zdrojové kódy

[frontend] Regenerate all the parsers

In some cases the generated parsers were out of sync with their jison definitions, likely caused by not generating after jison version bump.

For Hive, Impala and the generic parsers the only change is the introduction of jsdoc on the parse function.
Johan Åhlén před 3 roky
rodič
revize
dbc7631743
22 změnil soubory, kde provedl 58 přidání a 4 odebrání
  1. 2 1
      desktop/core/src/desktop/js/parse/hplsqlStatementsParser.js
  2. 2 1
      desktop/core/src/desktop/js/parse/solrFormulaParser.js
  3. 2 1
      desktop/core/src/desktop/js/parse/solrQueryParser.js
  4. 0 0
      desktop/core/src/desktop/js/parse/sql/calcite/calciteAutocompleteParser.js
  5. 0 0
      desktop/core/src/desktop/js/parse/sql/calcite/calciteSyntaxParser.js
  6. 5 0
      desktop/core/src/desktop/js/parse/sql/dasksql/dasksqlAutocompleteParser.js
  7. 5 0
      desktop/core/src/desktop/js/parse/sql/dasksql/dasksqlSyntaxParser.js
  8. 0 0
      desktop/core/src/desktop/js/parse/sql/flink/flinkAutocompleteParser.js
  9. 0 0
      desktop/core/src/desktop/js/parse/sql/flink/flinkSyntaxParser.js
  10. 5 0
      desktop/core/src/desktop/js/parse/sql/generic/genericAutocompleteParser.js
  11. 5 0
      desktop/core/src/desktop/js/parse/sql/generic/genericSyntaxParser.js
  12. 5 0
      desktop/core/src/desktop/js/parse/sql/hive/hiveAutocompleteParser.js
  13. 5 0
      desktop/core/src/desktop/js/parse/sql/hive/hiveSyntaxParser.js
  14. 5 0
      desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js
  15. 5 0
      desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js
  16. 5 0
      desktop/core/src/desktop/js/parse/sql/ksql/ksqlAutocompleteParser.js
  17. 5 0
      desktop/core/src/desktop/js/parse/sql/ksql/ksqlSyntaxParser.js
  18. 0 0
      desktop/core/src/desktop/js/parse/sql/phoenix/phoenixAutocompleteParser.js
  19. 0 0
      desktop/core/src/desktop/js/parse/sql/phoenix/phoenixSyntaxParser.js
  20. 0 0
      desktop/core/src/desktop/js/parse/sql/presto/prestoAutocompleteParser.js
  21. 0 0
      desktop/core/src/desktop/js/parse/sql/presto/prestoSyntaxParser.js
  22. 2 1
      desktop/core/src/desktop/js/parse/sqlStatementsParser.js

+ 2 - 1
desktop/core/src/desktop/js/parse/hplsqlStatementsParser.js

@@ -786,4 +786,5 @@ function Parser () {
 }
 Parser.prototype = parser;parser.Parser = Parser;
 return new Parser;
-})();export default hplsqlStatementsParser;
+})();
+export default hplsqlStatementsParser;

+ 2 - 1
desktop/core/src/desktop/js/parse/solrFormulaParser.js

@@ -884,4 +884,5 @@ function Parser () {
 }
 Parser.prototype = parser;parser.Parser = Parser;
 return new Parser;
-})();export default solrFormulaParser;
+})();
+export default solrFormulaParser;

+ 2 - 1
desktop/core/src/desktop/js/parse/solrQueryParser.js

@@ -936,4 +936,5 @@ function Parser () {
 }
 Parser.prototype = parser;parser.Parser = Parser;
 return new Parser;
-})();export default solrQueryParser;
+})();
+export default solrQueryParser;

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/calcite/calciteAutocompleteParser.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/calcite/calciteSyntaxParser.js


+ 5 - 0
desktop/core/src/desktop/js/parse/sql/dasksql/dasksqlAutocompleteParser.js

@@ -2566,6 +2566,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/dasksql/dasksqlSyntaxParser.js

@@ -2527,6 +2527,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/flink/flinkAutocompleteParser.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/flink/flinkSyntaxParser.js


+ 5 - 0
desktop/core/src/desktop/js/parse/sql/generic/genericAutocompleteParser.js

@@ -2907,6 +2907,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/generic/genericSyntaxParser.js

@@ -2868,6 +2868,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/hive/hiveAutocompleteParser.js

@@ -4990,6 +4990,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/hive/hiveSyntaxParser.js

@@ -4919,6 +4919,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/impala/impalaAutocompleteParser.js

@@ -4148,6 +4148,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/impala/impalaSyntaxParser.js

@@ -4096,6 +4096,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/ksql/ksqlAutocompleteParser.js

@@ -2870,6 +2870,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

+ 5 - 0
desktop/core/src/desktop/js/parse/sql/ksql/ksqlSyntaxParser.js

@@ -2831,6 +2831,11 @@ parseError: function parseError (str, hash) {
         throw error;
     }
 },
+/**
+ * @param {string} input
+ *
+ * @return {AutocompleteParseResult}
+ */
 parse: function parse (input) {
     var self = this,
         stack = [0],

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/phoenix/phoenixAutocompleteParser.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/phoenix/phoenixSyntaxParser.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/presto/prestoAutocompleteParser.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
desktop/core/src/desktop/js/parse/sql/presto/prestoSyntaxParser.js


+ 2 - 1
desktop/core/src/desktop/js/parse/sqlStatementsParser.js

@@ -786,4 +786,5 @@ function Parser () {
 }
 Parser.prototype = parser;parser.Parser = Parser;
 return new Parser;
-})();export default sqlStatementsParser;
+})();
+export default sqlStatementsParser;

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů