Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ForwardPositionQuery.cs
Go to the documentation of this file.
2
4
6{
8 : base(input)
9 {
10 }
11
13 : base(other)
14 {
15 }
16
17 public override object Evaluate(XPathNodeIterator context)
18 {
19 base.Evaluate(context);
20 XPathNavigator xPathNavigator;
21 while ((xPathNavigator = input.Advance()) != null)
22 {
23 outputBuffer.Add(xPathNavigator.Clone());
24 }
25 return this;
26 }
27
28 public override XPathNavigator MatchNode(XPathNavigator context)
29 {
30 return input.MatchNode(context);
31 }
32
33 public override XPathNodeIterator Clone()
34 {
35 return new ForwardPositionQuery(this);
36 }
37}
override object Evaluate(XPathNodeIterator context)
override XPathNavigator MatchNode(XPathNavigator context)
virtual XPathNavigator MatchNode(XPathNavigator current)
Definition Query.cs:60
XPathNavigator Advance()