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

◆ CheckToken()

void System.Xml.Xsl.XPath.XPathScanner.CheckToken ( LexKind t)
inline

Definition at line 458 of file XPathScanner.cs.

459 {
460 if (_kind != t)
461 {
462 if (t == LexKind.Eof)
463 {
465 }
467 }
468 }
static string XPath_EofExpected
Definition SR.cs:1836
static string XPath_TokenExpected
Definition SR.cs:1838
Definition SR.cs:7
XPathCompileException CreateException(string resId, params string[] args)

References System.Xml.Xsl.XPath.XPathScanner._kind, System.Xml.Xsl.XPath.XPathScanner.CreateException(), System.Xml.Xsl.XPath.XPathScanner.LexKindToString(), System.Xml.Xsl.XPath.XPathScanner.RawValue, System.SR.XPath_EofExpected, and System.SR.XPath_TokenExpected.

Referenced by System.Xml.Xsl.Xslt.XPathPatternParser.Parse(), System.Xml.Xsl.XPath.XPathParser< Node >.ParseFunctionCall(), System.Xml.Xsl.Xslt.XPathPatternParser.ParseIdKeyPattern(), System.Xml.Xsl.XPath.XPathParser< Node >.ParsePrimaryExpr(), and System.Xml.Xsl.XPath.XPathScanner.PassToken().