summaryrefslogtreecommitdiff
path: root/src/parser
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-06-13 11:00:06 +0200
committerGitHub <noreply@github.com>2024-06-13 11:00:06 +0200
commit8e7089a5d6ba1f4f50a90133bb50bc5c6c554aff (patch)
treed4a627e56a199720f7d811af5756402e76628864 /src/parser
parent1c8761901b26c0be4d61f3aed5ec0495a558a0e7 (diff)
Set up visitor (#3)
Co-authored-by: geno <gabriele.genovese2@studio.unibo.it>
Diffstat (limited to 'src/parser')
-rw-r--r--src/parser/Python3Lexer.java8
-rw-r--r--src/parser/Python3Parser.java2
-rw-r--r--src/parser/Python3ParserBaseListener.java2
-rw-r--r--src/parser/Python3ParserBaseVisitor.java2
-rw-r--r--src/parser/Python3ParserListener.java2
-rw-r--r--src/parser/Python3ParserVisitor.java2
6 files changed, 10 insertions, 8 deletions
diff --git a/src/parser/Python3Lexer.java b/src/parser/Python3Lexer.java
index 9a48207..ae33e3d 100644
--- a/src/parser/Python3Lexer.java
+++ b/src/parser/Python3Lexer.java
@@ -1,8 +1,10 @@
package com.clp.project.parser;
-// import com.clp.project.parser.Python3LexerBase;
-
-// Generated from src/Python3Lexer.g4 by ANTLR 4.13.1
+// Generated from src/parser/Python3Lexer.g4 by ANTLR 4.13.1
+import org.antlr.v4.runtime.Lexer;
+import org.antlr.v4.runtime.CharStream;
+import org.antlr.v4.runtime.Token;
+import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
diff --git a/src/parser/Python3Parser.java b/src/parser/Python3Parser.java
index 4965501..a407482 100644
--- a/src/parser/Python3Parser.java
+++ b/src/parser/Python3Parser.java
@@ -1,6 +1,6 @@
package com.clp.project.parser;
-// Generated from src/Python3Parser.g4 by ANTLR 4.13.1
+// Generated from src/parser/Python3Parser.g4 by ANTLR 4.13.1
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
diff --git a/src/parser/Python3ParserBaseListener.java b/src/parser/Python3ParserBaseListener.java
index 6fa323f..7191565 100644
--- a/src/parser/Python3ParserBaseListener.java
+++ b/src/parser/Python3ParserBaseListener.java
@@ -1,5 +1,5 @@
package com.clp.project.parser;
-// Generated from src/Python3Parser.g4 by ANTLR 4.13.1
+// Generated from src/parser/Python3Parser.g4 by ANTLR 4.13.1
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ErrorNode;
diff --git a/src/parser/Python3ParserBaseVisitor.java b/src/parser/Python3ParserBaseVisitor.java
index 4ad92a0..4fc355f 100644
--- a/src/parser/Python3ParserBaseVisitor.java
+++ b/src/parser/Python3ParserBaseVisitor.java
@@ -1,6 +1,6 @@
package com.clp.project.parser;
-// Generated from src/Python3Parser.g4 by ANTLR 4.13.1
+// Generated from src/parser/Python3Parser.g4 by ANTLR 4.13.1
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
/**
diff --git a/src/parser/Python3ParserListener.java b/src/parser/Python3ParserListener.java
index 248105d..f71a32d 100644
--- a/src/parser/Python3ParserListener.java
+++ b/src/parser/Python3ParserListener.java
@@ -1,6 +1,6 @@
package com.clp.project.parser;
-// Generated from src/Python3Parser.g4 by ANTLR 4.13.1
+// Generated from src/parser/Python3Parser.g4 by ANTLR 4.13.1
import org.antlr.v4.runtime.tree.ParseTreeListener;
/**
diff --git a/src/parser/Python3ParserVisitor.java b/src/parser/Python3ParserVisitor.java
index b286b61..88607ed 100644
--- a/src/parser/Python3ParserVisitor.java
+++ b/src/parser/Python3ParserVisitor.java
@@ -1,6 +1,6 @@
package com.clp.project.parser;
-// Generated from src/Python3Parser.g4 by ANTLR 4.13.1
+// Generated from src/parser/Python3Parser.g4 by ANTLR 4.13.1
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**