//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//------------------------------------------------------------------------------
using System;
using System.Collections;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Xsl;
namespace System.Xml.Xsl.Qil {
///
/// View over a Qil choice operator.
///
///
/// Don't construct QIL nodes directly; instead, use the QilFactory.
///
internal class QilChoice : QilBinary {
//-----------------------------------------------
// Constructor
//-----------------------------------------------
///
/// Construct a new node
///
public QilChoice(QilNodeType nodeType, QilNode expression, QilNode branches) : base(nodeType, expression, branches) {
}
//-----------------------------------------------
// QilChoice methods
//-----------------------------------------------
public QilNode Expression {
get { return Left; }
set { Left = value; }
}
public QilList Branches {
get { return (QilList) Right; }
set { Right = value; }
}
}
}