Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
XPathSelfQuery.cs
Go to the documentation of this file.
2
4
5internal sealed class XPathSelfQuery : BaseAxisQuery
6{
7 public XPathSelfQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type)
8 : base(qyInput, Name, Prefix, Type)
9 {
10 }
11
13 : base(other)
14 {
15 }
16
17 public override XPathNavigator Advance()
18 {
19 while ((currentNode = qyInput.Advance()) != null)
20 {
22 {
23 position = 1;
24 return currentNode;
25 }
26 }
27 return null;
28 }
29
30 public override XPathNodeIterator Clone()
31 {
32 return new XPathSelfQuery(this);
33 }
34}
virtual bool matches(XPathNavigator e)
XPathNavigator Advance()
XPathSelfQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type)
override XPathNodeIterator Clone()
override XPathNavigator Advance()