public class BindableVar extends AbstractVar
| Modifier and Type | Method and Description |
|---|---|
Term |
getBinding() |
String |
getName() |
AbstractVar |
getVar() |
VarCell |
getVarCell() |
boolean |
isAnonymous() |
Term |
preCompile(Environment env) |
Term |
prepareForFrame(Environment env) |
Term |
prepareForQuery(Environment env) |
boolean |
termEquals(Term term)
Test if this object is equivalent to the term representation of the object sent as parameter
This is not testing for equality in a mathematical sense, for example:
'new Variable("_").equals(new Variable("_"))'
is false, since both the receiver and the arguments are anonymous variables, not the same variable.
|
void |
unify(Term term) |
accept, basicRead, equals, getVariableNames, hasFunctor, isGround, toEscapedString, toString, toStringarg, arity, asList, basicIsList, canUnify, changeVariablesNames, compile, compile, compile, compile, compileAndUnify, compileAndUnifyVars, getArgs, getNamedVariables, getNamedVariablesNames, getNonUnderscoreVariableNames, getNonUnderscoreVariables, getVariableNames, getVariables, hasFunctor, hasFunctor, hasFunctor, hasFunctor, hasVariable, isHilog, isList, listLength, prepareForFrame, prepareForQuery, read, read, replaceVariables, resolveBindings, termEquals, termExpansion, toEscapedString, toEscapedString, unifyAndBind, varBindingspublic Term getBinding()
public boolean termEquals(Term term)
TermtermEquals in class Termpublic Term preCompile(Environment env)
preCompile in class Termpublic Term prepareForQuery(Environment env)
prepareForQuery in class Termpublic Term prepareForFrame(Environment env)
prepareForFrame in class Termpublic boolean isAnonymous()
isAnonymous in class AbstractVarpublic String getName()
getName in class AbstractVarpublic VarCell getVarCell()
public AbstractVar getVar()
Copyright © 2014. All rights reserved.