java_cup.interpreter
Class Method_descriptor
java.lang.Object
|
+--java_cup.interpreter.Method_descriptor
- class Method_descriptor
- extends java.lang.Object
a method descriptor is a pair: name of the method and an expression that evaluates to a Method
Field Summary |
(package private) java.lang.String |
meth_name
name of the method |
(package private) Value |
method_body
an expression that evaluates to a Method |
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 |
meth_name
java.lang.String meth_name
- name of the method
method_body
Value method_body
- an expression that evaluates to a Method
Method_descriptor
Method_descriptor(java.lang.String meth_name,
Value meth)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object