Skip to content

Commit

Permalink
Update for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
gretard committed Jan 22, 2022
1 parent 9fb54cf commit 44ed2bb
Show file tree
Hide file tree
Showing 14 changed files with 20,445 additions and 19,976 deletions.
2 changes: 1 addition & 1 deletion src/external/grammars-v4
Submodule grammars-v4 updated from c6254e to 7f2d97
4 changes: 2 additions & 2 deletions src/sonar-sql-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.sonar.plugins</groupId>
<artifactId>sonar-sql-plugin</artifactId>
<version>1.2.3</version>
<version>1.2.4</version>
<packaging>sonar-plugin</packaging>

<name>SQL language plugin</name>
Expand Down Expand Up @@ -75,7 +75,7 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.13.0</version>
<version>2.13.1</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
Expand Down

Large diffs are not rendered by default.

17,436 changes: 8,710 additions & 8,726 deletions src/sonar-sql-plugin/src/main/java/org/antlr/sql/dialects/mysql/MySqlParser.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ public class MySqlParserBaseListener implements MySqlParserListener {
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterEmptyStatement(MySqlParser.EmptyStatementContext ctx) { }
@Override public void enterEmptyStatement_(MySqlParser.EmptyStatement_Context ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitEmptyStatement(MySqlParser.EmptyStatementContext ctx) { }
@Override public void exitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx) { }
/**
* {@inheritDoc}
*
Expand Down Expand Up @@ -335,6 +335,18 @@ public class MySqlParserBaseListener implements MySqlParserListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterCharSet(MySqlParser.CharSetContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitCharSet(MySqlParser.CharSetContext ctx) { }
/**
* {@inheritDoc}
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class MySqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> imple
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitEmptyStatement(MySqlParser.EmptyStatementContext ctx) { return visitChildren(ctx); }
@Override public T visitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
Expand Down Expand Up @@ -200,6 +200,13 @@ public class MySqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> imple
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitCharSet(MySqlParser.CharSetContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public interface MySqlParserListener extends ParseTreeListener {
*/
void exitSqlStatement(MySqlParser.SqlStatementContext ctx);
/**
* Enter a parse tree produced by {@link MySqlParser#emptyStatement}.
* Enter a parse tree produced by {@link MySqlParser#emptyStatement_}.
* @param ctx the parse tree
*/
void enterEmptyStatement(MySqlParser.EmptyStatementContext ctx);
void enterEmptyStatement_(MySqlParser.EmptyStatement_Context ctx);
/**
* Exit a parse tree produced by {@link MySqlParser#emptyStatement}.
* Exit a parse tree produced by {@link MySqlParser#emptyStatement_}.
* @param ctx the parse tree
*/
void exitEmptyStatement(MySqlParser.EmptyStatementContext ctx);
void exitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx);
/**
* Enter a parse tree produced by {@link MySqlParser#ddlStatement}.
* @param ctx the parse tree
Expand Down Expand Up @@ -283,6 +283,16 @@ public interface MySqlParserListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx);
/**
* Enter a parse tree produced by {@link MySqlParser#charSet}.
* @param ctx the parse tree
*/
void enterCharSet(MySqlParser.CharSetContext ctx);
/**
* Exit a parse tree produced by {@link MySqlParser#charSet}.
* @param ctx the parse tree
*/
void exitCharSet(MySqlParser.CharSetContext ctx);
/**
* Enter a parse tree produced by {@link MySqlParser#ownerStatement}.
* @param ctx the parse tree
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public interface MySqlParserVisitor<T> extends ParseTreeVisitor<T> {
*/
T visitSqlStatement(MySqlParser.SqlStatementContext ctx);
/**
* Visit a parse tree produced by {@link MySqlParser#emptyStatement}.
* Visit a parse tree produced by {@link MySqlParser#emptyStatement_}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEmptyStatement(MySqlParser.EmptyStatementContext ctx);
T visitEmptyStatement_(MySqlParser.EmptyStatement_Context ctx);
/**
* Visit a parse tree produced by {@link MySqlParser#ddlStatement}.
* @param ctx the parse tree
Expand Down Expand Up @@ -175,6 +175,12 @@ public interface MySqlParserVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitCreateDatabaseOption(MySqlParser.CreateDatabaseOptionContext ctx);
/**
* Visit a parse tree produced by {@link MySqlParser#charSet}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCharSet(MySqlParser.CharSetContext ctx);
/**
* Visit a parse tree produced by {@link MySqlParser#ownerStatement}.
* @param ctx the parse tree
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 44ed2bb

Please sign in to comment.