public visitConstant ( |
||
constant | ||
arg | Object | |
return | Object |
public Object visitConstant(Constant constant, Object arg)
{
if (null != (substitution = abstractModulation.unifier.unify(toMatch, constant)))
{
if (abstractModulation.isValidMatch(toMatch, toMatchVariables, constant,
substitution))
{
matchingTerm = constant;
}
}
return constant;
}