Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ moveToCount()

bool System.Xml.Xsl.XsltOld.NumberAction.moveToCount ( XPathNavigator nav,
Processor processor,
XPathNavigator contextNode )
inlineprivate

Definition at line 323 of file NumberAction.cs.

324 {
325 do
326 {
327 if (_fromKey != -1 && processor.Matches(nav, _fromKey))
328 {
329 return false;
330 }
331 if (MatchCountKey(processor, contextNode, nav))
332 {
333 return true;
334 }
335 }
336 while (nav.MoveToParent());
337 return false;
338 }
bool MatchCountKey(Processor processor, XPathNavigator contextNode, XPathNavigator nav)

References System.Xml.Xsl.XsltOld.NumberAction._fromKey, System.Xml.Xsl.XsltOld.NumberAction.MatchCountKey(), and System.Xml.XPath.XPathNavigator.MoveToParent().

Referenced by System.Xml.Xsl.XsltOld.NumberAction.Execute().