1 //------------------------------------------------------------------------------
2 // <copyright file="Variable.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;
13 internal class Variable : AstNode {
14 private string localname;
15 private string prefix;
17 public Variable(string name, string prefix) {
18 this.localname = name;
22 public override AstType Type { get {return AstType.Variable ; } }
23 public override XPathResultType ReturnType { get {return XPathResultType.Any; } }
25 public string Localname { get { return localname; } }
26 public string Prefix { get { return prefix; } }