public class GeneralComparisonEE extends GeneralComparison
comparer, comparisonCardinality, doneWarnings, MANY_TO_MANY, MANY_TO_ONE, needsRuntimeCheck, ONE_TO_ONE, singletonOperatoroperatorEFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_COST, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description | 
|---|
GeneralComparisonEE(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(RebindingMap rebindings)
Copy an expression. 
 | 
boolean | 
effectiveBooleanValue(XPathContext context)
Evaluate the expression in a boolean context 
 | 
protected GeneralComparison | 
getInverseComparison()  | 
Expression | 
optimize(ExpressionVisitor visitor,
        ContextItemStaticInfo contextItemType)
Optimize the expression 
 | 
java.lang.String | 
tag()
Get the element name used to identify this expression in exported expression format 
 | 
call, compare, computeCardinality, convertsUntypedToOther, equals, evaluateItem, evaluateManyToMany, explainExtraAttributes, getAtomicComparer, getComparisonCardinality, getCorrespondingSingletonOperator, getExpressionName, getIntrinsicDependencies, getItemType, getNamespaceResolver, getSingletonOperator, getStaticUType, getStreamerName, needsRuntimeCheck, setAtomicComparer, setComparisonCardinality, setNeedsRuntimeCheck, typeCheckcomputeHashCode, computeSpecialProperties, displayOperator, export, getImplementationMethod, getLhs, getLhsExpression, getOperandRole, getOperator, getRhs, getRhsExpression, isAssociative, isCommutative, isInverse, operands, setFlattened, setLhsExpression, setRhsExpression, toShortString, toStringaddToPathMap, adoptChildExpression, allowExtractingCommonSubexpressions, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, dynamicError, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getConstructType, getCost, getDependencies, getEvaluationMethod, getExtraProperty, getIntegerBounds, getInterpretedExpression, getLocalRetainedStaticContext, getLocation, getNetCost, getObjectName, getPackageData, getParentExpression, getProperties, getProperty, getRetainedStaticContext, getScopingExpression, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStaticType, hasCompatibleStaticContext, hashCode, hasSpecialProperty, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isEqual, isIdentical, isInstruction, isLiftable, isMultiThreaded, isStaticPropertiesKnown, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterate, markTailFunctionCalls, operandList, operandSparseList, optimizeChildren, prepareForStreaming, process, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setExtraProperty, setFiltered, setLocation, setParentExpression, setRetainedStaticContext, setRetainedStaticContextLocally, setRetainedStaticContextThoroughly, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, typeCheckChildren, typeError, unordered, verifyParentPointersclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLhs, getLhsExpression, getRhs, getRhsExpressionpublic GeneralComparisonEE(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 optimize(ExpressionVisitor visitor, ContextItemStaticInfo contextItemType) throws XPathException
GeneralComparisonoptimize in class GeneralComparisonvisitor - an expression visitorcontextItemType - the static type of "." at the point where this expression is invoked.
                        The parameter is set to null if it is known statically that the context item will be undefined.
                        If the type of the context item is not known statically, the argument is set to
                        Type.ITEM_TYPEXPathException - if an error is discovered during this phase
                        (typically a type error)public Expression copy(RebindingMap rebindings)
Expressioncopy in class Expressionrebindings - a mutable list of (old binding, new binding) pairs
                   that is used to update the bindings held in any
                   local variable references that are copied.public boolean effectiveBooleanValue(XPathContext context) throws XPathException
effectiveBooleanValue in class GeneralComparisoncontext - the given context for evaluationXPathException - if any dynamic error occurs evaluating the
          expressionprotected GeneralComparison getInverseComparison()
getInverseComparison in class GeneralComparisonpublic java.lang.String tag()
GeneralComparisontag in class GeneralComparisonCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.