KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > source > tree > UnaryTree


1 /*
2  * @(#)UnaryTree.java 1.3 05/11/17
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  *
7  * Use and Distribution is subject to the Java Research License available
8  * at <http://wwws.sun.com/software/communitysource/jrl.html>.
9  */

10
11 package com.sun.source.tree;
12
13 /**
14  * A tree node for postfix and unary expressions.
15  * Use {@link #getKind getKind} to determine the kind of operator.
16  *
17  * For example:
18  * <pre>
19  * <em>operator</em> <em>expression</em>
20  *
21  * <em>expression</em> <em>operator</em>
22  * </pre>
23  *
24  * @see "The Java Language Specification, 3rd ed, sections 15.14 and 15.15"
25  *
26  * @author Peter von der Ah&eacute;
27  * @author Jonathan Gibbons
28  * @since 1.6
29  */

30 public interface UnaryTree extends ExpressionTree {
31     ExpressionTree getExpression();
32 }
33
Popular Tags