5 references to TextToken
Microsoft.CodeAnalysis.Features (5)
EmbeddedLanguages\Json\JsonLexer.cs (1)
174
return (GetCharsToCurrentPosition(start), JsonKind.
TextToken
, null);
EmbeddedLanguages\Json\JsonNodes.cs (1)
68
Debug.Assert(textToken.Kind == JsonKind.
TextToken
);
EmbeddedLanguages\Json\JsonParser.cs (3)
414
stringLiteralOrText = stringLiteralOrText.With(kind: JsonKind.
TextToken
);
496
token.With(kind: JsonKind.
TextToken
).AddDiagnosticIfNone(new EmbeddedDiagnostic(
508
ConsumeToken(JsonKind.
TextToken
, FeaturesResources.Name_expected),