1 write to _lexer
Microsoft.Build (1)
Evaluation\Conditionals\Parser.cs (1)
108_lexer = new Scanner(expression, _options);
36 references to _lexer
Microsoft.Build (36)
Evaluation\Conditionals\Parser.cs (36)
109if (!_lexer.Advance()) 111errorPosition = _lexer.GetErrorPosition(); 112ProjectErrorUtilities.ThrowInvalidProject(elementLocation, _lexer.GetErrorResource(), expression, errorPosition, _lexer.UnexpectedlyFound); 115if (!_lexer.IsNext(Token.TokenType.EndOfInput)) 117errorPosition = _lexer.GetErrorPosition(); 118ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 131if (!_lexer.IsNext(Token.TokenType.EndOfInput)) 181errorPosition = _lexer.GetErrorPosition(); 182ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 185if (!_lexer.IsNext(Token.TokenType.EndOfInput)) 194if (_lexer.IsNext(Token.TokenType.EndOfInput)) 203errorPosition = _lexer.GetErrorPosition(); 204ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 225errorPosition = _lexer.GetErrorPosition(); 226ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 283Token current = _lexer.CurrentToken; 288errorPosition = _lexer.GetErrorPosition(); 289ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", _lexer.IsNextString(), errorPosition); 296errorPosition = _lexer.GetErrorPosition(); 297ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 311errorPosition = _lexer.GetErrorPosition(); 312ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 321errorPosition = _lexer.GetErrorPosition(); 322ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 329errorPosition = _lexer.GetErrorPosition(); 330ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 337if (!_lexer.IsNext(Token.TokenType.RightParenthesis)) 355Token current = _lexer.CurrentToken; 384if (_lexer.IsNext(token)) 386if (!_lexer.Advance()) 388errorPosition = _lexer.GetErrorPosition(); 389if (_lexer.UnexpectedlyFound != null) 391ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, _lexer.GetErrorResource(), expression, errorPosition, _lexer.UnexpectedlyFound); 395ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, _lexer.GetErrorResource(), expression, errorPosition);