aboutsummaryrefslogtreecommitdiff
path: root/scene-lib/src/annotations/el/ElementVisitor.java
diff options
context:
space:
mode:
Diffstat (limited to 'scene-lib/src/annotations/el/ElementVisitor.java')
-rw-r--r--scene-lib/src/annotations/el/ElementVisitor.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/scene-lib/src/annotations/el/ElementVisitor.java b/scene-lib/src/annotations/el/ElementVisitor.java
new file mode 100644
index 0000000..ed297a4
--- /dev/null
+++ b/scene-lib/src/annotations/el/ElementVisitor.java
@@ -0,0 +1,17 @@
+package annotations.el;
+
+/**
+ * @author dbro
+ */
+public interface ElementVisitor<R, T> {
+ R visitAnnotationDef(AnnotationDef el, T arg);
+ R visitBlock(ABlock el, T arg);
+ R visitClass(AClass el, T arg);
+ R visitDeclaration(ADeclaration el, T arg);
+ R visitExpression(AExpression el, T arg);
+ R visitField(AField el, T arg);
+ R visitMethod(AMethod el, T arg);
+ R visitTypeElement(ATypeElement el, T arg);
+ R visitTypeElementWithType(ATypeElementWithType el, T arg);
+ R visitElement(AElement el, T arg);
+}