3 types derived from SyntaxList
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
12internal abstract class WithManyChildrenBase : SyntaxList
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (1)
11internal class WithThreeChildren : SyntaxList
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (1)
11internal class WithTwoChildren : SyntaxList
48 references to SyntaxList
Microsoft.CodeAnalysis (48)
Syntax\GreenNode.cs (6)
920return Syntax.InternalSyntax.SyntaxList.List(select(list[0]), select(list[1])); 922return Syntax.InternalSyntax.SyntaxList.List(select(list[0]), select(list[1]), select(list[2])); 928return Syntax.InternalSyntax.SyntaxList.List(array); 942return Syntax.InternalSyntax.SyntaxList.List(select(list[0]), select(list[1])); 944return Syntax.InternalSyntax.SyntaxList.List(select(list[0]), select(list[1]), select(list[2])); 950return Syntax.InternalSyntax.SyntaxList.List(array);
Syntax\InternalSyntax\SyntaxList.cs (5)
84internal static SyntaxList List(ArrayElement<GreenNode>[] children) 112var leftList = left as SyntaxList; 113var rightList = right as SyntaxList;
Syntax\InternalSyntax\SyntaxListBuilder.cs (3)
181return SyntaxList.List(_nodes[0]!, _nodes[1]!); 183return SyntaxList.List(_nodes[0]!, _nodes[1]!, _nodes[2]!); 187return SyntaxList.List(tmp);
Syntax\SyntaxList.cs (1)
13internal SyntaxList(InternalSyntax.SyntaxList green, SyntaxNode? parent, int position)
Syntax\SyntaxList.SeparatedWithManyChildren.cs (1)
13internal SeparatedWithManyChildren(InternalSyntax.SyntaxList green, SyntaxNode? parent, int position)
Syntax\SyntaxList.SeparatedWithManyWeakChildren.cs (1)
15internal SeparatedWithManyWeakChildren(InternalSyntax.SyntaxList green, SyntaxNode parent, int position)
Syntax\SyntaxList.WithManyChildren.cs (1)
15internal WithManyChildren(InternalSyntax.SyntaxList green, SyntaxNode? parent, int position)
Syntax\SyntaxList.WithManyWeakChildren.cs (1)
21internal WithManyWeakChildren(InternalSyntax.SyntaxList.WithManyChildrenBase green, SyntaxNode parent, int position)
Syntax\SyntaxList.WithThreeChildren.cs (1)
17internal WithThreeChildren(InternalSyntax.SyntaxList green, SyntaxNode? parent, int position)
Syntax\SyntaxList.WithTwoChildren.cs (1)
18internal WithTwoChildren(InternalSyntax.SyntaxList green, SyntaxNode? parent, int position)
Syntax\SyntaxList`1.cs (3)
32case 2: return Syntax.InternalSyntax.SyntaxList.List(nodes[0].Green, nodes[1].Green); 33case 3: return Syntax.InternalSyntax.SyntaxList.List(nodes[0].Green, nodes[1].Green, nodes[2].Green); 40return Syntax.InternalSyntax.SyntaxList.List(copy);
Syntax\SyntaxListBuilder.cs (3)
177return InternalSyntax.SyntaxList.List(_nodes[0].Value!, _nodes[1].Value!); 179return InternalSyntax.SyntaxList.List(_nodes[0].Value!, _nodes[1].Value!, _nodes[2].Value!); 187return InternalSyntax.SyntaxList.List(tmp);
Syntax\SyntaxNodeOrTokenList.cs (5)
86? Syntax.InternalSyntax.SyntaxList.List([nodesAndTokens[0].UnderlyingNode]).CreateRed() 88case 2: return Syntax.InternalSyntax.SyntaxList.List(nodesAndTokens[0].UnderlyingNode!, nodesAndTokens[1].UnderlyingNode!).CreateRed(); 89case 3: return Syntax.InternalSyntax.SyntaxList.List(nodesAndTokens[0].UnderlyingNode!, nodesAndTokens[1].UnderlyingNode!, nodesAndTokens[2].UnderlyingNode!).CreateRed(); 96return Syntax.InternalSyntax.SyntaxList.List(copy).CreateRed(); 355newGreen = Syntax.InternalSyntax.SyntaxList.List(new[]
Syntax\SyntaxNodeOrTokenListBuilder.cs (4)
140InternalSyntax.SyntaxList.List(new[] { _nodes[0]! }).CreateRed(), 149InternalSyntax.SyntaxList.List(_nodes[0]!, _nodes[1]!).CreateRed(), 153InternalSyntax.SyntaxList.List(_nodes[0]!, _nodes[1]!, _nodes[2]!).CreateRed(), 162return new SyntaxNodeOrTokenList(InternalSyntax.SyntaxList.List(tmp).CreateRed(), index: 0);
Syntax\SyntaxTokenList.cs (3)
79case 2: return Syntax.InternalSyntax.SyntaxList.List(tokens[0].Node!, tokens[1].Node!); 80case 3: return Syntax.InternalSyntax.SyntaxList.List(tokens[0].Node!, tokens[1].Node!, tokens[2].Node!); 87return Syntax.InternalSyntax.SyntaxList.List(copy);
Syntax\SyntaxTokenListBuilder.cs (3)
100return new SyntaxTokenList(null, InternalSyntax.SyntaxList.List(_nodes[0]!, _nodes[1]!), 0, 0); 105return new SyntaxTokenList(null, InternalSyntax.SyntaxList.List(_nodes[0]!, _nodes[1]!, _nodes[2]!), 0, 0); 107return new SyntaxTokenList(null, InternalSyntax.SyntaxList.List(_nodes, _count), 0, 0);
Syntax\SyntaxTriviaList.cs (3)
85case 2: return Syntax.InternalSyntax.SyntaxList.List(trivias[0].UnderlyingNode!, trivias[1].UnderlyingNode!); 86case 3: return Syntax.InternalSyntax.SyntaxList.List(trivias[0].UnderlyingNode!, trivias[1].UnderlyingNode!, trivias[2].UnderlyingNode!); 93return Syntax.InternalSyntax.SyntaxList.List(copy);
Syntax\SyntaxTriviaListBuilder.cs (3)
143InternalSyntax.SyntaxList.List( 148InternalSyntax.SyntaxList.List( 162InternalSyntax.SyntaxList.List(tmp), position: 0, index: 0);