11 references to JsonTree
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (1)
143
var
tree = JsonParser.TryParse(allChars, options);
Microsoft.CodeAnalysis.Features (10)
EmbeddedLanguages\Json\JsonParser.cs (3)
27
/// cref="
JsonTree
"/> out of it. Parsing will always succeed (except in the case of a
106
public static
JsonTree
? TryParse(VirtualCharSequence text, JsonOptions options)
121
private
JsonTree
ParseTree(JsonOptions options)
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (1)
87
var
strictTree = JsonParser.TryParse(chars, JsonOptions.Strict);
EmbeddedLanguages\Json\LanguageServices\JsonBraceMatcher.cs (2)
58
private static BraceMatchingResult? GetMatchingBraces(
JsonTree
tree, int position)
70
private static BraceMatchingResult? FindBraceHighlights(
JsonTree
tree, VirtualChar ch)
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (4)
25
: AbstractLanguageDetector<JsonOptions,
JsonTree
, JsonLanguageDetector, JsonLanguageDetector.JsonInfo>(
59
protected override
JsonTree
? TryParse(VirtualCharSequence chars, JsonOptions options)
69
public
JsonTree
? TryParseString(SyntaxToken token, SemanticModel semanticModel, bool includeProbableStrings, CancellationToken cancellationToken)
94
public bool IsProbablyJson(SyntaxToken token, [NotNullWhen(true)] out
JsonTree
? tree)