public abstract class ExprFunction2 extends ExprFunction
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL
Modifier and Type | Method and Description |
---|---|
Expr |
apply(ExprTransform transform,
Expr arg1,
Expr arg2) |
Expr |
applyNodeTransform(NodeTransform transform)
Rewrite, applying a node->node transformation
|
abstract Expr |
copy(Expr arg1,
Expr arg2) |
Expr |
copySubstitute(Binding binding,
boolean foldConstants) |
NodeValue |
eval(Binding binding,
FunctionEnv env)
Evaluate this expression against the binding
|
abstract NodeValue |
eval(NodeValue x,
NodeValue y) |
NodeValue |
eval(NodeValue x,
NodeValue y,
FunctionEnv env) |
Expr |
getArg(int i) |
Expr |
getArg1() |
Expr |
getArg2() |
int |
hashCode() |
int |
numArgs() |
void |
visit(ExprVisitor visitor) |
equals, getArgs, getFunction, getFunctionIRI, getFunctionName, getFunctionPrintName, getFunctionSymbol, getOpName, isFunction
asVar, copySubstitute, deepCopy, getConstant, getExpr, getExprVar, getGraphPattern, getVarName, getVarNamesMentioned, getVarsMentioned, isConstant, isExpr, isGraphPattern, isSatisfied, isVariable, toString, varNamesMentioned, varsMentioned
public Expr getArg1()
public Expr getArg2()
public Expr getArg(int i)
getArg
in class ExprFunction
public int numArgs()
numArgs
in class ExprFunction
public int hashCode()
hashCode
in class ExprFunction
public final NodeValue eval(Binding binding, FunctionEnv env)
Expr
public NodeValue eval(NodeValue x, NodeValue y, FunctionEnv env)
public final Expr copySubstitute(Binding binding, boolean foldConstants)
copySubstitute
in interface Expr
copySubstitute
in class ExprNode
public final Expr applyNodeTransform(NodeTransform transform)
Expr
applyNodeTransform
in interface Expr
applyNodeTransform
in class ExprNode
public void visit(ExprVisitor visitor)
public Expr apply(ExprTransform transform, Expr arg1, Expr arg2)
Licenced under the Apache License, Version 2.0