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

◆ CompileKeyMatch()

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileKeyMatch ( string pttrn)
inlineprivate

Definition at line 1893 of file QilGenerator.cs.

1894 {
1895 if (_keyMatchBuilder == null)
1896 {
1897 _keyMatchBuilder = new KeyMatchBuilder(this);
1898 }
1900 if (pttrn == null)
1901 {
1902 return PhantomKeyMatch();
1903 }
1904 try
1905 {
1908 }
1909 catch (XslLoadException ex)
1910 {
1911 if (_xslVersion != XslVersion.ForwardsCompatible)
1912 {
1914 }
1915 return _f.Error(_f.String(ex.Message));
1916 }
1917 }
QilNode Error(string res, QilNode args)
void ReportErrorInXPath(XslLoadException e)
readonly XsltQilFactory _f
void SetEnvironmentFlags(bool allowVariables, bool allowCurrent, bool allowKey)
readonly XPathPatternParser _ptrnParser
QilNode Parse(XPathScanner scanner, IPatternBuilder ptrnBuilder)

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Xslt.QilGenerator._keyMatchBuilder, System.Xml.Xsl.Xslt.QilGenerator._ptrnParser, System.Xml.Xsl.Xslt.QilGenerator._xslVersion, System.Xml.Dictionary, System.Xml.Xsl.XPath.XPathQilFactory.Error(), System.Xml.Xsl.Xslt.XPathPatternParser.Parse(), System.Xml.Xsl.Xslt.QilGenerator.PhantomKeyMatch(), System.Xml.Xsl.Xslt.QilGenerator.ReportErrorInXPath(), System.Xml.Xsl.Xslt.QilGenerator.SetEnvironmentFlags(), and System.Xml.Xsl.Qil.QilPatternFactory.String().

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompileKeys().