3 instantiations of ItemExpressionCapture
Microsoft.Build (3)
Evaluation\ExpressionShredder.cs (3)
180
transformExpressions.Add(new
ItemExpressionCapture
(startQuoted, endQuoted - startQuoted, expression.Substring(startQuoted, endQuoted - startQuoted)));
254
ItemExpressionCapture expressionCapture = new
ItemExpressionCapture
(startPoint, endPoint - startPoint, Microsoft.NET.StringTools.Strings.WeakIntern(expression.AsSpan(startPoint, endPoint - startPoint)), itemName, separator, separatorStart, transformExpressions);
596
ItemExpressionCapture capture = new
ItemExpressionCapture
(startTransform, i - startTransform, expression.Substring(startTransform, i - startTransform));
83 references to ItemExpressionCapture
Microsoft.Build (35)
Evaluation\Expander.cs (14)
464
List<ExpressionShredder.
ItemExpressionCapture
> transforms = ExpressionShredder.GetReferencedItemExpressions(expression);
644
internal static ExpressionShredder.
ItemExpressionCapture
ExpandSingleItemVectorExpressionIntoExpressionCapture(
651
ExpressionShredder.
ItemExpressionCapture
expressionCapture, IItemProvider<S> items, IItemFactory<S, T> itemFactory,
661
ExpressionShredder.
ItemExpressionCapture
expressionCapture,
959
List<ExpressionShredder.
ItemExpressionCapture
> itemVectorExpressions = ExpressionShredder.GetReferencedItemExpressions(expression);
1840
var
expressionCapture = ExpandSingleItemVectorExpressionIntoExpressionCapture(expression, options, elementLocation);
1850
internal static ExpressionShredder.
ItemExpressionCapture
ExpandSingleItemVectorExpressionIntoExpressionCapture(
1858
List<ExpressionShredder.
ItemExpressionCapture
> matches;
1873
ExpressionShredder.
ItemExpressionCapture
match = matches[0];
1886
ExpressionShredder.
ItemExpressionCapture
expressionCapture, Expander<P, I> expander, IItemProvider<S> items, IItemFactory<S, T> itemFactory,
1995
ExpressionShredder.
ItemExpressionCapture
expressionCapture,
2089
List<ExpressionShredder.
ItemExpressionCapture
> matches = ExpressionShredder.GetReferencedItemExpressions(expression);
2132
private static Stack<TransformFunction<S>> PrepareTransformStackFromMatch<S>(IElementLocation elementLocation, ExpressionShredder.
ItemExpressionCapture
match)
2178
ExpressionShredder.
ItemExpressionCapture
capture,
Evaluation\ExpressionShredder.cs (15)
98
internal static List<
ItemExpressionCapture
> GetReferencedItemExpressions(string expression)
108
internal static List<
ItemExpressionCapture
> GetReferencedItemExpressions(string expression, int start, int end)
110
List<
ItemExpressionCapture
> subExpressions = null;
126
List<
ItemExpressionCapture
> transformExpressions = null;
177
transformExpressions = new List<
ItemExpressionCapture
>();
185
ItemExpressionCapture
functionCapture = SinkItemFunctionExpression(expression, startTransform, ref i, end);
190
transformExpressions = new List<
ItemExpressionCapture
>();
248
subExpressions = new List<
ItemExpressionCapture
>();
254
ItemExpressionCapture
expressionCapture = new ItemExpressionCapture(startPoint, endPoint - startPoint, Microsoft.NET.StringTools.Strings.WeakIntern(expression.AsSpan(startPoint, endPoint - startPoint)), itemName, separator, separatorStart, transformExpressions);
323
ItemExpressionCapture
functionCapture = SinkItemFunctionExpression(expression, startTransform, ref i, end);
582
private static
ItemExpressionCapture
SinkItemFunctionExpression(string expression, int startTransform, ref int i, int end)
596
ItemExpressionCapture
capture = new ItemExpressionCapture(startTransform, i - startTransform, expression.Substring(startTransform, i - startTransform));
694
private readonly List<
ItemExpressionCapture
> _captures;
749
public ItemExpressionCapture(int index, int length, string subExpression, string itemType, string separator, int separatorStart, List<
ItemExpressionCapture
> captures)
763
public List<
ItemExpressionCapture
> Captures
Evaluation\ItemSpec.cs (3)
44
public ExpressionShredder.
ItemExpressionCapture
Capture { get; }
69
ExpressionShredder.
ItemExpressionCapture
capture,
271
var
capture = Expander<P, I>.ExpandSingleItemVectorExpressionIntoExpressionCapture(
Evaluation\LazyItemEvaluator.cs (3)
676
ExpressionShredder.
ItemExpressionCapture
match = Expander<P, I>.ExpandSingleItemVectorExpressionIntoExpressionCapture(
688
private void AddReferencedItemLists(OperationBuilder operationBuilder, ExpressionShredder.
ItemExpressionCapture
match)
696
foreach (
var
subMatch in match.Captures)
Microsoft.Build.Engine.UnitTests (48)
Evaluation\ExpressionShredder_Tests.cs (48)
574
List<ExpressionShredder.
ItemExpressionCapture
> expressions = ExpressionShredder.GetReferencedItemExpressions(expression);
576
ExpressionShredder.
ItemExpressionCapture
capture = expressions[0];
594
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
608
ExpressionShredder.
ItemExpressionCapture
capture = expressions[n];
638
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
649
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
650
ExpressionShredder.
ItemExpressionCapture
capture;
666
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
667
ExpressionShredder.
ItemExpressionCapture
capture;
683
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
684
ExpressionShredder.
ItemExpressionCapture
capture;
701
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
702
ExpressionShredder.
ItemExpressionCapture
capture;
719
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
720
ExpressionShredder.
ItemExpressionCapture
capture;
739
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
740
ExpressionShredder.
ItemExpressionCapture
capture;
759
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
760
ExpressionShredder.
ItemExpressionCapture
capture;
781
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
782
ExpressionShredder.
ItemExpressionCapture
capture;
803
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
804
ExpressionShredder.
ItemExpressionCapture
capture;
825
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
826
ExpressionShredder.
ItemExpressionCapture
capture;
847
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
848
ExpressionShredder.
ItemExpressionCapture
capture;
866
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
867
ExpressionShredder.
ItemExpressionCapture
capture;
888
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
889
ExpressionShredder.
ItemExpressionCapture
capture;
910
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
911
ExpressionShredder.
ItemExpressionCapture
capture;
932
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
933
ExpressionShredder.
ItemExpressionCapture
capture;
954
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
955
ExpressionShredder.
ItemExpressionCapture
capture;
976
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
977
ExpressionShredder.
ItemExpressionCapture
capture;
998
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
999
ExpressionShredder.
ItemExpressionCapture
capture;
1022
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
1023
ExpressionShredder.
ItemExpressionCapture
capture;
1046
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
1047
ExpressionShredder.
ItemExpressionCapture
capture;
1070
List<ExpressionShredder.
ItemExpressionCapture
> expressions;
1071
ExpressionShredder.
ItemExpressionCapture
capture;
1094
List<ExpressionShredder.
ItemExpressionCapture
> expressions;