48 references to For
System.Private.Xml (48)
System\Xml\Xsl\XPath\XPathBuilder.cs (9)
177QilIterator it = _f.For(nodeset); 207QilIterator leftEnd = _f.For(left); 208QilIterator rightEnd = _f.For(right); 344qilAxis = _f.Filter(itr = _f.For(qilAxis), _f.IsType(itr, T.NodeChoice(required))); 368return _f.Filter(itr = _f.For(qilAxis), 442QilIterator leftIt = _f.For(_f.EnsureNodeSet(left)); 531QilIterator it = f.For(cash); 540QilIterator it = f.For(nodeset); 675return _f.Sum(_f.Sequence(_f.Double(0d), _f.Loop(i = _f.For(arg), _f.ConvertToNumber(i))));
System\Xml\Xsl\XPath\XPathQilFactory.cs (3)
33QilIterator i = For(DocOrderDistinct(n)); 34return For(Filter(i, Eq(PositionOf(i), Int32(1)))); 336return Loop(i = For(id), Deref(context, ConvertToString(i)));
System\Xml\Xsl\Xslt\Focus.cs (1)
205_current = _f.For(_f.Sort(_current!, sortKeys));
System\Xml\Xsl\Xslt\KeyMatchBuilder.cs (1)
111QilIterator it = f.For(f.DescendantOrSelf(f.Root(_fixup)));
System\Xml\Xsl\Xslt\QilGenerator.cs (24)
1144QilIterator it = _f.For(CompileNodeSetExpression(node.Select!)); 1194QilIterator it = _f.For(select); 1359return _f.Loop(it = _f.For(selectExpr), _f.XsltCopyOf(it)); 1375it = _f.For(selectExpr), 1912countMatches = _f.Filter(i = _f.For(_f.AncestorOrSelf(GetCurrentNode())), MatchCountPattern(countPattern, i)); 1919A = _f.Filter(i = _f.For(countMatches), _f.Eq(_f.PositionOf(i), _f.Int32(1))); 1928fromMatches = _f.Filter(i = _f.For(_f.AncestorOrSelf(GetCurrentNode())), MatchPattern(fromPattern, i)); 1929F = _f.Filter(i = _f.For(fromMatches), _f.Eq(_f.PositionOf(i), _f.Int32(1))); 1930AF = _f.Loop(i = _f.For(F), _f.Filter(j = _f.For(A), _f.Before(i, j))); 1933return _f.Loop(j = _f.For(AF), 1934_f.Add(_f.Int32(1), _f.Length(_f.Filter(i = _f.For(_f.PrecedingSibling(j)), MatchCountPattern(countPattern2, i)))) 1967AF = _f.Filter(i = _f.For(range), MatchCountPattern(countPattern, i)); 1971fromMatches = _f.Filter(i = _f.For(_f.Preceding(GetCurrentNode())), MatchPattern(fromPattern, i)); 1972F = _f.Filter(i = _f.For(fromMatches), _f.Eq(_f.PositionOf(i), _f.Int32(1))); 1973AF = _f.Loop(i = _f.For(F), 1974_f.Filter(j = _f.For(_f.Filter(k = _f.For(_f.NodeRange(i, GetCurrentNode())), MatchCountPattern(countPattern, k))), 2183QilIterator values = _f.For(_f.OptimizeBarrier(CompileKeyMatch(key.Match))); 2185QilIterator keys = _f.For(CompileKeyUse(key)); 2186keys = _f.For(_f.OptimizeBarrier(_f.Loop(keys, _f.ConvertToString(keys)))); 2391result = _f.Loop(_f.For(_ptrnBuilder.FixupNode), 2696QilIterator iChild = _f.For(_f.Content(current)); 2701_curLoop.SetFocus(_f.For(filter));
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (4)
388result = _f.Loop(i = _f.For(keys), CompileSingleKey(name, _f.ConvertToString(i), env)); 399_f.Loop(i = _f.For(_f.TypeAssert(k, T.NodeS)), CompileSingleKey(n, _f.ConvertToString(i), env)), 503result = _f.DocOrderDistinct(_f.Loop(i = _f.For(uris), 516_f.DocOrderDistinct(_f.Loop(i = _f.For(_f.TypeAssert(u, T.NodeS)),
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (6)
137result = _f.BaseFactory.Filter(i = _f.For(_fixupNode), _f.IsType(i, T.Document)); 142result = BuildAxisFilter(_f, _f.For(_fixupNode), xpathAxis, nodeType, name, nsUri); 261QilIterator parentIter = _f.For(_f.Parent(current)); 278QilIterator matchNodeIter = _f.For(matchingSet); 292QilIterator i = _f.For(_fixupNode); 315QilLoop result = _f.BaseFactory.Filter(i, _f.Not(_f.IsEmpty(_f.Filter(j = _f.For(matches), _f.Is(j, i)))));