Skip to content

Package: RefStateVisitor

RefStateVisitor

Coverage

1: package model.type;
2:
3: /**
4: * RefStateVisitor, Visitor-Pattern.
5: *
6: * @author Phil
7: */
8:
9: public interface RefStateVisitor {
10:         /**
11:          * visit method for Visitor-pattern.
12:          *
13:          * @param state
14:          * the state
15:          */
16:         void visit(RefResState state);
17:
18:         /**
19:          * visit method for Visitor-pattern.
20:          *
21:          * @param state
22:          * the state
23:          * @throws TypeDoesNotExistException
24:          * if a part is not resolvable.
25:          * @throws TypeExceptions
26:          * if a cycle is detected
27:          *
28:          *
29:          */
30:         void visit(RefUnResState state) throws TypeDoesNotExistException, TypeExceptions;
31: }