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

◆ CompileSorts()

QilNode System.Xml.Xsl.Xslt.QilGenerator.CompileSorts ( IList< XslNode > content,
ref LoopFocus parentLoop )
inlineprivate

Definition at line 1273 of file QilGenerator.cs.

1274 {
1276 int num = 0;
1277 while (num < content.Count)
1278 {
1279 if (content[num] is Sort sort)
1280 {
1282 content.RemoveAt(num);
1283 }
1284 else
1285 {
1286 num++;
1287 }
1288 }
1289 if (qilList.Count == 0)
1290 {
1291 return null;
1292 }
1293 return qilList;
1294 }
readonly XsltQilFactory _f
void CompileSort(Sort sort, QilList keyList, ref LoopFocus parentLoop)

References System.Xml.Xsl.Xslt.QilGenerator._f, System.Xml.Xsl.Qil.QilPatternFactory.BaseFactory, System.Xml.Xsl.Xslt.QilGenerator.CompileSort(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, and System.Xml.Xsl.Qil.QilFactory.SortKeyList().

Referenced by System.Xml.Xsl.Xslt.QilGenerator.CompileApplyTemplates(), and System.Xml.Xsl.Xslt.QilGenerator.CompileForEach().