java_cup.interpreter
Class Method

java.lang.Object
  |
  +--java_cup.interpreter.Method
All Implemented Interfaces:
java.lang.Cloneable

public class Method
extends java.lang.Object
implements java.lang.Cloneable

class describing the form of a method.


Field Summary
(package private)  java.lang.String arg
          the outmost argument of the method
(package private)  Value code
          the method body
(package private)  char linearity
          tag to distinguish between linear or nonlinear methods
(package private)  java.lang.String type
          the type of @see arg
 
Constructor Summary
(package private) Method(java.lang.String var, java.lang.String type_var, Value code, char linearity)
           
 
Method Summary
 java.lang.Object clone()
          clone a @see Method object.
 java.lang.String toString()
          the overriding toString() of java.lang.Object.
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

arg

java.lang.String arg
the outmost argument of the method

type

java.lang.String type
the type of @see arg

code

Value code
the method body

linearity

char linearity
tag to distinguish between linear or nonlinear methods
Constructor Detail

Method

Method(java.lang.String var,
       java.lang.String type_var,
       Value code,
       char linearity)
Method Detail

clone

public java.lang.Object clone()
clone a @see Method object.
Overrides:
clone in class java.lang.Object
Returns:
a new @see Method object with the same content of the receiver.

toString

public java.lang.String toString()
the overriding toString() of java.lang.Object.
Overrides:
toString in class java.lang.Object
Returns:
a string of presenting the content of the receiver.
See Also: