diff Source/Data/Sql/Precedence.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Source/Data/Sql/Precedence.cs	Thu Mar 27 21:46:09 2014 +0400
@@ -0,0 +1,19 @@
+using System;
+
+namespace BLToolkit.Data.Sql
+{
+	public class Precedence
+	{
+		public const int Primary            = 100; // (x) x.y f(x) a[x] x++ x-- new typeof sizeof checked unchecked
+		public const int Unary              =  90; // + - ! ++x --x (T)x
+		public const int Multiplicative     =  80; // * / %
+		public const int Subtraction        =  70; // -
+		public const int Additive           =  60; // +
+		public const int Comparison         =  50; // ANY ALL SOME EXISTS, IS [NOT], IN, BETWEEN, LIKE, < > <= >=, == !=
+		public const int Bitwise            =  40; // ^
+		public const int LogicalNegation    =  30; // NOT
+		public const int LogicalConjunction =  20; // AND
+		public const int LogicalDisjunction =  10; // OR
+		public const int Unknown            =   0;
+	}
+}