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

◆ MoveToFollowing() [2/6]

override bool MS.Internal.Xml.Cache.XPathDocumentNavigator.MoveToFollowing ( string localName,
string namespaceURI,
XPathNavigator end )
inline

Definition at line 409 of file XPathDocumentNavigator.cs.

410 {
411 if ((object)localName != _atomizedLocalName)
412 {
413 _atomizedLocalName = ((localName != null) ? NameTable.Get(localName) : null);
414 }
415 XPathNode[] pageEnd;
417 if (_idxParent != 0)
418 {
419 if (!XPathNodeHelper.GetElementFollowing(ref _pageParent, ref _idxParent, pageEnd, followingEnd, _atomizedLocalName, namespaceURI))
420 {
421 return false;
422 }
425 _pageParent = null;
426 _idxParent = 0;
427 return true;
428 }
429 return XPathNodeHelper.GetElementFollowing(ref _pageCurrent, ref _idxCurrent, pageEnd, followingEnd, _atomizedLocalName, namespaceURI);
430 }
XPathDocumentNavigator(XPathNode[] pageCurrent, int idxCurrent, XPathNode[] pageParent, int idxParent)
int GetFollowingEnd(XPathDocumentNavigator end, bool useParentOfVirtual, out XPathNode[] pageEnd)
override? string Get(string value)
Definition NameTable.cs:79

References MS.Internal.Xml.Cache.XPathDocumentNavigator._atomizedLocalName, MS.Internal.Xml.Cache.XPathDocumentNavigator._idxCurrent, MS.Internal.Xml.Cache.XPathDocumentNavigator._idxParent, MS.Internal.Xml.Cache.XPathDocumentNavigator._pageCurrent, MS.Internal.Xml.Cache.XPathDocumentNavigator._pageParent, System.Xml.Dictionary, System.Xml.NameTable.Get(), MS.Internal.Xml.Cache.XPathNodeHelper.GetElementFollowing(), and MS.Internal.Xml.Cache.XPathDocumentNavigator.GetFollowingEnd().

Referenced by MS.Internal.Xml.Cache.XPathDocumentElementDescendantIterator.MoveNext(), and MS.Internal.Xml.Cache.XPathDocumentKindDescendantIterator.MoveNext().