18 references to EndOfInput
Microsoft.Build (8)
Evaluation\Conditionals\Parser.cs (5)
115
if (!_lexer.IsNext(Token.TokenType.
EndOfInput
))
131
if (!_lexer.IsNext(Token.TokenType.
EndOfInput
))
155
if (Same(expression, Token.TokenType.
EndOfInput
))
185
if (!_lexer.IsNext(Token.TokenType.
EndOfInput
))
194
if (_lexer.IsNext(Token.TokenType.
EndOfInput
))
Evaluation\Conditionals\Scanner.cs (1)
140
if (_lookahead?.IsToken(Token.TokenType.
EndOfInput
) == true)
Evaluation\Conditionals\Token.cs (2)
30
internal static readonly Token EndOfInput = new Token(TokenType.
EndOfInput
);
166
case TokenType.
EndOfInput
:
Microsoft.Build.Engine.UnitTests (10)
Scanner_Tests.cs (10)
74
while (lexer.Advance() && !lexer.IsNext(Token.TokenType.
EndOfInput
))
325
Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.
EndOfInput
));
329
Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.
EndOfInput
));
333
Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.
EndOfInput
));
339
Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.
EndOfInput
));
466
Assert.True(lexer.IsNext(Token.TokenType.
EndOfInput
));
476
Assert.True(lexer.IsNext(Token.TokenType.
EndOfInput
));
486
Assert.True(lexer.IsNext(Token.TokenType.
EndOfInput
));
518
Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.
EndOfInput
));
536
Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.
EndOfInput
));