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

◆ NewNode()

int MS.Internal.Xml.Cache.XPathDocumentBuilder.NewNode ( out XPathNode[] page,
XPathNodeType xptyp,
string localName,
string namespaceUri,
string prefix,
string baseUri )
inlineprivate

Definition at line 511 of file XPathDocumentBuilder.cs.

512 {
515 XPathNodeInfoAtom info = _infoTable.Create(localName, namespaceUri, prefix, baseUri, _pageParent, page2, page2, _doc, _lineNumBase, _linePosBase);
516 page2[idx].Create(info, xptyp, _idxParent);
517 page2[idx].SetLineInfoOffsets(lineNumOffset, linePosOffset);
518 page = page2;
519 return idx;
520 }
void ComputeLineInfo(bool isTextNode, out int lineNumOffset, out int linePosOffset)
XPathNodeInfoAtom Create(string localName, string namespaceUri, string prefix, string baseUri, XPathNode[] pageParent, XPathNode[] pageSibling, XPathNode[] pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase)
static bool IsText(XPathNodeType type)

References MS.Internal.Xml.Cache.XPathDocumentBuilder._doc, MS.Internal.Xml.Cache.XPathDocumentBuilder._idxParent, MS.Internal.Xml.Cache.XPathDocumentBuilder._infoTable, MS.Internal.Xml.Cache.XPathDocumentBuilder._lineNumBase, MS.Internal.Xml.Cache.XPathDocumentBuilder._linePosBase, MS.Internal.Xml.Cache.XPathDocumentBuilder._nodePageFact, MS.Internal.Xml.Cache.XPathDocumentBuilder._pageParent, MS.Internal.Xml.Cache.XPathDocumentBuilder.NodePageFactory.AllocateSlot(), MS.Internal.Xml.Cache.XPathDocumentBuilder.ComputeLineInfo(), MS.Internal.Xml.Cache.XPathNodeInfoTable.Create(), System.Xml.Dictionary, System.info, System.Xml.XPath.XPathNavigator.IsText(), and System.prefix.

Referenced by MS.Internal.Xml.Cache.XPathDocumentBuilder.AddSibling(), and MS.Internal.Xml.Cache.XPathDocumentBuilder.Initialize().