#include "value.h"
#pragma interface

#ifndef METHOD_H
#define METHOD_H

#include "List.h"

class Method {
  friend class Value;
  friend class Val_List;
  friend class Value_Stack;
  friend class Frame;
 public:
  Method(Val_List*, Value*);
  ~Method();
  char* pack_method (char* buf);
  Method* copy();
 protected:
  Val_List* symlist;
  Value* expr;
};

#endif  /* METHOD_H */