Web Site

org.codehaus.janino
Class Java.UnaryOperation

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.Atom
          extended byorg.codehaus.janino.Java.Rvalue
              extended byorg.codehaus.janino.Java.BooleanRvalue
                  extended byorg.codehaus.janino.Java.UnaryOperation
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static final class Java.UnaryOperation
extends Java.BooleanRvalue

This class implements the unary operators "+", "-", "~" and "!".


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.Rvalue
CONSTANT_VALUE_NULL, JUMP_IF_FALSE, JUMP_IF_TRUE
 
Constructor Summary
Java.UnaryOperation(Location location, String operator, Java.Rvalue operand)
           
 
Method Summary
 String toString()
           
 void visit(org.codehaus.janino.Visitor.AtomVisitor visitor)
           
 void visit(org.codehaus.janino.Visitor.RvalueVisitor visitor)
           
 
Methods inherited from class org.codehaus.janino.Java.Rvalue
toRvalue
 
Methods inherited from class org.codehaus.janino.Java.Atom
getLocation, throwParseException, toLvalue, toLvalueOrPE, toRvalueOrPE, toType, toTypeOrPE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Java.UnaryOperation

public Java.UnaryOperation(Location location,
                           String operator,
                           Java.Rvalue operand)
Method Detail

toString

public String toString()
Specified by:
toString in class Java.Atom

visit

public final void visit(org.codehaus.janino.Visitor.AtomVisitor visitor)
Specified by:
visit in class Java.Atom

visit

public final void visit(org.codehaus.janino.Visitor.RvalueVisitor visitor)
Specified by:
visit in class Java.Rvalue

Web Site