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

◆ ParseRelativeLocationPath()

AstNode MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath ( AstNode qyInput)
inlineprivate

Definition at line 325 of file XPathParser.cs.

326 {
327 AstNode astNode = qyInput;
328 while (true)
329 {
331 if (XPathScanner.LexKind.SlashSlash == _scanner.Kind)
332 {
333 NextLex();
334 astNode = new Axis(Axis.AxisType.DescendantOrSelf, astNode);
335 continue;
336 }
337 if (XPathScanner.LexKind.Slash != _scanner.Kind)
338 {
339 break;
340 }
341 NextLex();
342 }
343 return astNode;
344 }
AstNode ParseStep(AstNode qyInput)

References MS.Internal.Xml.XPath.XPathParser._scanner, MS.Internal.Xml.XPath.XPathScanner.Kind, MS.Internal.Xml.XPath.XPathParser.NextLex(), and MS.Internal.Xml.XPath.XPathParser.ParseStep().

Referenced by MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(), and MS.Internal.Xml.XPath.XPathParser.ParsePathExpr().