01: /*
02: * $Id: NodeVisitor.java 265 2004-04-15 13:08:31Z hengels $
03: * (c) Copyright 2004 con:cern development team.
04: *
05: * This file is part of con:cern (http://concern.sf.net).
06: *
07: * con:cern is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU Lesser General Public License
09: * as published by the Free Software Foundation; either version 2.1
10: * of the License, or (at your option) any later version.
11: *
12: * Please see COPYING for the complete licence.
13: */
14: package org.concern.model.parser.ast;
15:
16: /**
17: * @version $Revision: 265 $
18: */
19: public abstract class NodeVisitor {
20: public abstract Object visit(AndOperator a);
21:
22: public abstract Object visit(OrOperator o);
23:
24: public abstract Object visit(NotOperator n);
25:
26: public abstract Object visit(Name n);
27:
28: public Object visit(AbstractNode n) {
29: return n.accept(this);
30: }
31: }
|