All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class prolog.lib._cut_0

java.lang.Object
   |
   +----prolog.Predicate
           |
           +----prolog.CompiledPredicate
                   |
                   +----prolog.lib._cut_0

public class _cut_0
extends CompiledPredicate
'!'/0: the cut. This is the unifier which actually prunes the stack.

See Also:
cut

Variable Index

 o cut
The cut Compound object.

Constructor Index

 o _cut_0()

Method Index

 o compile_call(ClauseCodeGen, Term[], boolean)
Compiles a call to this predicate.
 o exec(Term[], Prolog)
Implements the functionality of the call.
 o toString()

Variables

 o cut
 public static final Compound cut
The cut Compound object. This can be shared as there is no state involved.

Constructors

 o _cut_0
 public _cut_0()

Methods

 o exec
 public boolean exec(Term args[],
                     Prolog p)
Implements the functionality of the call.

Overrides:
exec in class CompiledPredicate
 o compile_call
 public boolean compile_call(ClauseCodeGen ccg,
                             Term args[],
                             boolean lastcall)
Compiles a call to this predicate.

Overrides:
compile_call in class Predicate
 o toString
 public String toString()
Overrides:
toString in class CompiledPredicate

All Packages  Class Hierarchy  This Package  Previous  Next  Index