01: package dclass;
02:
03: import jsint.Procedure;
04:
05: /** The metaclass Class. **/
06: public class Class extends Modified {
07: public Object extending;
08: public Object implementing;
09: public boolean isInterface;
10: public Object clauses;
11:
12: public Class(Object modifiers, boolean isInterface, Object name,
13: Object extending, Object implementing) {
14: this .modifiers = modifiers;
15: this .isInterface = isInterface;
16: this .name = name;
17: this .extending = extending;
18: this .implementing = implementing;
19: }
20:
21: public String toString() {
22: return "{" + modifiers + " "
23: + ((isInterface) ? " interface " : " class ") + " "
24: + name + " " + extending + " " + implementing + "}";
25: }
26:
27: }
|