8 instantiations of TokenParts
Microsoft.CodeAnalysis.VisualBasic (8)
Scanner\TokenFactories.vb (8)
280
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
341
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
378
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
632
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
655
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
671
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
691
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
717
Dim tp As New
TokenParts
(precedingTrivia, followingTrivia, spelling)
14 references to TokenParts
Microsoft.CodeAnalysis.VisualBasic (14)
Scanner\Scanner.vb (12)
62
Private Shared ReadOnly s_idTablePool As New ObjectPool(Of CachingFactory(Of
TokenParts
, IdentifierTokenSyntax))(
63
Function() New CachingFactory(Of
TokenParts
, IdentifierTokenSyntax)(TABLE_LIMIT, Nothing, s_tokenKeyHasher, s_tokenKeyEquality))
65
Private ReadOnly _idTable As CachingFactory(Of
TokenParts
, IdentifierTokenSyntax) = s_idTablePool.Allocate()
67
Private Shared ReadOnly s_kwTablePool As New ObjectPool(Of CachingFactory(Of
TokenParts
, KeywordSyntax))(
68
Function() New CachingFactory(Of
TokenParts
, KeywordSyntax)(TABLE_LIMIT, Nothing, s_tokenKeyHasher, s_tokenKeyEquality))
70
Private ReadOnly _kwTable As CachingFactory(Of
TokenParts
, KeywordSyntax) = s_kwTablePool.Allocate
72
Private Shared ReadOnly s_punctTablePool As New ObjectPool(Of CachingFactory(Of
TokenParts
, PunctuationSyntax))(
73
Function() New CachingFactory(Of
TokenParts
, PunctuationSyntax)(TABLE_LIMIT, Nothing, s_tokenKeyHasher, s_tokenKeyEquality))
75
Private ReadOnly _punctTable As CachingFactory(Of
TokenParts
, PunctuationSyntax) = s_punctTablePool.Allocate()
77
Private Shared ReadOnly s_literalTablePool As New ObjectPool(Of CachingFactory(Of
TokenParts
, SyntaxToken))(
78
Function() New CachingFactory(Of
TokenParts
, SyntaxToken)(TABLE_LIMIT, Nothing, s_tokenKeyHasher, s_tokenKeyEquality))
80
Private ReadOnly _literalTable As CachingFactory(Of
TokenParts
, SyntaxToken) = s_literalTablePool.Allocate
Scanner\TokenFactories.vb (2)
106
Private Shared ReadOnly s_tokenKeyHasher As Func(Of
TokenParts
, Integer) =
122
Private Shared ReadOnly s_tokenKeyEquality As Func(Of
TokenParts
, SyntaxToken, Boolean) =