Web Site

org.codehaus.janino
Class Java.Crement

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.Crement
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static final class Java.Crement
extends Java.Rvalue

Objects of this class represent represent one pre- or post-increment or decrement.


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.Rvalue
CONSTANT_VALUE_NULL, JUMP_IF_FALSE, JUMP_IF_TRUE
 
Constructor Summary
Java.Crement(Location location, Java.Lvalue operand, String operator)
           
Java.Crement(Location location, String operator, Java.Lvalue 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.Crement

public Java.Crement(Location location,
                    String operator,
                    Java.Lvalue operand)

Java.Crement

public Java.Crement(Location location,
                    Java.Lvalue operand,
                    String operator)
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