Class GeneralComparison10

All Implemented Interfaces:
Serializable, SourceLocator, Container, Expression, InstructionInfoProvider

public class GeneralComparison10 extends BinaryExpression
GeneralComparison10: a boolean expression that compares two expressions for equals, not-equals, greater-than or less-than. This implements the operators =, !=, invalid input: '<', >, etc. This version of the class implements general comparisons in XPath 1.0 backwards compatibility mode, as defined in the Oct 2004 revision of the specifications.
See Also:
  • Field Details

    • singletonOperator

      protected int singletonOperator
    • comparer

      protected AtomicComparer comparer
  • Constructor Details

    • GeneralComparison10

      public GeneralComparison10(Expression p0, int op, Expression p1)
      Create a general comparison identifying the two operands and the operator
      Parameters:
      p0 - the left-hand operand
      op - the operator, as a token returned by the Tokenizer (e.g. Token.LT)
      p1 - the right-hand operand
  • Method Details