public final class CurrentInput extends AbstractSingleResultPredicate
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 and Description |
---|
CurrentInput() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term argument) |
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAlwaysCutOnBacktrack
protected boolean evaluate(Term argument)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.