All Packages Class Hierarchy This Package Previous Next Index
Class kl1.lang.GCObj
java.lang.Object
|
+----kl1.lang.KL1Object
|
+----kl1.lang.GCObj
- public abstract class GCObj
- extends KL1Object
This class is an abstract class for generic consumer object.
- Author:
- Satoshi KURAMOCHI
-
name
- the name of the generic object
-
GCObj()
-
-
_new(KL1Machine, KL1Object[])
- Creates generic objects.
-
active_unify(KL1Machine, KL1Object)
- Performs an active unification.
-
deref()
- Dereferences the object.
-
error_in_new(KL1Machine, String)
-
-
kl1_unify(KL1Machine, KL1Object, KL1Object)
-
-
make_hook_var()
- Creates a hook variable.
-
make_hook_var(GCObj)
-
-
suspend_new(KL1Machine, Var, Class, KL1Object[])
-
-
unify_value(KL1Machine, KL1Object, KL1Object)
-
name
public static String name
- the name of the generic object
GCObj
public GCObj()
_new
public static KL1Object _new(KL1Machine mach,
KL1Object argv[])
- Creates generic objects.
active_unify
public KL1Object active_unify(KL1Machine mach,
KL1Object that)
- Performs an active unification.
- Parameters:
- that - the object with which to unify.
- Returns:
- true if succeeds; false if fails.
deref
public KL1Object deref()
- Dereferences the object.
- Overrides:
- deref in class KL1Object
suspend_new
protected static Var suspend_new(KL1Machine mach,
Var reason,
Class class_,
KL1Object argv[])
error_in_new
protected static void error_in_new(KL1Machine mach,
String errmsg)
kl1_unify
protected static void kl1_unify(KL1Machine mach,
KL1Object x,
KL1Object y)
unify_value
protected static void unify_value(KL1Machine mach,
KL1Object x,
KL1Object y)
make_hook_var
public Var make_hook_var()
- Creates a hook variable.
- Returns:
- a variable to be created.
make_hook_var
protected static Var make_hook_var(GCObj obj)
All Packages Class Hierarchy This Package Previous Next Index