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)
178
PeekToken(offset -
_tokenOffset
);
193
for (int i =
_tokenOffset
; i < _tokenCount; i++)
199
if (_tokenCount ==
_tokenOffset
)
245
_tokenCount =
_tokenOffset
;
282
if (
_tokenOffset
== 0)
288
_currentNode = _blendedTokens[
_tokenOffset
- 1].Blender.ReadNode(_mode);
301
if (
_tokenOffset
>= _blendedTokens.Length)
307
_tokenCount =
_tokenOffset
; // forget anything after this slot
326
if (
_tokenOffset
>= _tokenCount)
333
return _blendedTokens[
_tokenOffset
].Token;
337
return _lexedTokens[
_tokenOffset
];
401
if (
_tokenOffset
> (_blendedTokens.Length >> 1)
404
int shiftOffset = (_resetStart == -1) ?
_tokenOffset
: _resetStart - _firstToken;
429
if (
_tokenOffset
> (_lexedTokens.Length >> 1)
432
int shiftOffset = (_resetStart == -1) ?
_tokenOffset
: _resetStart - _firstToken;
469
while (
_tokenOffset
+ n >= _tokenCount)
476
return _blendedTokens[
_tokenOffset
+ n].Token;
480
return _lexedTokens[
_tokenOffset
+ n];
1183
private int CurrentTokenPosition => _firstToken +
_tokenOffset
;