Example #1
0
			private void InitializeOperators()
			{
				stackVariable2 = new string[31, 2];
				stackVariable2[0, 0] = "UnaryNegation";
				stackVariable2[0, 1] = "-";
				stackVariable2[1, 0] = "UnaryPlus";
				stackVariable2[1, 1] = "+";
				stackVariable2[2, 0] = "LogicalNot";
				stackVariable2[2, 1] = "Not";
				stackVariable2[3, 0] = "True";
				stackVariable2[3, 1] = "IsTrue";
				stackVariable2[4, 0] = "False";
				stackVariable2[4, 1] = "IsFalse";
				stackVariable2[5, 0] = "AddressOf";
				stackVariable2[5, 1] = "&";
				stackVariable2[6, 0] = "OnesComplement";
				stackVariable2[6, 1] = "Not";
				stackVariable2[7, 0] = "PointerDereference";
				stackVariable2[7, 1] = "*";
				stackVariable2[8, 0] = "Addition";
				stackVariable2[8, 1] = "+";
				stackVariable2[9, 0] = "Subtraction";
				stackVariable2[9, 1] = "-";
				stackVariable2[10, 0] = "Multiply";
				stackVariable2[10, 1] = "*";
				stackVariable2[11, 0] = "Division";
				stackVariable2[11, 1] = "/";
				stackVariable2[12, 0] = "Modulus";
				stackVariable2[12, 1] = "Mod";
				stackVariable2[13, 0] = "ExclusiveOr";
				stackVariable2[13, 1] = "Xor";
				stackVariable2[14, 0] = "BitwiseAnd";
				stackVariable2[14, 1] = "And";
				stackVariable2[15, 0] = "BitwiseOr";
				stackVariable2[15, 1] = "Or";
				stackVariable2[16, 0] = "LogicalAnd";
				stackVariable2[16, 1] = "AndAlso";
				stackVariable2[17, 0] = "LogicalOr";
				stackVariable2[17, 1] = "OrElse";
				stackVariable2[18, 0] = "LeftShift";
				stackVariable2[18, 1] = "<<";
				stackVariable2[19, 0] = "RightShift";
				stackVariable2[19, 1] = ">>";
				stackVariable2[20, 0] = "Equality";
				stackVariable2[20, 1] = "=";
				stackVariable2[21, 0] = "GreaterThan";
				stackVariable2[21, 1] = ">";
				stackVariable2[22, 0] = "LessThan";
				stackVariable2[22, 1] = "<";
				stackVariable2[23, 0] = "Inequality";
				stackVariable2[23, 1] = "<>";
				stackVariable2[24, 0] = "GreaterThanOrEqual";
				stackVariable2[24, 1] = ">=";
				stackVariable2[25, 0] = "LessThanOrEqual";
				stackVariable2[25, 1] = "<=";
				stackVariable2[26, 0] = "MemberSelection";
				stackVariable2[26, 1] = "->";
				stackVariable2[27, 0] = "PointerToMemberSelection";
				stackVariable2[27, 1] = "->*";
				stackVariable2[28, 0] = "Comma";
				stackVariable2[28, 1] = ",";
				stackVariable2[29, 0] = "Implicit";
				stackVariable2[29, 1] = "CType";
				stackVariable2[30, 0] = "Explicit";
				stackVariable2[30, 1] = "CType";
				V_0 = stackVariable2;
				V_2 = 0;
				while (V_2 < V_0.GetLength(0))
				{
					this.operators.Add(V_0[V_2, 0], V_0[V_2, 1]);
					V_2 = V_2 + 1;
				}
				stackVariable208 = new String[9];
				stackVariable208[0] = "And";
				stackVariable208[1] = "Or";
				stackVariable208[2] = "Xor";
				stackVariable208[3] = "AndAlso";
				stackVariable208[4] = "OrElse";
				stackVariable208[5] = "Mod";
				stackVariable208[6] = "Is";
				stackVariable208[7] = "IsNot";
				stackVariable208[8] = "Not";
				V_1 = stackVariable208;
				V_3 = 0;
				while (V_3 < (int)V_1.Length)
				{
					dummyVar0 = this.operatorKeywords.Add(V_1[V_3]);
					V_3 = V_3 + 1;
				}
				return;
			}
Example #2
0
			private void InitializeOperators()
			{
				stackVariable2 = new string[29, 2];
				stackVariable2[0, 0] = "Decrement";
				stackVariable2[0, 1] = "--";
				stackVariable2[1, 0] = "Increment";
				stackVariable2[1, 1] = "++";
				stackVariable2[2, 0] = "UnaryNegation";
				stackVariable2[2, 1] = "-";
				stackVariable2[3, 0] = "UnaryPlus";
				stackVariable2[3, 1] = "+";
				stackVariable2[4, 0] = "LogicalNot";
				stackVariable2[4, 1] = "!";
				stackVariable2[5, 0] = "OnesComplement";
				stackVariable2[5, 1] = "~";
				stackVariable2[6, 0] = "True";
				stackVariable2[6, 1] = "true";
				stackVariable2[7, 0] = "False";
				stackVariable2[7, 1] = "false";
				stackVariable2[8, 0] = "Addition";
				stackVariable2[8, 1] = "+";
				stackVariable2[9, 0] = "Subtraction";
				stackVariable2[9, 1] = "-";
				stackVariable2[10, 0] = "Multiply";
				stackVariable2[10, 1] = "*";
				stackVariable2[11, 0] = "Division";
				stackVariable2[11, 1] = "/";
				stackVariable2[12, 0] = "Modulus";
				stackVariable2[12, 1] = "%";
				stackVariable2[13, 0] = "ExclusiveOr";
				stackVariable2[13, 1] = "^";
				stackVariable2[14, 0] = "BitwiseAnd";
				stackVariable2[14, 1] = "&";
				stackVariable2[15, 0] = "BitwiseOr";
				stackVariable2[15, 1] = "|";
				stackVariable2[16, 0] = "LeftShift";
				stackVariable2[16, 1] = "<<";
				stackVariable2[17, 0] = "RightShift";
				stackVariable2[17, 1] = ">>";
				stackVariable2[18, 0] = "Equality";
				stackVariable2[18, 1] = "==";
				stackVariable2[19, 0] = "GreaterThan";
				stackVariable2[19, 1] = ">";
				stackVariable2[20, 0] = "LessThan";
				stackVariable2[20, 1] = "<";
				stackVariable2[21, 0] = "Inequality";
				stackVariable2[21, 1] = "!=";
				stackVariable2[22, 0] = "GreaterThanOrEqual";
				stackVariable2[22, 1] = ">=";
				stackVariable2[23, 0] = "LessThanOrEqual";
				stackVariable2[23, 1] = "<=";
				stackVariable2[24, 0] = "MemberSelection";
				stackVariable2[24, 1] = "->";
				stackVariable2[25, 0] = "PointerToMemberSelection";
				stackVariable2[25, 1] = "->*";
				stackVariable2[26, 0] = "Comma";
				stackVariable2[26, 1] = ",";
				stackVariable2[27, 0] = "Implicit";
				stackVariable2[27, 1] = "";
				stackVariable2[28, 0] = "Explicit";
				stackVariable2[28, 1] = "";
				V_0 = stackVariable2;
				V_1 = 0;
				while (V_1 < V_0.GetLength(0))
				{
					this.operators.Add(V_0[V_1, 0], V_0[V_1, 1]);
					V_1 = V_1 + 1;
				}
				return;
			}