summaryrefslogtreecommitdiff
path: root/src/Python3ParserBaseVisitor.java
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-06-04 14:11:32 +0200
committerGitHub <noreply@github.com>2024-06-04 14:11:32 +0200
commit1c8761901b26c0be4d61f3aed5ec0495a558a0e7 (patch)
treebe3177edeaf93cbd57e49f7067418bc8ef0dfdd3 /src/Python3ParserBaseVisitor.java
parent663b99a971f8dd7f7776fe3647f24ce728b3d434 (diff)
Refactor using package `com.clp.project` (#1)
Co-authored-by: geno <gabriele.genovese2@studio.unibo.it>
Diffstat (limited to 'src/Python3ParserBaseVisitor.java')
-rw-r--r--src/Python3ParserBaseVisitor.java365
1 files changed, 0 insertions, 365 deletions
diff --git a/src/Python3ParserBaseVisitor.java b/src/Python3ParserBaseVisitor.java
deleted file mode 100644
index 1b1832e..0000000
--- a/src/Python3ParserBaseVisitor.java
+++ /dev/null
@@ -1,365 +0,0 @@
-
-// Generated from src/Python3Parser.g4 by ANTLR 4.13.1
-import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
-
-/**
- * This class provides an empty implementation of {@link Python3ParserVisitor},
- * which can be extended to create a visitor which only needs to handle a subset
- * of the available methods.
- *
- * @param <T> The return type of the visit operation. Use {@link Void} for
- * operations with no return type.
- */
-@SuppressWarnings("CheckReturnValue")
-public class Python3ParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements Python3ParserVisitor<T> {
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitRoot(Python3Parser.RootContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitSimple_stmts(Python3Parser.Simple_stmtsContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitCompound_stmt(Python3Parser.Compound_stmtContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitSimple_stmt(Python3Parser.Simple_stmtContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitAssignment(Python3Parser.AssignmentContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitReturn_stmt(Python3Parser.Return_stmtContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitImport_stm(Python3Parser.Import_stmContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitDotted_name(Python3Parser.Dotted_nameContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitFuncdef(Python3Parser.FuncdefContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitParamlist(Python3Parser.ParamlistContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitParamdef(Python3Parser.ParamdefContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitAugassign(Python3Parser.AugassignContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitIf_stmt(Python3Parser.If_stmtContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitWhile_stmt(Python3Parser.While_stmtContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitFor_stmt(Python3Parser.For_stmtContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitBlock(Python3Parser.BlockContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitComp_op(Python3Parser.Comp_opContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitExpr(Python3Parser.ExprContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitAtom(Python3Parser.AtomContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitTestlist_comp(Python3Parser.Testlist_compContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitTrailer(Python3Parser.TrailerContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitExprlist(Python3Parser.ExprlistContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitArglist(Python3Parser.ArglistContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitArgument(Python3Parser.ArgumentContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitComp_iter(Python3Parser.Comp_iterContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitComp_for(Python3Parser.Comp_forContext ctx) {
- return visitChildren(ctx);
- }
-
- /**
- * {@inheritDoc}
- *
- * <p>
- * The default implementation returns the result of calling
- * {@link #visitChildren} on {@code ctx}.
- * </p>
- */
- @Override
- public T visitComp_if(Python3Parser.Comp_ifContext ctx) {
- return visitChildren(ctx);
- }
-}