9 references to StringToken
Microsoft.CodeAnalysis.Features (9)
EmbeddedLanguages\Json\JsonLexer.cs (2)
102
return (GetCharsToCurrentPosition(start), JsonKind.
StringToken
, diagnostic);
116
return (chars, JsonKind.
StringToken
, diagnostic);
EmbeddedLanguages\Json\JsonParser.cs (3)
257
if (child is JsonLiteralNode { LiteralToken.Kind: JsonKind.
StringToken
})
413
if (stringLiteralOrText.Kind != JsonKind.
StringToken
)
462
if (token.Kind == JsonKind.
StringToken
)
EmbeddedLanguages\Json\JsonParser.JsonNetSyntaxChecks.cs (1)
186
=> node.NameToken.Kind != JsonKind.
StringToken
&& !IsLegalPropertyNameText(node.NameToken)
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (2)
154
if (node.NameToken.Kind != JsonKind.
StringToken
)
170
JsonKind.
StringToken
=> CheckString(node.LiteralToken, allowComments),
EmbeddedLanguages\Json\LanguageServices\JsonClassifier.cs (1)
168
case JsonKind.
StringToken
: