The Labs \ Source Viewer \ SSCLI \ System.Xml.Xsl.XPath \ XPathOperator

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XPathOperator.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.Xml.Xsl.XPath
  16. {
  17.     // order is importent. We are using them as an index in OperatorGroup & QilOperator & XPathOperatorToQilNodeType arrays
  18.     // (ValEq - Eq) == (ValGe - Ge)
  19.     internal enum XPathOperator
  20.     {
  21. /*Unknown  */       
  22.         Unknown = 0,
  23.         // XPath 1.0 operators:
  24. /*Logical  */       
  25.         Or,
  26.         And,
  27. /*Equality  */       
  28.         Eq,
  29.         Ne,
  30. /*Relational*/       
  31.         Lt,
  32.         Le,
  33.         Gt,
  34.         Ge,
  35. /*Arithmetic*/       
  36.         Plus,
  37.         Minus,
  38.         Multiply,
  39.         Divide,
  40.         Modulo,
  41. /*Negate    */       
  42.         UnaryMinus,
  43. /*Union    */       
  44.         Union,
  45.         LastXPath1Operator = Union,
  46. /* XQuery & XPath 2.0 Operators: */       
  47.         UnaryPlus,
  48.         Idiv,
  49.         Is,
  50.         After,
  51.         Before,
  52.         Range,
  53.         Except,
  54.         Intersect,
  55.         ValEq,
  56.         ValNe,
  57.         ValLt,
  58.         ValLe,
  59.         ValGt,
  60.         ValGe
  61.     }
  62. }

Developer Fusion