summaryrefslogtreecommitdiff
path: root/src/svm/SVMVisitor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm/SVMVisitor.java')
-rw-r--r--src/svm/SVMVisitor.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/svm/SVMVisitor.java b/src/svm/SVMVisitor.java
new file mode 100644
index 0000000..d4e132d
--- /dev/null
+++ b/src/svm/SVMVisitor.java
@@ -0,0 +1,28 @@
+// Generated from /home/gabri/Desktop/clp_project/src/svm/SVM.g4 by ANTLR 4.13.1
+package svm;
+
+import java.util.HashMap;
+
+import org.antlr.v4.runtime.tree.ParseTreeVisitor;
+
+/**
+ * This interface defines a complete generic visitor for a parse tree produced
+ * by {@link SVMParser}.
+ *
+ * @param <T> The return type of the visit operation. Use {@link Void} for
+ * operations with no return type.
+ */
+public interface SVMVisitor<T> extends ParseTreeVisitor<T> {
+ /**
+ * Visit a parse tree produced by {@link SVMParser#assembly}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitAssembly(SVMParser.AssemblyContext ctx);
+ /**
+ * Visit a parse tree produced by {@link SVMParser#instruction}.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ T visitInstruction(SVMParser.InstructionContext ctx);
+} \ No newline at end of file