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