12 references to SyntaxToken
Microsoft.CodeAnalysis (12)
Syntax\SeparatedSyntaxList.cs (1)
154
return new
SyntaxToken
(node.Parent, green, node.GetChildPosition(index), _list.index + index);
Syntax\SyntaxNodeOrToken.cs (1)
162
return new
SyntaxToken
(_nodeOrParent, _token, this.Position, _tokenIndex);
Syntax\SyntaxNodeOrTokenList.cs (1)
152
return new
SyntaxToken
(this.Parent, green, _node.GetChildPosition(index), this.index + index);
Syntax\SyntaxToken.cs (5)
311
return new
SyntaxToken
(
341
return new
SyntaxToken
(
390
return new
SyntaxToken
(
479
? new
SyntaxToken
(null, Node.WithLeadingTrivia(GreenNode.CreateList(trivia, static t => t.RequiredUnderlyingNode)), position: 0, index: 0)
505
? new
SyntaxToken
(null, Node.WithTrailingTrivia(GreenNode.CreateList(trivia, static t => t.RequiredUnderlyingNode)), position: 0, index: 0)
Syntax\SyntaxTokenList.cs (2)
135
return new
SyntaxToken
(_parent, Node.GetSlot(index), Position + Node.GetSlotOffset(index), _index + index);
140
return new
SyntaxToken
(_parent, Node, Position, _index);
Syntax\SyntaxTokenList.Enumerator.cs (1)
116
return new
SyntaxToken
(_parent, _current, _position, _baseIndex + _index);
Syntax\SyntaxTokenList.Reversed.cs (1)
127
return new
SyntaxToken
(_parent, _current, _position, _baseIndex + _index);