1 //------------------------------------------------------------------------------
2 // <copyright file="Filter.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace MS.Internal.Xml.XPath {
11 using System.Xml.XPath;
12 using System.Diagnostics;
13 using System.Globalization;
15 internal class Filter : AstNode {
16 private AstNode input;
17 private AstNode condition;
19 public Filter( AstNode input, AstNode condition) {
21 this.condition = condition;
24 public override AstType Type { get { return AstType.Filter; } }
25 public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
27 public AstNode Input { get { return input; } }
28 public AstNode Condition { get { return condition; } }