49 references to EndOfFileToken
Microsoft.CodeAnalysis.VisualBasic (49)
CommandLine\VisualBasicCommandLineParser.vb (5)
1921
If tokens.Current.Kind <> SyntaxKind.
EndOfFileToken
Then
1930
If tokens.Current.Kind = SyntaxKind.
EndOfFileToken
Then
1988
While tokens.Current.Kind <> SyntaxKind.
EndOfFileToken
AndAlso tokens.Current.Span.End <= parsedEnd
2055
tokens.Current.Kind = SyntaxKind.
EndOfFileToken
Then
2113
Return token.Kind = SyntaxKind.
EndOfFileToken
OrElse token.Kind = SyntaxKind.ColonToken OrElse token.Kind = SyntaxKind.CommaToken
Generated\Syntax.xml.Internal.Generated.vb (2)
34815
Debug.Assert(endOfFileToken IsNot Nothing AndAlso endOfFileToken.Kind = SyntaxKind.
EndOfFileToken
)
46881
Debug.Assert(endOfFileToken IsNot Nothing AndAlso endOfFileToken.Kind = SyntaxKind.
EndOfFileToken
)
Generated\Syntax.xml.Main.Generated.vb (4)
6676
Case SyntaxKind.
EndOfFileToken
6703
Return SyntaxFactory.CompilationUnit(options, [imports], attributes, members, SyntaxFactory.Token(SyntaxKind.
EndOfFileToken
))
6711
Return SyntaxFactory.CompilationUnit(Nothing, Nothing, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.
EndOfFileToken
))
45244
SyntaxKind.
EndOfFileToken
,
Parser\BlockContexts\CompilationUnitContext.vb (1)
98
Debug.Assert(optionalTerminator Is Nothing OrElse optionalTerminator.Kind = SyntaxKind.
EndOfFileToken
)
Parser\BlockContexts\ExecutableStatementContext.vb (1)
213
Case SyntaxKind.StatementTerminatorToken, SyntaxKind.
EndOfFileToken
Parser\BlockContexts\SingleLineElseContext.vb (2)
83
Case SyntaxKind.StatementTerminatorToken, SyntaxKind.
EndOfFileToken
106
Case SyntaxKind.StatementTerminatorToken, SyntaxKind.
EndOfFileToken
, SyntaxKind.ColonToken
Parser\BlockContexts\SingleLineIfBlockContext.vb (2)
89
Case SyntaxKind.StatementTerminatorToken, SyntaxKind.
EndOfFileToken
108
Case SyntaxKind.StatementTerminatorToken, SyntaxKind.
EndOfFileToken
, SyntaxKind.ColonToken
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
73
Case SyntaxKind.StatementTerminatorToken, SyntaxKind.
EndOfFileToken
Parser\Parser.vb (6)
481
Debug.Assert(terminator.Kind = SyntaxKind.
EndOfFileToken
)
507
While CurrentToken.Kind <> SyntaxKind.
EndOfFileToken
4172
If CurrentToken.Kind <> SyntaxKind.
EndOfFileToken
Then
5782
Case SyntaxKind.
EndOfFileToken
6083
If Me.CurrentToken.Kind = SyntaxKind.
EndOfFileToken
Then Return node
6085
While (Me.CurrentToken.Kind <> SyntaxKind.
EndOfFileToken
)
Parser\ParseScan.vb (3)
246
While CurrentToken.Kind <> SyntaxKind.
EndOfFileToken
282
While CurrentToken.Kind <> SyntaxKind.
EndOfFileToken
AndAlso
421
Return kind = SyntaxKind.EmptyToken OrElse kind = SyntaxKind.
EndOfFileToken
Parser\ParseStatement.vb (1)
1868
If lookahead.Kind <> SyntaxKind.
EndOfFileToken
OrElse _scanner.Options.Kind = SourceCodeKind.Regular Then
Parser\ParseXml.vb (4)
493
Case SyntaxKind.
EndOfFileToken
,
1145
SyntaxKind.
EndOfFileToken
1738
SyntaxKind.
EndOfFileToken
,
1787
Case SyntaxKind.
EndOfFileToken
,
Scanner\Directives.vb (1)
607
Case SyntaxKind.
EndOfFileToken
Scanner\TokenFactories.vb (2)
748
Return SyntaxFactory.Token(precedingTrivia.Node, SyntaxKind.
EndOfFileToken
, Nothing, String.Empty)
751
Private ReadOnly _simpleEof As SyntaxToken = SyntaxFactory.Token(Nothing, SyntaxKind.
EndOfFileToken
, Nothing, String.Empty)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (3)
158
Case SyntaxKind.
EndOfFileToken
456
Return New PunctuationSyntax(SyntaxKind.
EndOfFileToken
, "", precedingTrivia, Nothing)
463
Return New PunctuationSyntax(SyntaxKind.
EndOfFileToken
, "", Nothing, Nothing)
Syntax\InternalSyntax\SyntaxToken.vb (3)
145
If Text.Length = 0 AndAlso Kind <> SyntaxKind.
EndOfFileToken
AndAlso Kind <> SyntaxKind.EmptyToken Then
328
Return Kind = SyntaxKind.StatementTerminatorToken OrElse Kind = SyntaxKind.
EndOfFileToken
337
Return Kind = SyntaxKind.
EndOfFileToken
Syntax\SyntaxFacts.vb (1)
1155
kind = SyntaxKind.
EndOfFileToken
Syntax\SyntaxKindFacts.vb (1)
341
SyntaxKind.
EndOfFileToken
,
Syntax\SyntaxNodeFactories.vb (3)
168
Loop While curTk.Kind <> SyntaxKind.
EndOfFileToken
457
Case SyntaxKind.
EndOfFileToken
458
t = SyntaxFactory.Token(SyntaxKind.
EndOfFileToken
)
Syntax\SyntaxNormalizer.vb (2)
415
If token.Kind = SyntaxKind.
EndOfFileToken
Then
427
If nextToken.Kind = SyntaxKind.
EndOfFileToken
Then
VisualBasicParseOptions.vb (1)
260
Debug.Assert(SyntaxFactory.ParseTokens(symbol.Key).Select(Function(t) t.Kind).SequenceEqual({SyntaxKind.IdentifierToken, SyntaxKind.
EndOfFileToken
}))