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

◆ CreateGeneralKeyFunction()

QilFunction System.Xml.Xsl.Xslt.QilGenerator.CreateGeneralKeyFunction ( )
inlineprivate

Definition at line 2553 of file QilGenerator.cs.

2554 {
2555 QilIterator qilIterator = _f.Parameter(XmlQueryTypeFactory.StringX);
2556 QilIterator qilIterator2 = _f.Parameter(XmlQueryTypeFactory.QNameX);
2557 QilIterator qilIterator3 = _f.Parameter(XmlQueryTypeFactory.StringX);
2558 QilIterator qilIterator4 = _f.Parameter(XmlQueryTypeFactory.NodeNotRtf);
2560 for (int i = 0; i < _compiler.Keys.Count; i++)
2561 {
2563 }
2565 qilFunction.DebugName = "key";
2567 return qilFunction;
2568 }
static string Xslt_UndefinedKey
Definition SR.cs:1920
Definition SR.cs:7
virtual void Add(QilNode node)
Definition QilNode.cs:121
QilNode Conditional(QilNode condition, QilNode trueBranch, QilNode falseBranch)
QilNode Eq(QilNode left, QilNode right)
QilParameter Parameter(XmlQueryType t)
QilFunction Function(QilList args, QilNode sideEffects, XmlQueryType resultType)
QilNode Error(string res, QilNode args)
readonly XsltQilFactory _f
QilNode CompileSingleKey(QilNode name, QilNode key, IFocus env)

References System.Xml.Xsl.Xslt.QilGenerator._compiler, System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Xslt.QilGenerator._functions, System.Xml.Xsl.Qil.QilNode.Add(), System.Xml.Xsl.Qil.QilPatternFactory.BaseFactory, System.Xml.Xsl.Xslt.QilGenerator.CompileSingleKey(), System.Xml.Xsl.Qil.QilPatternFactory.Conditional(), System.Xml.Dictionary, System.Xml.Xsl.Qil.QilPatternFactory.Eq(), System.Xml.Xsl.XPath.XPathQilFactory.Error(), System.Xml.Xsl.Qil.QilPatternFactory.False(), System.Xml.Xsl.Qil.QilPatternFactory.FormalParameterList(), System.Xml.Xsl.Qil.QilPatternFactory.Function(), System.Xml.Xsl.Xslt.Compiler.Keys, System.Xml.Xsl.XmlQueryTypeFactory.NodeNotRtf, System.Xml.Xsl.Qil.QilPatternFactory.Parameter(), System.Xml.Xsl.XmlQueryTypeFactory.QNameX, System.Xml.Xsl.XmlQueryTypeFactory.StringX, and System.SR.Xslt_UndefinedKey.

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