2 instantiations of EmbeddedSyntaxNodeOrToken
Microsoft.AspNetCore.App.Analyzers (2)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNodeOrToken.cs (2)
46=> new(node); 49=> new(token);
45 references to EmbeddedSyntaxNodeOrToken
Microsoft.AspNetCore.App.Analyzers (45)
Infrastructure\EmbeddedSyntax\EmbeddedSeparatedSyntaxNodeList.cs (4)
16public ImmutableArray<EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode>> NodesAndTokens { get; } 21= new(ImmutableArray<EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode>>.Empty); 24ImmutableArray<EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode>> nodesAndTokens) 66var nodeOrToken = NodesAndTokens[index * 2];
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxHelpers.cs (1)
30foreach (var child in node)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNode.cs (8)
30internal abstract EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode> ChildAt(int index); 32public EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode> this[int index] => ChildAt(index); 62var child = ChildAt(i); 77var child = ChildAt(i); 91foreach (var child in this) 111foreach (var child in this) 165var child = this[i]; 195public EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode> Current { get; private set; }
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNodeOrToken.cs (2)
45public static implicit operator EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode>(TSyntaxNode? node) 48public static implicit operator EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode>(EmbeddedSyntaxToken<TSyntaxKind> token)
Infrastructure\RoutePattern\RoutePatternHelpers.cs (1)
22public static bool TryGetNode<TSyntaxKind, TSyntaxNode>(this EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode> nodeOrToken, TSyntaxKind kind, [NotNullWhen(true)] out TSyntaxNode? node)
Infrastructure\RoutePattern\RoutePatternNodes.cs (15)
11using RoutePatternNodeOrToken = EmbeddedSyntaxNodeOrToken<RoutePatternKind, RoutePatternNode>; 30internal override RoutePatternNodeOrToken ChildAt(int index) 56internal override RoutePatternNodeOrToken ChildAt(int index) 86internal override RoutePatternNodeOrToken ChildAt(int index) 121internal override RoutePatternNodeOrToken ChildAt(int index) 154internal override RoutePatternNodeOrToken ChildAt(int index) 178internal override RoutePatternNodeOrToken ChildAt(int index) 202internal override RoutePatternNodeOrToken ChildAt(int index) 226internal override RoutePatternNodeOrToken ChildAt(int index) 250internal override RoutePatternNodeOrToken ChildAt(int index) 277internal override RoutePatternNodeOrToken ChildAt(int index) 302internal override RoutePatternNodeOrToken ChildAt(int index) 328internal override RoutePatternNodeOrToken ChildAt(int index) 359internal override RoutePatternNodeOrToken ChildAt(int index) 385internal override RoutePatternNodeOrToken ChildAt(int index)
Infrastructure\RoutePattern\RoutePatternParser.cs (9)
128foreach (var part in root) 140foreach (var segmentPart in segmentNode) 162foreach (var part in root) 166foreach (var segmentPart in segmentNode) 215foreach (var part in root) 219foreach (var segmentPart in segmentNode) 229foreach (var parameterPart in parameterNode) 294foreach (var part in root) 317foreach (var child in node)
RouteEmbeddedLanguage\RoutePatternBraceMatcher.cs (1)
87foreach (var child in node)
RouteEmbeddedLanguage\RoutePatternClassifier.cs (2)
34foreach (var child in node) 141foreach (var child in node)
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (1)
284foreach (var child in parent)
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (1)
119foreach (var child in node)