@dbml/core 5.0.0 → 5.2.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.
- package/lib/export/DbmlExporter.js +3 -2
- package/lib/export/MysqlExporter.js +2 -2
- package/lib/export/OracleExporter.js +2 -2
- package/lib/export/PostgresExporter.js +2 -2
- package/lib/export/SqlServerExporter.js +2 -2
- package/lib/model_structure/element.js +1 -3
- package/lib/parse/ANTLR/ASTGeneration/AST.js +0 -2
- package/lib/parse/ANTLR/ASTGeneration/constants.js +1 -0
- package/lib/parse/ANTLR/ASTGeneration/index.js +16 -3
- package/lib/parse/ANTLR/ASTGeneration/mssql/MssqlASTGen.js +1 -1
- package/lib/parse/ANTLR/ASTGeneration/mssql/README.md +157 -0
- package/lib/parse/ANTLR/ASTGeneration/mysql/MySQLASTGen.js +1 -1
- package/lib/parse/ANTLR/ASTGeneration/mysql/README.md +157 -0
- package/lib/parse/ANTLR/ASTGeneration/oraclesql/OracleSQLASTGen.js +1154 -0
- package/lib/parse/ANTLR/ASTGeneration/oraclesql/README.md +157 -0
- package/lib/parse/ANTLR/ASTGeneration/postgres/PostgresASTGen.js +2 -3
- package/lib/parse/ANTLR/ASTGeneration/postgres/README.md +157 -0
- package/lib/parse/ANTLR/ASTGeneration/snowflake/README.md +157 -0
- package/lib/parse/ANTLR/ASTGeneration/snowflake/SnowflakeASTGen.js +1 -1
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.g4 +60 -2
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.interp +25 -4
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.js +1235 -1171
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.tokens +2306 -2300
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexerBase.js +52 -0
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.g4 +6 -4
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.interp +15 -3
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.js +2 -2
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.tokens +2306 -2300
- package/lib/parse/ANTLR/parsers/mysql/MySqlParserVisitor.js +1 -1
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexer.g4 +2623 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexer.interp +7475 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexer.js +3 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexer.tokens +4934 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexerBase.js +35 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParser.g4 +9988 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParser.interp +6174 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParser.js +3 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParser.tokens +4934 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParserBase.js +64 -0
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParserVisitor.js +8466 -0
- package/lib/parse/Parser.js +8 -0
- package/lib/parse/buildParser.js +1 -1
- package/lib/parse/databaseGenerator.js +10 -7
- package/lib/parse/error.js +0 -1
- package/lib/parse/mssql/fk_definition/actions.js +1 -1
- package/lib/parse/mssql/index.js +0 -1
- package/lib/parse/mssql/statements/statement_types/alter_table/actions.js +0 -1
- package/lib/parse/mssql/statements/statement_types/alter_table/add/actions.js +0 -2
- package/lib/parse/mssql/statements/statement_types/comments/index.js +2 -2
- package/lib/parse/mssql/utils.js +0 -1
- package/package.json +16 -5
- package/types/import/index.d.ts +1 -1
- package/types/parse/Parser.d.ts +3 -1
|
@@ -18,7 +18,7 @@ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError(
|
|
|
18
18
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
19
19
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
20
20
|
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
21
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } // Generated from
|
|
21
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } // Generated from MySqlParser.g4 by ANTLR 4.13.2
|
|
22
22
|
// jshint ignore: start
|
|
23
23
|
// This class defines a complete generic visitor for a parse tree produced by MySqlParser.
|
|
24
24
|
var MySqlParserVisitor = exports["default"] = /*#__PURE__*/function (_antlr4$tree$ParseTre) {
|