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