29 references to _tokens
Microsoft.CodeAnalysis.VisualBasic (29)
Scanner\TokenStream.vb (29)
198
Debug.Assert(
_tokens
.Count = 0)
204
Dim count =
_tokens
.Count
206
Return
_tokens
(count - 1).InnerTokenObject
378
If
_tokens
.Count = 0 Then
381
_currentToken =
_tokens
(0)
382
_tokens
.RemoveAt(0)
388
If
_tokens
.Count > 0 Then
389
Dim tk =
_tokens
(0)
409
For i = 0 To
_tokens
.Count - 1
410
If
_tokens
(i).InnerTokenObject.Kind = SyntaxKind.StatementTerminatorToken Then
433
Debug.Assert(offsetInQueue <=
_tokens
.Count)
436
If offsetInQueue =
_tokens
.Count Then
441
If offsetInQueue <
_tokens
.Count AndAlso
_tokens
(offsetInQueue).State = state Then
442
Return
_tokens
(offsetInQueue).InnerTokenObject
449
RevertState(
_tokens
(offsetInQueue))
452
_tokens
.RemoveRange(offsetInQueue,
_tokens
.Count - offsetInQueue)
462
_tokens
.Add(New ScannerToken(ppState, lineBufferOffset, endOfTerminatorTrivia, tk, state))
468
_tokens
.Clear()
475
_tokens
.Clear()
480
If
_tokens
.Count = 0 Then
484
RevertState(
_tokens
(0))
485
_tokens
.Clear()
528
If
_tokens
.Count = 0 Then
531
Dim tokens =
_tokens
.ToArray()
532
_tokens
.Clear()
537
_tokens
.Clear()
539
_tokens
.AddRange(tokens)