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

Variable Index

 o name
the name of the generic object

Constructor Index

 o GCObj()

Method Index

 o _new(KL1Machine, KL1Object[])
Creates generic objects.
 o active_unify(KL1Machine, KL1Object)
Performs an active unification.
 o deref()
Dereferences the object.
 o error_in_new(KL1Machine, String)
 o kl1_unify(KL1Machine, KL1Object, KL1Object)
 o make_hook_var()
Creates a hook variable.
 o make_hook_var(GCObj)
 o suspend_new(KL1Machine, Var, Class, KL1Object[])
 o unify_value(KL1Machine, KL1Object, KL1Object)

Variables

 o name
 public static String name
the name of the generic object

Constructors

 o GCObj
 public GCObj()

Methods

 o _new
 public static KL1Object _new(KL1Machine mach,
                              KL1Object argv[])
Creates generic objects.

 o 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.
 o deref
 public KL1Object deref()
Dereferences the object.

Overrides:
deref in class KL1Object
 o suspend_new
 protected static Var suspend_new(KL1Machine mach,
                                  Var reason,
                                  Class class_,
                                  KL1Object argv[])
 o error_in_new
 protected static void error_in_new(KL1Machine mach,
                                    String errmsg)
 o kl1_unify
 protected static void kl1_unify(KL1Machine mach,
                                 KL1Object x,
                                 KL1Object y)
 o unify_value
 protected static void unify_value(KL1Machine mach,
                                   KL1Object x,
                                   KL1Object y)
 o make_hook_var
 public Var make_hook_var()
Creates a hook variable.

Returns:
a variable to be created.
 o make_hook_var
 protected static Var make_hook_var(GCObj obj)

All Packages  Class Hierarchy  This Package  Previous  Next  Index