51 references to VB
Microsoft.CodeAnalysis.VisualBasic (51)
Parser\ParseExpression.vb (6)
736
GetNextToken(ScannerState.
VB
)
953
TryEatNewLine(ScannerState.
VB
)
1056
GetNextToken(ScannerState.
VB
)
1063
If PeekNextToken(ScannerState.
VB
).Kind = SyntaxKind.LessThanToken Then
1069
GetNextToken(ScannerState.
VB
)
1207
ResetCurrentToken(ScannerState.
VB
)
Parser\ParseInterpolatedString.vb (6)
71
GetNextToken(ScannerState.
VB
)
107
GetNextToken(ScannerState.
VB
)
131
GetNextToken(ScannerState.
VB
)
143
GetNextToken(ScannerState.
VB
)
157
GetNextToken(ScannerState.
VB
)
241
GetNextToken(ScannerState.
VB
)
Parser\Parser.vb (13)
452
ResetCurrentToken(If(_allowLeadingMultilineTrivia, ScannerState.VBAllowLeadingMultilineTrivia, ScannerState.
VB
))
464
ResetCurrentToken(If(_allowLeadingMultilineTrivia, ScannerState.VBAllowLeadingMultilineTrivia, ScannerState.
VB
))
5485
GetNextToken(ScannerState.
VB
)
5494
GetNextToken(ScannerState.
VB
)
5512
ResetCurrentToken(ScannerState.
VB
)
5545
ResetCurrentToken(ScannerState.
VB
)
5918
Optional state As ScannerState = ScannerState.
VB
) As Boolean
5942
Optional state As ScannerState = ScannerState.
VB
) As Boolean
5971
Dim state = If(_allowLeadingMultilineTrivia, ScannerState.VBAllowLeadingMultilineTrivia, ScannerState.
VB
)
5975
Friend Function PeekNextToken(Optional state As ScannerState = ScannerState.
VB
) As SyntaxToken
5976
If _allowLeadingMultilineTrivia AndAlso state = ScannerState.
VB
Then
6012
Friend Sub GetNextToken(Optional state As ScannerState = ScannerState.
VB
)
6013
If _allowLeadingMultilineTrivia AndAlso state = ScannerState.
VB
Then
Parser\ParseScan.vb (5)
286
GetNextToken(ScannerState.
VB
)
294
GetNextToken(ScannerState.
VB
)
304
Return ResyncAt(ScannerState.
VB
, Array.Empty(Of SyntaxKind))
309
Return ResyncAt(ScannerState.
VB
, resyncTokens)
326
Private Function TryEatNewLine(Optional state As ScannerState = ScannerState.
VB
) As Boolean
Parser\ParseVerify.vb (1)
163
Optional state As ScannerState = ScannerState.
VB
Parser\ParseXml.vb (6)
37
Result = ParseXmlElement(ScannerState.
VB
)
94
Return ParseXmlProcessingInstruction(ScannerState.
VB
, whitespaceChecker)
1599
GetNextToken(ScannerState.
VB
)
1634
GetNextToken(ScannerState.
VB
)
2011
TryEatNewLine(ScannerState.
VB
)
2019
ResyncAt(skippedTokens, ScannerState.
VB
, {SyntaxKind.PercentGreaterThanToken,
Scanner\Directives.vb (8)
40
Me.GetNextTokenInState(ScannerState.
VB
)
52
Me.GetNextTokenInState(ScannerState.
VB
)
552
Dim nextKind = Me.PeekToken(1, ScannerState.
VB
).Kind
553
Dim nextNextToken = Me.PeekToken(2, ScannerState.
VB
)
586
GetNextTokenInState(ScannerState.
VB
)
590
GetNextTokenInState(ScannerState.
VB
)
598
GetNextTokenInState(ScannerState.
VB
)
604
GetNextTokenInState(ScannerState.
VB
)
Scanner\TokenStream.vb (6)
240
If _currentToken.State = ScannerState.
VB
AndAlso state = ScannerState.Content Then
281
Dim state = ScannerState.
VB
335
Dim state = ScannerState.
VB
469
_currentToken = _currentToken.With(ScannerState.
VB
, Nothing)
476
_currentToken = New ScannerToken(_scannerPreprocessorState, _lineBufferOffset, _endOfTerminatorTrivia, Nothing, ScannerState.
VB
)
579
Case ScannerState.
VB