Skip to content

Package: RegExPartVisitor

RegExPartVisitor

Coverage

1: package model.type;
2:
3: /**
4: * Visitor for RegExPart, Visitor-Pattern.
5: *
6: * @author HFW410RA - Philipp Rammos
7: *
8: */
9: public interface RegExPartVisitor {
10:         /**
11:          * visit method for visitor pattern.
12:          *
13:          * @param regexstringpart
14:          * Part to visit.
15:          */
16:         void visit(RegExStringPart regexstringpart);
17:
18:         /**
19:          * visit method for visitor pattern.
20:          *
21:          * @param regexrefpart
22:          * part to visit.
23:          * @throws TypeDoesNotExistException
24:          * if a part is not resolvable
25:          * @throws TypeExceptions
26:          * if a cycle is detected
27:          */
28:         void visit(RegExRefPart regexrefpart) throws TypeDoesNotExistException, TypeExceptions;
29: }