Kernel Prolog with Fluent based Builtins

tarau.jinni
Class Sink

java.lang.Object
  |
  +--tarau.jinni.Term
        |
        +--tarau.jinni.Nonvar
              |
              +--tarau.jinni.SystemObject
                    |
                    +--tarau.jinni.Fluent
                          |
                          +--tarau.jinni.Sink
Direct Known Subclasses:
CharWriter, StringSink, TermCollector

public abstract class Sink
extends Fluent


Fields inherited from class tarau.jinni.Fluent
persistent
 
Fields inherited from class tarau.jinni.SystemObject
ctr, ordinal
 
Fields inherited from class tarau.jinni.Term
CONST, INT, JAVA, REAL, VAR
 
Constructor Summary
Sink(Prog p)
           
 
Method Summary
 Term collect()
           
abstract  int putElement(Term T)
           
 
Methods inherited from class tarau.jinni.Fluent
getPersistent, setPersistent, stop, trailMe, undo
 
Methods inherited from class tarau.jinni.SystemObject
bind_to, getArity, name, toString
 
Methods inherited from class tarau.jinni.Nonvar
eq, listify, unify_to
 
Methods inherited from class tarau.jinni.Term
action, charsToString, copy, exec, exec, fromString, getKey, isBuiltin, isClause, matches, matching_copy, numbervars, pprint, pprint, reaction, ref, stringToChars, toChars, toClause, token, toObject, toTerm, toUnquoted, unify, varsOf
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Sink

public Sink(Prog p)
Method Detail

putElement

public abstract int putElement(Term T)

collect

public Term collect()

Kernel Prolog with Fluent based Builtins