Skip to content

Package: ConstructorOrOperationExceptionVisitor

ConstructorOrOperationExceptionVisitor

Coverage

1: package de.fhdw.wtf.common.ast.visitor;
2:
3: import de.fhdw.wtf.common.ast.Constructor;
4: import de.fhdw.wtf.common.ast.Operation;
5:
6: /**
7: * Visitor for {@link de.fhdw.wtf.common.ast.ConstructorOrOperation}.
8: *
9: * @param <E>
10: *
11: */
12: public interface ConstructorOrOperationExceptionVisitor<E extends Exception> {
13:         /**
14:          * Handle-Method.
15:          *
16:          * @param constructor
17:          * {@link Constructor}
18:          * @throws E
19:          * Exception
20:          */
21:         void handleConstructor(Constructor constructor) throws E;
22:         
23:         /**
24:          * Handle-Method.
25:          *
26:          * @param operation
27:          * {@link Operation}
28:          * @throws E
29:          * Exception
30:          */
31:         void handleOperation(Operation operation) throws E;
32:         
33: }