Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
1.9 KiB

  1. // Copyright (c) 1993-1999 Microsoft Corporation
  2. #ifndef __OPERATOR_HXX__
  3. #define __OPERATOR_HXX__
  4. //
  5. // operator identifier definitions.
  6. //
  7. typedef enum _operators
  8. {
  9. OP_START
  10. ,OP_ILLEGAL = OP_START
  11. ,OP_UNARY_START
  12. ,OP_UNARY_ARITHMETIC_START = OP_UNARY_START
  13. ,OP_UNARY_PLUS = OP_UNARY_ARITHMETIC_START
  14. ,OP_UNARY_MINUS
  15. ,OP_UNARY_ARITHMETIC_END
  16. ,OP_UNARY_LOGICAL_START = OP_UNARY_ARITHMETIC_END
  17. ,OP_UNARY_NOT = OP_UNARY_LOGICAL_START
  18. ,OP_UNARY_COMPLEMENT
  19. ,OP_UNARY_LOGICAL_END
  20. ,OP_UNARY_INDIRECTION = OP_UNARY_LOGICAL_END
  21. ,OP_UNARY_CAST
  22. ,OP_UNARY_AND
  23. ,OP_UNARY_SIZEOF
  24. ,OP_UNARY_ALIGNOF
  25. ,OP_PRE_INCR
  26. ,OP_PRE_DECR
  27. ,OP_POST_INCR
  28. ,OP_POST_DECR
  29. ,OP_UNARY_END
  30. ,OP_BINARY_START = OP_UNARY_END
  31. ,OP_BINARY_ARITHMETIC_START = OP_BINARY_START
  32. ,OP_PLUS = OP_BINARY_ARITHMETIC_START
  33. ,OP_MINUS
  34. ,OP_STAR
  35. ,OP_SLASH
  36. ,OP_MOD
  37. ,OP_BINARY_ARITHMETIC_END
  38. ,OP_BINARY_SHIFT_START = OP_BINARY_ARITHMETIC_END
  39. ,OP_LEFT_SHIFT = OP_BINARY_SHIFT_START
  40. ,OP_RIGHT_SHIFT
  41. ,OP_BINARY_SHIFT_END
  42. ,OP_BINARY_RELATIONAL_START = OP_BINARY_SHIFT_END
  43. ,OP_LESS = OP_BINARY_RELATIONAL_START
  44. ,OP_LESS_EQUAL
  45. ,OP_GREATER_EQUAL
  46. ,OP_GREATER
  47. ,OP_EQUAL
  48. ,OP_NOT_EQUAL
  49. ,OP_BINARY_RELATIONAL_END
  50. ,OP_BINARY_BITWISE_START = OP_BINARY_RELATIONAL_END
  51. ,OP_AND = OP_BINARY_BITWISE_START
  52. ,OP_OR
  53. ,OP_XOR
  54. ,OP_BINARY_BITWISE_END
  55. ,OP_BINARY_LOGICAL_START = OP_BINARY_BITWISE_END
  56. ,OP_LOGICAL_AND = OP_BINARY_LOGICAL_START
  57. ,OP_LOGICAL_OR
  58. ,OP_BINARY_LOGICAL_END
  59. ,OP_BINARY_TERNARY_START = OP_BINARY_LOGICAL_END
  60. ,OP_QM = OP_BINARY_TERNARY_START
  61. ,OP_COLON
  62. ,OP_BINARY_TERNARY_END
  63. ,OP_BINARY_END = OP_BINARY_TERNARY_END
  64. ,OP_INTERNAL_START = OP_BINARY_END
  65. ,OP_FUNCTION
  66. ,OP_PARAM
  67. ,OP_POINTSTO
  68. ,OP_DOT
  69. ,OP_INDEX
  70. ,OP_COMMA
  71. ,OP_STMT
  72. ,OP_ASSIGN
  73. ,OP_END
  74. } OPERATOR;
  75. #endif // __OPERATOR_HXX__