Skip to content

Package: AbstractVariableTypeVisitor

AbstractVariableTypeVisitor

Coverage

1: package model.type;
2:
3: /**
4: * Visitor for AbstractVariableType, Visitor-Pattern.
5: *
6: * @author HFW416 Erik und Jannik
7: *
8: */
9: public interface AbstractVariableTypeVisitor {
10:         /**
11:          * visit method for visitor pattern.
12:          *
13:          * @param anonVariable
14:          * Part to visit.
15:          */
16:         void visit(AnonVariableType anonVariable);
17:
18:         /**
19:          * visit method for visitor pattern.
20:          *
21:          * @param namedVariableType
22:          * Part to visit.
23:          * @throws ReferenceIsUnresolvedException
24:          * The ReferenceIsUnresolvedException.
25:          * @throws IllegalArgumentException
26:          * The IllegalArgumentException.
27:          */
28:         void visit(NamedVariableType namedVariableType)
29:                         throws IllegalArgumentException, ReferenceIsUnresolvedException;
30: }