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

◆ AddSibling()

void MS.Internal.Xml.Cache.XPathDocumentBuilder.AddSibling ( XPathNodeType xptyp,
string localName,
string namespaceUri,
string prefix,
string baseUri )
inlineprivate

Definition at line 557 of file XPathDocumentBuilder.cs.

558 {
559 if (_textBldr.HasText)
560 {
562 }
563 XPathNode[] page;
564 int idxSibling = NewNode(out page, xptyp, localName, namespaceUri, prefix, baseUri);
565 if (_idxParent != 0)
566 {
568 if (_idxSibling != 0)
569 {
571 }
572 }
575 }
int NewNode(out XPathNode[] page, XPathNodeType xptyp, string localName, string namespaceUri, string prefix, string baseUri)
void SetSibling(XPathNodeInfoTable infoTable, XPathNode[] pageSibling, int idxSibling)
Definition XPathNode.cs:214
void SetParentProperties(XPathNodeType xptyp)
Definition XPathNode.cs:200

References MS.Internal.Xml.Cache.XPathDocumentBuilder._idxParent, MS.Internal.Xml.Cache.XPathDocumentBuilder._idxSibling, MS.Internal.Xml.Cache.XPathDocumentBuilder._infoTable, MS.Internal.Xml.Cache.XPathDocumentBuilder._pageParent, MS.Internal.Xml.Cache.XPathDocumentBuilder._pageSibling, MS.Internal.Xml.Cache.XPathDocumentBuilder._textBldr, MS.Internal.Xml.Cache.XPathDocumentBuilder.CachedTextNode(), System.Xml.Dictionary, MS.Internal.Xml.Cache.XPathDocumentBuilder.TextBlockBuilder.HasText, MS.Internal.Xml.Cache.XPathDocumentBuilder.NewNode(), System.prefix, MS.Internal.Xml.Cache.XPathNode.SetParentProperties(), and MS.Internal.Xml.Cache.XPathNode.SetSibling().

Referenced by MS.Internal.Xml.Cache.XPathDocumentBuilder.CachedTextNode(), MS.Internal.Xml.Cache.XPathDocumentBuilder.Close(), MS.Internal.Xml.Cache.XPathDocumentBuilder.WriteComment(), MS.Internal.Xml.Cache.XPathDocumentBuilder.WriteProcessingInstruction(), MS.Internal.Xml.Cache.XPathDocumentBuilder.WriteStartAttribute(), and MS.Internal.Xml.Cache.XPathDocumentBuilder.WriteStartElement().