31 writes to _parsePoint
Microsoft.Build (31)
Evaluation\Conditionals\Scanner.cs (31)
66_parsePoint = 0; 160_parsePoint++; 164_parsePoint++; 168_parsePoint++; 208_parsePoint += 2; 213_parsePoint++; 221_parsePoint += 2; 226_parsePoint++; 234_parsePoint += 2; 239_parsePoint++; 246_parsePoint += 2; 261_parsePoint++; 295_parsePoint++; 306var result = ScanForPropertyExpressionEnd(_expression, _parsePoint++, out int indexResult); 316_parsePoint = indexResult; 328_parsePoint++; 505_parsePoint++; 516_parsePoint++; 539_parsePoint++; 558_parsePoint++; 579_parsePoint++; 640_parsePoint++; 655_parsePoint++; 724_parsePoint += 2; 733_parsePoint++; 737_parsePoint++; 744_parsePoint++; 768_parsePoint++; 777_parsePoint++; 786_parsePoint++; 795_parsePoint++;
85 references to _parsePoint
Microsoft.Build (85)
Evaluation\Conditionals\Scanner.cs (85)
148_errorPosition = _parsePoint + 1; 150if (_parsePoint >= _expression.Length) 156switch (_expression[_parsePoint]) 185int start = _parsePoint; 189if ((_parsePoint + 1) < _expression.Length && _expression[_parsePoint + 1] == '(') 205if ((_parsePoint + 1) < _expression.Length && _expression[_parsePoint + 1] == '=') 218if ((_parsePoint + 1) < _expression.Length && _expression[_parsePoint + 1] == '=') 231if ((_parsePoint + 1) < _expression.Length && _expression[_parsePoint + 1] == '=') 243if ((_parsePoint + 1) < _expression.Length && _expression[_parsePoint + 1] == '=') 250_errorPosition = _parsePoint + 2; // expression[parsePoint + 1], counting from 1 252if ((_parsePoint + 1) < _expression.Length) 255_unexpectedlyFound = Convert.ToString(_expression[_parsePoint + 1], CultureInfo.InvariantCulture); 294int start = _parsePoint; // set start so that we include "$(" or "%(" 297if (_parsePoint < _expression.Length && _expression[_parsePoint] != '(') 302_unexpectedlyFound = Convert.ToString(_expression[_parsePoint], CultureInfo.InvariantCulture); 319if (_parsePoint >= _expression.Length) 329return _expression.Substring(start, _parsePoint - start); 482_errorPosition = _parsePoint; 492_errorPosition = _parsePoint; 504int start = _parsePoint; 507if (_parsePoint < _expression.Length && _expression[_parsePoint] != '(') 521while (_parsePoint < _expression.Length) 523if (_expression[_parsePoint] == '\'') 527else if (_expression[_parsePoint] == '(' && !fInReplacement) 531else if (_expression[_parsePoint] == ')' && !fInReplacement) 541if (_parsePoint >= _expression.Length) 564int start = _parsePoint; 569_lookahead = new Token(Token.TokenType.ItemList, _expression.Substring(start, _parsePoint - start)); 580int start = _parsePoint; 582while (_parsePoint < _expression.Length && _expression[_parsePoint] != '\'') 588if ((_expression[_parsePoint] == '%') && ((_parsePoint + 1) < _expression.Length) && (_expression[_parsePoint + 1] == '(')) 593int endOfName = _expression.IndexOf(')', _parsePoint) - 1; 600if (_parsePoint + 3 < _expression.Length) 602name = _expression.Substring(_parsePoint + 2, endOfName - _parsePoint - 2 + 1); 610else if (_expression[_parsePoint] == '@' && ((_parsePoint + 1) < _expression.Length) && (_expression[_parsePoint + 1] == '(')) 631else if (_expression[_parsePoint] == '$' && ((_parsePoint + 1) < _expression.Length) && (_expression[_parsePoint + 1] == '(')) 635else if (_expression[_parsePoint] == '%') 643if (_parsePoint >= _expression.Length) 652string originalTokenString = _expression.Substring(start, _parsePoint - start); 661int start = _parsePoint; 662if (CharacterUtilities.IsNumberStart(_expression[_parsePoint])) // numeric 669else if (CharacterUtilities.IsSimpleStringStart(_expression[_parsePoint])) // simple string (handle 'and' and 'or') 682_unexpectedlyFound = Convert.ToString(_expression[_parsePoint], CultureInfo.InvariantCulture); 695if (string.Equals(_expression.Substring(start, _parsePoint - start), "and", StringComparison.OrdinalIgnoreCase)) 699else if (string.Equals(_expression.Substring(start, _parsePoint - start), "or", StringComparison.OrdinalIgnoreCase)) 705int end = _parsePoint; 707if (_parsePoint < _expression.Length && _expression[_parsePoint] == '(') 721if ((_expression.Length - _parsePoint) > 2 && _expression[_parsePoint] == '0' && (_expression[_parsePoint + 1] == 'x' || _expression[_parsePoint + 1] == 'X')) 726_lookahead = new Token(Token.TokenType.Numeric, _expression.Substring(start, _parsePoint - start)); 728else if (CharacterUtilities.IsNumberStart(_expression[_parsePoint])) 731if (_expression[_parsePoint] == '+') 735else if (_expression[_parsePoint] == '-') 742if (_parsePoint < _expression.Length && _expression[_parsePoint] == '.') 746if (_parsePoint < _expression.Length) 750} while (_parsePoint < _expression.Length && _expression[_parsePoint] == '.'); 753_lookahead = new Token(Token.TokenType.Numeric, _expression.Substring(start, _parsePoint - start)); 766while (_parsePoint < _expression.Length && char.IsWhiteSpace(_expression[_parsePoint])) 775while (_parsePoint < _expression.Length && char.IsDigit(_expression[_parsePoint])) 784while (_parsePoint < _expression.Length && CharacterUtilities.IsHexDigit(_expression[_parsePoint])) 793while (_parsePoint < _expression.Length && CharacterUtilities.IsSimpleStringChar(_expression[_parsePoint]))