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

◆ ParseXPathPattern()

static AstNode MS.Internal.Xml.XPath.XPathParser.ParseXPathPattern ( string xpathPattern)
inlinestatic

Definition at line 125 of file XPathParser.cs.

126 {
128 AstNode result = xPathParser.ParsePattern();
129 if (xPathParser._scanner.Kind != XPathScanner.LexKind.Eof)
130 {
131 throw XPathException.Create(System.SR.Xp_InvalidToken, xPathParser._scanner.SourceText);
132 }
133 return result;
134 }
static string Xp_InvalidToken
Definition SR.cs:1242
Definition SR.cs:7
static XPathException Create(string res)

References MS.Internal.Xml.XPath.XPathParser.XPathParser(), System.Xml.XPath.XPathException.Create(), and System.SR.Xp_InvalidToken.

Referenced by MS.Internal.Xml.XPath.QueryBuilder.BuildPatternQuery().