blob: b272e0e5c80fdf9585a6d457246c515bbc5c32d1 (
plain)
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
63
64
65
66
67
68
69
|
//
// System.CodeDom CodeBinaryOperatorExpression Class implementation
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
//
// (C) 2001 Ximian, Inc.
//
using System.Runtime.InteropServices;
namespace System.CodeDom
{
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class CodeBinaryOperatorExpression
: CodeExpression
{
private CodeExpression left, right;
private CodeBinaryOperatorType op;
//
// Constructors
//
public CodeBinaryOperatorExpression ()
{
}
public CodeBinaryOperatorExpression (CodeExpression left,
CodeBinaryOperatorType op,
CodeExpression right)
{
this.left = left;
this.op = op;
this.right = right;
}
//
// Properties
//
public CodeExpression Left {
get {
return left;
}
set {
left = value;
}
}
public CodeBinaryOperatorType Operator {
get {
return op;
}
set {
op = value;
}
}
public CodeExpression Right {
get {
return right;
}
set {
right = value;
}
}
}
}
|