All Packages Class Hierarchy This Package Previous Next Index
Class kl1.lang.GModule
java.lang.Object
|
+----kl1.lang.KL1Object
|
+----kl1.lang.GDObj
|
+----kl1.lang.GModule
- public final class GModule
- extends GDObj
This class represents a module object.
- Author:
- Satoshi KURAMOCHI
-
name_
- the name of the module
-
GModule(Module, String)
- Constructs a module object.
-
()
-
-
_new(KL1Machine, KL1Object[])
- Creates generic objects.
-
generic(KL1Machine, String, KL1Object[])
- Calls generic method.
-
ggeneric(String, KL1Object[])
- Calls guard generic method.
-
gunify(GDObj)
-
-
print()
- Prints the information of the object.
-
unify(KL1Machine, KL1Object)
- Unifies this object and
that
.
name_
public String name_
- the name of the module
GModule
public GModule(Module module,
String name_)
- Constructs a module object.
- Parameters:
- module - the module.
- name_ - the name of the module.
static void ()
gunify
public KL1Object gunify(GDObj that)
unify
public void unify(KL1Machine mach,
KL1Object that)
- Unifies this object and
that
.
- Overrides:
- unify in class GDObj
generic
public void generic(KL1Machine mach,
String method,
KL1Object argv[])
- Calls generic method.
- Overrides:
- generic in class GDObj
print
public String print()
- Prints the information of the object.
- Overrides:
- print in class KL1Object
ggeneric
public KL1Object ggeneric(String method,
KL1Object argv[])
- Calls guard generic method.
- Overrides:
- ggeneric in class GDObj
_new
public static KL1Object _new(KL1Machine mach,
KL1Object argv[])
- Creates generic objects.
All Packages Class Hierarchy This Package Previous Next Index