Class CurrentInput
java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.io.CurrentInput
- All Implemented Interfaces:
KnowledgeBaseConsumer,PredicateFactory
current_input(X) - match a term to the current input stream.
current_input(X) succeeds if the name of the current input stream matches with X, else
fails.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.projog.core.predicate.AbstractSingleResultPredicate
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projog.core.predicate.PredicateFactory
isAlwaysCutOnBacktrack
-
Constructor Details
-
CurrentInput
public CurrentInput()
-
-
Method Details
-
evaluate
- Overrides:
evaluatein classAbstractSingleResultPredicate
-