net.sf.saxon.expr
public class ArithmeticExpression10 extends BinaryExpression
Constructor Summary | |
---|---|
ArithmeticExpression10(Expression p0, int operator, Expression p1)
Create an arithmetic expression to be evaluated in XPath 1.0 mode |
Method Summary | |
---|---|
Expression | copy()
Copy an expression. |
Item | evaluateItem(XPathContext context)
Evaluate the expression. |
ItemType | getItemType(TypeHierarchy th)
Determine the data type of the expression, if this is known statically |
boolean | isBackwardsCompatible()
Determine whether the expression is to be evaluated in backwards-compatible mode |
Expression | typeCheck(ExpressionVisitor visitor, ItemType contextItemType)
Type-check the expression statically. |
Parameters: p0 the first operand operator the operator, for example PLUS p1 the second operand
Returns: the copy of the original expression
Returns: true, always