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