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

◆ CompileXPathExpression()

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileXPathExpression ( string expr)
inlineprivate

Definition at line 1782 of file QilGenerator.cs.

1783 {
1786 if (expr == null)
1787 {
1789 }
1790 else
1791 {
1792 try
1793 {
1794 XPathScanner scanner = new XPathScanner(expr);
1796 }
1797 catch (XslLoadException ex)
1798 {
1799 if (_xslVersion != XslVersion.ForwardsCompatible)
1800 {
1802 }
1803 qilNode = _f.Error(_f.String(ex.Message));
1804 }
1805 }
1807 {
1808 qilNode = _f.Nop(qilNode);
1809 }
1810 return qilNode;
1811 }
Node Parse(XPathScanner scanner, IXPathBuilder< Node > builder, LexKind endLex)
QilNode Error(string res, QilNode args)
void ReportErrorInXPath(XslLoadException e)
readonly XsltQilFactory _f
void SetEnvironmentFlags(bool allowVariables, bool allowCurrent, bool allowKey)
readonly XPathParser< QilNode > _xpathParser
readonly XPathBuilder _xpathBuilder

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Xslt.QilGenerator._xpathBuilder, System.Xml.Xsl.Xslt.QilGenerator._xpathParser, System.Xml.Xsl.Xslt.QilGenerator._xslVersion, System.Xml.Dictionary, System.Xml.Xsl.XPath.XPathQilFactory.Error(), System.Xml.Xsl.Qil.QilPatternFactory.Nop(), System.Xml.Xsl.XPath.XPathParser< Node >.Parse(), System.Xml.Xsl.Xslt.QilGenerator.PhantomXPathExpression(), 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.CompileCopyOf(), System.Xml.Xsl.Xslt.QilGenerator.CompileNodeSetExpression(), System.Xml.Xsl.Xslt.QilGenerator.CompileNumber(), System.Xml.Xsl.Xslt.QilGenerator.CompileSort(), System.Xml.Xsl.Xslt.QilGenerator.CompileValueOf(), System.Xml.Xsl.Xslt.QilGenerator.CompileValueOfDoe(), System.Xml.Xsl.Xslt.QilGenerator.CompileVarParValue(), and System.Xml.Xsl.Xslt.QilGenerator.CompileWhen().