25 references to EmptyToken
Microsoft.CodeAnalysis.VisualBasic (25)
Generated\Syntax.xml.Internal.Generated.vb (4)
34020
Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.
EmptyToken
)
43691
Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.
EmptyToken
)
46086
Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.
EmptyToken
)
55757
Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.
EmptyToken
)
Generated\Syntax.xml.Main.Generated.vb (5)
5694
Case SyntaxKind.
EmptyToken
5707
Return SyntaxFactory.EmptyStatement(SyntaxFactory.Token(SyntaxKind.
EmptyToken
))
36981
Case SyntaxKind.
EmptyToken
36994
Return SyntaxFactory.OmittedArgument(SyntaxFactory.Token(SyntaxKind.
EmptyToken
))
45245
SyntaxKind.
EmptyToken
,
Parser\Parser.vb (4)
752
Case SyntaxKind.
EmptyToken
1174
Case SyntaxKind.
EmptyToken
1245
Debug.Assert(CurrentToken.Kind = SyntaxKind.
EmptyToken
)
5779
Debug.Assert(SyntaxFacts.IsTerminator(CurrentToken.Kind) OrElse CurrentToken.Kind = SyntaxKind.
EmptyToken
)
Parser\ParseScan.vb (5)
29
If PeekToken(i + 1).Kind <> SyntaxKind.
EmptyToken
Then
41
If t2.Kind <> SyntaxKind.
EmptyToken
Then
249
If IsValidStatementTerminator(CurrentToken) OrElse CurrentToken.Kind = SyntaxKind.
EmptyToken
Then
421
Return kind = SyntaxKind.
EmptyToken
OrElse kind = SyntaxKind.EndOfFileToken
425
Return Not SyntaxFacts.IsTerminator(kind) AndAlso kind <> SyntaxKind.
EmptyToken
Scanner\TokenFactories.vb (1)
467
Return MakePunctuationToken(precedingTrivia, "", SyntaxKind.
EmptyToken
)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
87
Return token.Width = 0 AndAlso token.Kind <> SyntaxKind.
EmptyToken
Syntax\InternalSyntax\SyntaxNodeFactories.vb (2)
475
s_notMissingEmptyToken = New PunctuationSyntax(SyntaxKind.
EmptyToken
, "", Nothing, Nothing)
485
s_missingEmptyToken = New PunctuationSyntax(SyntaxKind.
EmptyToken
, "", Nothing, Nothing)
Syntax\InternalSyntax\SyntaxToken.vb (1)
145
If Text.Length = 0 AndAlso Kind <> SyntaxKind.EndOfFileToken AndAlso Kind <> SyntaxKind.
EmptyToken
Then
Syntax\SyntaxKindFacts.vb (1)
342
SyntaxKind.
EmptyToken
Syntax\SyntaxNormalizer.vb (1)
462
If (token.Kind = SyntaxKind.CommaToken AndAlso (nextToken.Kind = SyntaxKind.
EmptyToken
OrElse token.Parent.Kind = SyntaxKind.InterpolationAlignmentClause)) OrElse