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

◆ ParseXPathExpression()

static AstNode MS.Internal.Xml.XPath.XPathParser.ParseXPathExpression ( string xpathExpression)
inlinestatic

Definition at line 114 of file XPathParser.cs.

115 {
117 AstNode result = xPathParser.ParseExpression(null);
118 if (xPathParser._scanner.Kind != XPathScanner.LexKind.Eof)
119 {
120 throw XPathException.Create(System.SR.Xp_InvalidToken, xPathParser._scanner.SourceText);
121 }
122 return result;
123 }
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.Build(), and System.Xml.Schema.Asttree.CompileXPath().