forked from phoedos/pmd
Pass linters in generated code
This commit is contained in:
parent
ef3a4cc15e
commit
9d15c900db
@ -18,6 +18,7 @@ import org.antlr.v4.runtime.tree.TerminalNode;
|
|||||||
* @deprecated Since 7.8.0. This class was never intended to be generated. It will be removed with no replacement.
|
* @deprecated Since 7.8.0. This class was never intended to be generated. It will be removed with no replacement.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("PMD.UncommentedEmptyMethodBody")
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@net.sourceforge.pmd.annotation.Generated("org.antlr.v4.Tool")
|
@net.sourceforge.pmd.annotation.Generated("org.antlr.v4.Tool")
|
||||||
public class GherkinBaseListener implements GherkinListener {
|
public class GherkinBaseListener implements GherkinListener {
|
||||||
@ -334,4 +335,4 @@ import org.antlr.v4.runtime.tree.TerminalNode;
|
|||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void visitErrorNode(ErrorNode node) { }
|
@Override public void visitErrorNode(ErrorNode node) { }
|
||||||
}
|
}
|
||||||
|
@ -189,4 +189,4 @@ import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
|
|||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitText(GherkinParser.TextContext ctx) { return visitChildren(ctx); }
|
@Override public T visitText(GherkinParser.TextContext ctx) { return visitChildren(ctx); }
|
||||||
}
|
}
|
||||||
|
@ -257,4 +257,4 @@ import org.antlr.v4.runtime.tree.ParseTreeListener;
|
|||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitText(GherkinParser.TextContext ctx);
|
void exitText(GherkinParser.TextContext ctx);
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
// Generated from net/sourceforge/pmd/lang/gherkin/ast/Gherkin.g4 by ANTLR 4.9.3
|
// Generated from net/sourceforge/pmd/lang/gherkin/ast/Gherkin.g4 by ANTLR 4.9.3
|
||||||
package net.sourceforge.pmd.lang.gherkin.ast;
|
package net.sourceforge.pmd.lang.gherkin.ast;
|
||||||
|
|
||||||
|
// CPD-OFF
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.antlr.v4.runtime.NoViableAltException;
|
import org.antlr.v4.runtime.NoViableAltException;
|
||||||
@ -2097,4 +2099,4 @@ import org.antlr.v4.runtime.tree.TerminalNode;
|
|||||||
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -164,4 +164,4 @@ import org.antlr.v4.runtime.tree.ParseTreeVisitor;
|
|||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitText(GherkinParser.TextContext ctx);
|
T visitText(GherkinParser.TextContext ctx);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user