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

◆ MoveToPrevious() [1/3]

override bool System.Xml.DocumentXPathNavigator.MoveToPrevious ( )
inline

Definition at line 685 of file DocumentXPathNavigator.cs.

686 {
688 if (xmlNode == null)
689 {
690 return false;
691 }
692 if (xmlNode.IsText)
693 {
694 if (_source.IsText)
695 {
697 if (xmlNode == null)
698 {
699 return false;
700 }
701 }
702 else
703 {
705 }
706 }
707 XmlNode parent = ParentNode(xmlNode);
708 while (!IsValidChild(parent, xmlNode))
709 {
711 if (xmlNode == null)
712 {
713 return false;
714 }
715 }
717 return true;
718 }
static bool IsValidChild(XmlNode parent, XmlNode child)
virtual bool IsText
Definition XmlNode.cs:344

References System.Xml.DocumentXPathNavigator._source, System.Xml.Dictionary, System.Xml.XmlNode.IsText, System.Xml.DocumentXPathNavigator.IsValidChild(), System.Xml.DocumentXPathNavigator.ParentNode(), System.Xml.DocumentXPathNavigator.PreviousSibling(), and System.Xml.DocumentXPathNavigator.TextStart().