Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AbsoluteQuery.cs
Go to the documentation of this file.
2
4
5internal sealed class AbsoluteQuery : ContextQuery
6{
7 public AbsoluteQuery()
8 {
9 }
10
12 : base(other)
13 {
14 }
15
16 public override object Evaluate(XPathNodeIterator context)
17 {
18 contextNode = context.Current.Clone();
20 count = 0;
21 return this;
22 }
23
24 public override XPathNavigator MatchNode(XPathNavigator context)
25 {
26 if (context != null && context.NodeType == XPathNodeType.Root)
27 {
28 return context;
29 }
30 return null;
31 }
32
33 public override XPathNodeIterator Clone()
34 {
35 return new AbsoluteQuery(this);
36 }
37}
override XPathNavigator MatchNode(XPathNavigator context)
override object Evaluate(XPathNodeIterator context)
override XPathNodeIterator Clone()