org.codehaus.janino
Class Java.UnaryOperation
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.BooleanRvalue
org.codehaus.janino.Java.UnaryOperation
- All Implemented Interfaces:
- Java.ArrayInitializerOrRvalue, Java.Locatable
- Enclosing class:
- Java
public static final class Java.UnaryOperation
- extends Java.BooleanRvalue
This class implements the unary operators "+", "-", "~" and "!".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
operator
public final java.lang.String operator
operand
public final Java.Rvalue operand
Java.UnaryOperation
public Java.UnaryOperation(Location location,
java.lang.String operator,
Java.Rvalue operand)
toString
public java.lang.String toString()
- Specified by:
toString
in class Java.Atom
accept
public void accept(Visitor.AtomVisitor visitor)
- Specified by:
accept
in class Java.Atom
accept
public void accept(Visitor.RvalueVisitor visitor)
- Specified by:
accept
in class Java.Rvalue
Copyright © 2001-2011. All Rights Reserved.