12 references to SyntaxToken
Microsoft.CodeAnalysis (12)
Syntax\SeparatedSyntaxList.cs (1)
154return new SyntaxToken(node.Parent, green, node.GetChildPosition(index), _list.index + index);
Syntax\SyntaxNodeOrToken.cs (1)
162return new SyntaxToken(_nodeOrParent, _token, this.Position, _tokenIndex);
Syntax\SyntaxNodeOrTokenList.cs (1)
152return new SyntaxToken(this.Parent, green, _node.GetChildPosition(index), this.index + index);
Syntax\SyntaxToken.cs (5)
311return new SyntaxToken( 341return new SyntaxToken( 390return 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)
135return new SyntaxToken(_parent, Node.GetSlot(index), Position + Node.GetSlotOffset(index), _index + index); 140return new SyntaxToken(_parent, Node, Position, _index);
Syntax\SyntaxTokenList.Enumerator.cs (1)
116return new SyntaxToken(_parent, _current, _position, _baseIndex + _index);
Syntax\SyntaxTokenList.Reversed.cs (1)
127return new SyntaxToken(_parent, _current, _position, _baseIndex + _index);