Files
mono/mcs/class/System/System.CodeDom/CodeBinaryOperatorExpression.cs
T
2002-05-11 15:44:41 +00:00

70 lines
1.0 KiB
C#
Executable File

//
// System.CodeDom CodeBinaryOperatorExpression Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (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;
}
}
}
}