java_cup.interpreter
Class Value
java.lang.Object
|
+--java_cup.interpreter.Value
- All Implemented Interfaces:
- java.lang.Cloneable
- class Value
- extends java.lang.Object
- implements java.lang.Cloneable
A value is an object descriptor, a method, an unevaluated expression or a string Object
Constructor Summary |
(package private) |
Value(Method meth)
Constructor for just methods. |
(package private) |
Value(NotEvaluatedExpr expr)
Constructor for just un evaluated expressions. |
(package private) |
Value(Object_descriptor object_descriptor)
A constructor for just locations. |
(package private) |
Value(java.lang.String object)
Constructor for variables in method bodies and also used for the defined location Object. |
Method Summary |
java.lang.Object |
clone()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
object_descriptor
Object_descriptor object_descriptor
method
Method method
expr
NotEvaluatedExpr expr
object
java.lang.String object
Value
Value(Object_descriptor object_descriptor)
- A constructor for just locations.
Value
Value(Method meth)
- Constructor for just methods.
Value
Value(NotEvaluatedExpr expr)
- Constructor for just un evaluated expressions.
Value
Value(java.lang.String object)
- Constructor for variables in method bodies and also used for the defined location Object.
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object