b30bce34c1e1f0e32966511d6318a3e40f4ea425
[mono.git] / mcs / class / referencesource / System.Xml / System / Xml / XPath / Internal / Filter.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="Filter.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>                                                                
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
7
8 namespace MS.Internal.Xml.XPath {
9     using System;
10     using System.Xml;
11     using System.Xml.XPath;
12     using System.Diagnostics;
13     using System.Globalization;
14
15     internal class Filter : AstNode {
16         private AstNode input;
17         private AstNode condition;
18
19         public Filter( AstNode input, AstNode condition) {
20             this.input = input;
21             this.condition = condition;
22         }
23
24         public override AstType         Type       { get { return AstType.Filter;          } }
25         public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
26
27         public AstNode Input     { get { return input;     } }
28         public AstNode Condition { get { return condition; } }
29     }
30 }