public class GeneralComparison20 extends GeneralComparison
comparer, needsRuntimeCheck, singletonOperatoroperand0, operand1, operatorEVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, PUSH_SELECTION, staticProperties, WATCH_METHOD| Constructor and Description |
|---|
GeneralComparison20(Expression p0,
int op,
Expression p1)
Create a relational expression identifying the two operands and the operator
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
copy()
Copy an expression.
|
protected GeneralComparison |
getInverseComparison() |
Expression |
simplify(ExpressionVisitor visitor)
Simplify an expression
|
compare, computeCardinality, convertsUntypedToOther, effectiveBooleanValue, evaluateItem, explainExtraAttributes, getAtomicComparer, getExpressionName, getItemType, getSingletonOperator, optimize, setAtomicComparer, typeCheckcomputeSpecialProperties, displayOperator, equals, explain, getOperands, getOperator, hashCode, isAssociative, isCommutative, isInverse, iterateSubExpressions, promote, replaceSubExpression, setFlattened, toStringaddToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterate, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setLocationId, staticTypeCheck, suppressValidation, typeErrorclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOperandspublic GeneralComparison20(Expression p0, int op, Expression p1)
p0 - the left-hand operandop - the operator, as a token returned by the Tokenizer (e.g. Token.LT)p1 - the right-hand operandpublic Expression simplify(ExpressionVisitor visitor) throws XPathException
BinaryExpressionsimplify in class GeneralComparisonvisitor - an expression visitorXPathException - if an error is discovered during expression
rewritingpublic Expression copy()
copy in class GeneralComparisonprotected GeneralComparison getInverseComparison()
getInverseComparison in class GeneralComparison