1 write to _currentToken
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\Json\JsonParser.cs (1)
97
_currentToken
= _lexer.ScanNextToken();
12 references to _currentToken
Microsoft.CodeAnalysis.Features (12)
EmbeddedLanguages\Json\JsonParser.cs (12)
96
var previous =
_currentToken
;
125
Debug.Assert(
_currentToken
.Kind == JsonKind.EndOfFile);
127
var root = new JsonCompilationUnit(arraySequence,
_currentToken
);
364
=>
_currentToken
.Kind switch
380
return
_currentToken
.Kind switch
410
Debug.Assert(
_currentToken
.Kind == JsonKind.ColonToken);
421
if (
_currentToken
.Kind == JsonKind.CommaToken)
427
else if (
_currentToken
.Kind == JsonKind.EndOfFile)
433
GetTokenStartPositionSpan(
_currentToken
)))));
455
return
_currentToken
.Kind == JsonKind.ColonToken
580
if (
_currentToken
.Kind == kind)
587
return result.AddDiagnosticIfNone(new EmbeddedDiagnostic(error, GetTokenStartPositionSpan(
_currentToken
)));