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