Skip to content

Commit 44ed2bb

Browse files
committed
Update for new release
1 parent 9fb54cf commit 44ed2bb

File tree

14 files changed

+20445
-19976
lines changed

14 files changed

+20445
-19976
lines changed

src/external/grammars-v4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit c6254e85d8ab1a2305aebbe262a5b703296b7b21
1+
Subproject commit 7f2d97420aab16247d68a8f1900f7de55d4be912

src/sonar-sql-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.sonar.plugins</groupId>
77
<artifactId>sonar-sql-plugin</artifactId>
8-
<version>1.2.3</version>
8+
<version>1.2.4</version>
99
<packaging>sonar-plugin</packaging>
1010

1111
<name>SQL language plugin</name>
@@ -75,7 +75,7 @@
7575
<dependency>
7676
<groupId>com.fasterxml.jackson.dataformat</groupId>
7777
<artifactId>jackson-dataformat-xml</artifactId>
78-
<version>2.13.0</version>
78+
<version>2.13.1</version>
7979
<scope>test</scope>
8080
</dependency>
8181
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParser.interp

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParser.java

Lines changed: 8710 additions & 8726 deletions
Large diffs are not rendered by default.

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParserBaseListener.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ public class MySqlParserBaseListener implements MySqlParserListener {
5252
*
5353
* <p>The default implementation does nothing.</p>
5454
*/
55-
@Override public void enterEmptyStatement(MySqlParser.EmptyStatementContext ctx) { }
55+
@Override public void enterEmptyStatement_(MySqlParser.EmptyStatement_Context ctx) { }
5656
/**
5757
* {@inheritDoc}
5858
*
5959
* <p>The default implementation does nothing.</p>
6060
*/
61-
@Override public void exitEmptyStatement(MySqlParser.EmptyStatementContext ctx) { }
61+
@Override public void exitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx) { }
6262
/**
6363
* {@inheritDoc}
6464
*
@@ -335,6 +335,18 @@ public class MySqlParserBaseListener implements MySqlParserListener {
335335
* <p>The default implementation does nothing.</p>
336336
*/
337337
@Override public void exitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx) { }
338+
/**
339+
* {@inheritDoc}
340+
*
341+
* <p>The default implementation does nothing.</p>
342+
*/
343+
@Override public void enterCharSet(MySqlParser.CharSetContext ctx) { }
344+
/**
345+
* {@inheritDoc}
346+
*
347+
* <p>The default implementation does nothing.</p>
348+
*/
349+
@Override public void exitCharSet(MySqlParser.CharSetContext ctx) { }
338350
/**
339351
* {@inheritDoc}
340352
*

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParserBaseVisitor.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class MySqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> imple
3838
* <p>The default implementation returns the result of calling
3939
* {@link #visitChildren} on {@code ctx}.</p>
4040
*/
41-
@Override public T visitEmptyStatement(MySqlParser.EmptyStatementContext ctx) { return visitChildren(ctx); }
41+
@Override public T visitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx) { return visitChildren(ctx); }
4242
/**
4343
* {@inheritDoc}
4444
*
@@ -200,6 +200,13 @@ public class MySqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> imple
200200
* {@link #visitChildren} on {@code ctx}.</p>
201201
*/
202202
@Override public T visitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx) { return visitChildren(ctx); }
203+
/**
204+
* {@inheritDoc}
205+
*
206+
* <p>The default implementation returns the result of calling
207+
* {@link #visitChildren} on {@code ctx}.</p>
208+
*/
209+
@Override public T visitCharSet(MySqlParser.CharSetContext ctx) { return visitChildren(ctx); }
203210
/**
204211
* {@inheritDoc}
205212
*

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParserListener.java

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ public interface MySqlParserListener extends ParseTreeListener {
3838
*/
3939
void exitSqlStatement(MySqlParser.SqlStatementContext ctx);
4040
/**
41-
* Enter a parse tree produced by {@link MySqlParser#emptyStatement}.
41+
* Enter a parse tree produced by {@link MySqlParser#emptyStatement_}.
4242
* @param ctx the parse tree
4343
*/
44-
void enterEmptyStatement(MySqlParser.EmptyStatementContext ctx);
44+
void enterEmptyStatement_(MySqlParser.EmptyStatement_Context ctx);
4545
/**
46-
* Exit a parse tree produced by {@link MySqlParser#emptyStatement}.
46+
* Exit a parse tree produced by {@link MySqlParser#emptyStatement_}.
4747
* @param ctx the parse tree
4848
*/
49-
void exitEmptyStatement(MySqlParser.EmptyStatementContext ctx);
49+
void exitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx);
5050
/**
5151
* Enter a parse tree produced by {@link MySqlParser#ddlStatement}.
5252
* @param ctx the parse tree
@@ -283,6 +283,16 @@ public interface MySqlParserListener extends ParseTreeListener {
283283
* @param ctx the parse tree
284284
*/
285285
void exitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx);
286+
/**
287+
* Enter a parse tree produced by {@link MySqlParser#charSet}.
288+
* @param ctx the parse tree
289+
*/
290+
void enterCharSet(MySqlParser.CharSetContext ctx);
291+
/**
292+
* Exit a parse tree produced by {@link MySqlParser#charSet}.
293+
* @param ctx the parse tree
294+
*/
295+
void exitCharSet(MySqlParser.CharSetContext ctx);
286296
/**
287297
* Enter a parse tree produced by {@link MySqlParser#ownerStatement}.
288298
* @param ctx the parse tree

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParserVisitor.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ public interface MySqlParserVisitor<T> extends ParseTreeVisitor<T> {
2929
*/
3030
T visitSqlStatement(MySqlParser.SqlStatementContext ctx);
3131
/**
32-
* Visit a parse tree produced by {@link MySqlParser#emptyStatement}.
32+
* Visit a parse tree produced by {@link MySqlParser#emptyStatement_}.
3333
* @param ctx the parse tree
3434
* @return the visitor result
3535
*/
36-
T visitEmptyStatement(MySqlParser.EmptyStatementContext ctx);
36+
T visitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx);
3737
/**
3838
* Visit a parse tree produced by {@link MySqlParser#ddlStatement}.
3939
* @param ctx the parse tree
@@ -175,6 +175,12 @@ public interface MySqlParserVisitor<T> extends ParseTreeVisitor<T> {
175175
* @return the visitor result
176176
*/
177177
T visitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx);
178+
/**
179+
* Visit a parse tree produced by {@link MySqlParser#charSet}.
180+
* @param ctx the parse tree
181+
* @return the visitor result
182+
*/
183+
T visitCharSet(MySqlParser.CharSetContext ctx);
178184
/**
179185
* Visit a parse tree produced by {@link MySqlParser#ownerStatement}.
180186
* @param ctx the parse tree

src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/tsql/TSqlLexer.interp

Lines changed: 13 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)