Repository navigation
Expand file tree
/
Copy pathBinaryExpressionType.cs
More file actions
62 lines (60 loc) · 1.8 KB
/
Copy pathBinaryExpressionType.cs
File metadata and controls
62 lines (60 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//------------------------------------------------------------------------------
// <copyright file="BinaryExpressionType.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
namespace Microsoft.SqlServer.TransactSql.ScriptDom
{
/// <summary>
/// The types of scalar expressions that have two expressions as children.
/// </summary>
[Serializable]
public enum BinaryExpressionType
{
/// <summary>
/// The '+' character, addition.
/// </summary>
Add = 0,
/// <summary>
/// The '-' character, subtraction.
/// </summary>
Subtract = 1,
/// <summary>
/// The '*' character, multiplication.
/// </summary>
Multiply = 2,
/// <summary>
/// The '/' character, division.
/// </summary>
Divide = 3,
/// <summary>
/// The '%' character, returns the integer remainder of a division.
/// </summary>
Modulo = 4,
/// <summary>
/// The '&' character, bitwise and.
/// </summary>
BitwiseAnd = 5,
/// <summary>
/// The '|' character, bitwise or.
/// </summary>
BitwiseOr = 6,
/// <summary>
/// The '^' character, bitwise exclusive or.
/// </summary>
BitwiseXor = 7,
/// <summary>
/// The '<<' character, left shift.
/// </summary>
LeftShift = 8,
/// <summary>
/// The '>>' character, right shift.
/// </summary>
RightShift = 9,
/// <summary>
/// The '||' character, concatenation.
/// </summary>
Concat = 10
}
}