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

◆ ParseUnionExpr()

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

Definition at line 299 of file XPathParser.cs.

300 {
302 Node val = ParsePathExpr();
303 if (_scanner.Kind == LexKind.Union)
304 {
306 val = _builder.Operator(XPathOperator.Union, default(Node), val);
307 PopPosInfo();
308 while (_scanner.Kind == LexKind.Union)
309 {
312 Node right = ParsePathExpr();
314 val = _builder.Operator(XPathOperator.Union, val, right);
315 PopPosInfo();
316 }
317 }
318 return val;
319 }
IXPathBuilder< Node > _builder
void PushPosInfo(int startChar, int endChar)

References System.Xml.Xsl.XPath.XPathParser< Node >._builder, System.Xml.Xsl.XPath.XPathParser< Node >._scanner, System.Xml.Xsl.XPath.XPathScanner.Kind, System.Xml.Xsl.XPath.XPathScanner.LexStart, System.Xml.Xsl.XPath.XPathScanner.NextLex(), System.Xml.Xsl.Node, System.Xml.Xsl.XPath.XPathParser< Node >.ParsePathExpr(), System.Xml.Xsl.XPath.XPathParser< Node >.PopPosInfo(), System.Xml.Xsl.XPath.XPathScanner.PrevLexEnd, and System.Xml.Xsl.XPath.XPathParser< Node >.PushPosInfo().

Referenced by System.Xml.Xsl.XPath.XPathParser< Node >.ParseSubExpr().