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

◆ CompileSingleKey() [2/3]

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileSingleKey ( List< Key > defList,
QilNode key,
IFocus env )
inlineprivate

Definition at line 2522 of file QilGenerator.cs.

2523 {
2524 if (defList.Count == 1)
2525 {
2526 return _f.Invoke(defList[0].Function, _f.ActualParameterList(env.GetCurrent(), key));
2527 }
2530 foreach (Key def in defList)
2531 {
2532 qilNode.Add(_f.Invoke(def.Function, _f.ActualParameterList(env.GetCurrent(), qilIterator)));
2533 }
2534 return _f.Loop(qilIterator, qilNode);
2535 }
void Add(TKey key, TValue value)
QilNode Invoke(QilFunction func, QilList args)
QilNode Loop(QilIterator variable, QilNode body)
QilIterator Let(QilNode binding)
readonly XsltQilFactory _f

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Qil.QilPatternFactory.ActualParameterList(), System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Xsl.Qil.Function, System.Xml.Xsl.Qil.QilPatternFactory.Invoke(), System.key, System.Xml.Xsl.Qil.QilPatternFactory.Let(), System.Xml.Xsl.Qil.QilPatternFactory.Loop(), and System.Xml.Xsl.Qil.QilPatternFactory.Sequence().