01: /*
02: * xtc - The eXTensible Compiler
03: * Copyright (C) 2004 Robert Grimm
04: *
05: * This program is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU General Public License
07: * version 2 as published by the Free Software Foundation.
08: *
09: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: *
14: * You should have received a copy of the GNU General Public License
15: * along with this program; if not, write to the Free Software
16: * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17: * USA.
18: */
19: package xtc.parser;
20:
21: /**
22: * The superclass of all unary operators.
23: *
24: * @author Robert Grimm
25: * @version $Revision: 1.2 $
26: */
27: public abstract class UnaryOperator extends Element {
28:
29: /** The element. */
30: public Element element;
31:
32: /**
33: * Create a new unary operator with the specified element.
34: *
35: * @param element The element.
36: */
37: public UnaryOperator(Element element) {
38: this.element = element;
39: }
40:
41: }
|