Mercurial > pub > bltoolkit
comparison Source/Data/Sql/Precedence.cs @ 0:f990fcb411a9
Копия текущей версии из github
| author | cin |
|---|---|
| date | Thu, 27 Mar 2014 21:46:09 +0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:f990fcb411a9 |
|---|---|
| 1 using System; | |
| 2 | |
| 3 namespace BLToolkit.Data.Sql | |
| 4 { | |
| 5 public class Precedence | |
| 6 { | |
| 7 public const int Primary = 100; // (x) x.y f(x) a[x] x++ x-- new typeof sizeof checked unchecked | |
| 8 public const int Unary = 90; // + - ! ++x --x (T)x | |
| 9 public const int Multiplicative = 80; // * / % | |
| 10 public const int Subtraction = 70; // - | |
| 11 public const int Additive = 60; // + | |
| 12 public const int Comparison = 50; // ANY ALL SOME EXISTS, IS [NOT], IN, BETWEEN, LIKE, < > <= >=, == != | |
| 13 public const int Bitwise = 40; // ^ | |
| 14 public const int LogicalNegation = 30; // NOT | |
| 15 public const int LogicalConjunction = 20; // AND | |
| 16 public const int LogicalDisjunction = 10; // OR | |
| 17 public const int Unknown = 0; | |
| 18 } | |
| 19 } |
