6 writes to _tokenOffset
Microsoft.CodeAnalysis.CSharp (6)
Parser\SyntaxParser.cs (6)
118_tokenOffset = 0; 186_tokenOffset = offset; 306_blendedTokens[_tokenOffset++] = _currentNode; 415_tokenOffset -= shiftOffset; 442_tokenOffset -= shiftOffset; 511_tokenOffset++;
19 references to _tokenOffset
Microsoft.CodeAnalysis.CSharp (19)
Parser\SyntaxParser.cs (19)
178PeekToken(offset - _tokenOffset); 193for (int i = _tokenOffset; i < _tokenCount; i++) 199if (_tokenCount == _tokenOffset) 245_tokenCount = _tokenOffset; 282if (_tokenOffset == 0) 288_currentNode = _blendedTokens[_tokenOffset - 1].Blender.ReadNode(_mode); 301if (_tokenOffset >= _blendedTokens.Length) 307_tokenCount = _tokenOffset; // forget anything after this slot 326if (_tokenOffset >= _tokenCount) 333return _blendedTokens[_tokenOffset].Token; 337return _lexedTokens[_tokenOffset]; 401if (_tokenOffset > (_blendedTokens.Length >> 1) 404int shiftOffset = (_resetStart == -1) ? _tokenOffset : _resetStart - _firstToken; 429if (_tokenOffset > (_lexedTokens.Length >> 1) 432int shiftOffset = (_resetStart == -1) ? _tokenOffset : _resetStart - _firstToken; 469while (_tokenOffset + n >= _tokenCount) 476return _blendedTokens[_tokenOffset + n].Token; 480return _lexedTokens[_tokenOffset + n]; 1183private int CurrentTokenPosition => _firstToken + _tokenOffset;