3 instantiations of QilLoop
System.Private.Xml (3)
System\Xml\Xsl\QIL\QilFactory.cs (3)
606
QilLoop n = new
QilLoop
(QilNodeType.Loop, variable, body);
614
QilLoop n = new
QilLoop
(QilNodeType.Filter, variable, body);
628
QilLoop n = new
QilLoop
(QilNodeType.Sort, variable, body);
71 references to QilLoop
System.Private.Xml (71)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (2)
52
QilLoop
ndLoop = (
QilLoop
)nd;
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (4)
552
case QilNodeType.Loop: AnalyzeLoop((nd as
QilLoop
)!, info); break;
596
protected virtual void AnalyzeLoop(
QilLoop
ndLoop, XmlILConstructInfo info)
822
protected override void AnalyzeLoop(
QilLoop
ndLoop, XmlILConstructInfo info)
975
AnalyzeContent((nd as
QilLoop
)!.Body);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (4)
2615
protected override QilNode VisitLoop(
QilLoop
local0)
2928
protected override QilNode VisitFilter(
QilLoop
local0)
3265
protected override QilNode VisitSort(
QilLoop
local0)
5225
return IsConstructedExpression(((
QilLoop
)nd).Body);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (6)
1866
protected override QilNode VisitLoop(
QilLoop
ndLoop)
1888
protected override QilNode VisitFilter(
QilLoop
ndFilter)
1915
private bool HandleFilterPatterns(
QilLoop
ndFilter)
2260
protected override QilNode VisitSort(
QilLoop
ndSort)
3987
QilLoop
ndLoop = (
QilLoop
)ndDod.Child;
System\Xml\Xsl\QIL\QilFactory.cs (6)
604
public
QilLoop
Loop(QilNode variable, QilNode body)
606
QilLoop
n = new QilLoop(QilNodeType.Loop, variable, body);
612
public
QilLoop
Filter(QilNode variable, QilNode body)
614
QilLoop
n = new QilLoop(QilNodeType.Filter, variable, body);
626
public
QilLoop
Sort(QilNode variable, QilNode body)
628
QilLoop
n = new QilLoop(QilNodeType.Sort, variable, body);
System\Xml\Xsl\QIL\QilPatternVisitor.cs (3)
189
protected override QilNode VisitLoop(
QilLoop
n) { return NoReplace(n); }
190
protected override QilNode VisitFilter(
QilLoop
n) { return NoReplace(n); }
194
protected override QilNode VisitSort(
QilLoop
n) { return NoReplace(n); }
System\Xml\Xsl\QIL\QilScopedVisitor.cs (2)
58
BeginScope(((
QilLoop
)node).Variable);
89
EndScope(((
QilLoop
)node).Variable);
System\Xml\Xsl\QIL\QilTypeChecker.cs (6)
99
QilNodeType.Loop => CheckLoop((
QilLoop
)n),
100
QilNodeType.Filter => CheckFilter((
QilLoop
)n),
102
QilNodeType.Sort => CheckSort((
QilLoop
)n),
593
public static XmlQueryType CheckLoop(
QilLoop
node)
605
public static XmlQueryType CheckFilter(
QilLoop
node)
625
public static XmlQueryType CheckSort(
QilLoop
node)
System\Xml\Xsl\QIL\QilVisitor.cs (6)
182
QilNodeType.Loop => VisitLoop((
QilLoop
)n),
183
QilNodeType.Filter => VisitFilter((
QilLoop
)n),
185
QilNodeType.Sort => VisitSort((
QilLoop
)n),
358
protected virtual QilNode VisitLoop(
QilLoop
n) { return VisitChildren(n); }
359
protected virtual QilNode VisitFilter(
QilLoop
n) { return VisitChildren(n); }
363
protected virtual QilNode VisitSort(
QilLoop
n) { return VisitChildren(n); }
System\Xml\Xsl\XPath\XPathBuilder.cs (2)
357
QilLoop
filter = (
QilLoop
)qilAxis;
System\Xml\Xsl\Xslt\Focus.cs (2)
209
public
QilLoop
ConstructLoop(QilNode body)
211
QilLoop
result;
System\Xml\Xsl\Xslt\KeyMatchBuilder.cs (2)
99
protected override QilNode VisitLoop(
QilLoop
n)
120
protected override QilNode VisitFilter(
QilLoop
n)
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
125
public TemplateMatch(Template template,
QilLoop
filter)
System\Xml\Xsl\Xslt\QilGenerator.cs (5)
1829
QilLoop
filter = (
QilLoop
)list[i];
2152
sheet.AddTemplateMatch(template, (
QilLoop
)filters[idx]);
2157
sheet.AddTemplateMatch(template, (
QilLoop
)result);
2694
QilLoop
loopOnContent;
System\Xml\Xsl\Xslt\Stylesheet.cs (1)
49
public void AddTemplateMatch(Template template,
QilLoop
filter)
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (19)
50
public static void AssertFilter(
QilLoop
filter)
58
private static void FixupFilterBinding(
QilLoop
filter, QilNode newBinding)
97
private static
QilLoop
BuildAxisFilter(QilPatternFactory f, QilIterator itr, XPathAxis xpathAxis, XPathNodeType nodeType, string? name, string? nsUri)
114
QilLoop
filter = f.BaseFactory.Filter(itr, f.And(typeTest, nameTest));
128
QilLoop
result;
202
QilLoop
parentFilter = (
QilLoop
)left;
214
QilLoop
? lastParent = GetLastParent(right);
243
QilLoop
nodeFilter = (
QilLoop
)nodeset;
264
QilLoop
siblingFilter = (
QilLoop
)nodeset.DeepClone(_f.BaseFactory);
266
siblingFilter = (
QilLoop
)_f.Loop(parentIter, siblingFilter);
315
QilLoop
result = _f.BaseFactory.Filter(i, _f.Not(_f.IsEmpty(_f.Filter(j = _f.For(matches), _f.Is(j, i)))));
338
public
QilLoop
? Parent;
353
private static void SetLastParent(QilNode node,
QilLoop
parent)
361
private static
QilLoop
? GetLastParent(QilNode node)
375
QilLoop
context = (
QilLoop
)ctx;