The Labs \ Source Viewer \ SSCLI \ Microsoft.JScript \ OpPrec

  1. // ==++==
  2. //
  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. //
  14. // ==--==
  15. //***************************************************************************************
  16. //Used by the Parser to parse expressions
  17. //***************************************************************************************
  18. namespace Microsoft.JScript
  19. {
  20.    
  21.     internal enum OpPrec
  22.     {
  23.         precNone,
  24.         precSeqEval,
  25.         // these first two are not used
  26.         precAssignment,
  27.         precConditional,
  28.         precLogicalOr,
  29.         precLogicalAnd,
  30.         precBitwiseOr,
  31.         precBitwiseXor,
  32.         precBitwiseAnd,
  33.         precEquality,
  34.         precRelational,
  35.         precShift,
  36.         precAdditive,
  37.         precMultiplicative
  38.     }
  39. }

Developer Fusion