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

◆ ParseRelativeLocationPath()

Node System.Xml.Xsl.XPath.XPathParser< Node >.ParseRelativeLocationPath ( )
inlineprivate

Definition at line 81 of file XPathParser.cs.

82 {
84 {
86 }
87 Node val = ParseStep();
88 if (_scanner.Kind == LexKind.Slash)
89 {
91 val = _builder.JoinStep(val, ParseRelativeLocationPath());
92 }
93 else if (_scanner.Kind == LexKind.SlashSlash)
94 {
96 val = _builder.JoinStep(val, _builder.JoinStep(_builder.Axis(XPathAxis.DescendantOrSelf, XPathNodeType.All, null, null), ParseRelativeLocationPath()));
97 }
99 return val;
100 }
static string Xslt_InputTooComplex
Definition SR.cs:1862
Definition SR.cs:7
IXPathBuilder< Node > _builder
XPathCompileException CreateException(string resId, params string[] args)

References System.Xml.Xsl.XPath.XPathParser< Node >._builder, System.Xml.Xsl.XPath.XPathParser< Node >._parseRelativePath, System.Xml.Xsl.XPath.XPathParser< Node >._scanner, System.Xml.Xsl.XPath.XPathScanner.CreateException(), System.Xml.Xsl.XPath.XPathScanner.Kind, System.LocalAppContextSwitches.LimitXPathComplexity, System.Xml.Xsl.XPath.XPathScanner.NextLex(), System.Xml.Xsl.Node, System.Xml.Xsl.XPath.XPathParser< Node >.ParseRelativeLocationPath(), System.Xml.Xsl.XPath.XPathParser< Node >.ParseStep(), and System.SR.Xslt_InputTooComplex.

Referenced by System.Xml.Xsl.XPath.XPathParser< Node >.ParseLocationPath(), System.Xml.Xsl.XPath.XPathParser< Node >.ParsePathExpr(), and System.Xml.Xsl.XPath.XPathParser< Node >.ParseRelativeLocationPath().