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

◆ CompileXPathExpressionWithinAvt()

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileXPathExpressionWithinAvt ( string expr,
ref int pos )
inlineprivate

Definition at line 1828 of file QilGenerator.cs.

1829 {
1832 try
1833 {
1834 XPathScanner xPathScanner = new XPathScanner(expr, pos);
1836 pos = xPathScanner.LexStart + 1;
1837 }
1838 catch (XslLoadException ex)
1839 {
1840 if (_xslVersion != XslVersion.ForwardsCompatible)
1841 {
1843 }
1844 qilNode = _f.Error(_f.String(ex.Message));
1845 pos = expr.Length;
1846 }
1848 {
1849 qilNode = _f.Nop(qilNode);
1850 }
1851 return qilNode;
1852 }
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.ReportErrorInXPath(), System.Xml.Xsl.Xslt.QilGenerator.SetEnvironmentFlags(), and System.Xml.Xsl.Qil.QilPatternFactory.String().

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