4 types derived from JsonValueNode
Microsoft.CodeAnalysis.Features (4)
EmbeddedLanguages\Json\JsonNodes.cs (4)
63
internal sealed class JsonTextNode :
JsonValueNode
87
internal sealed class JsonObjectNode :
JsonValueNode
124
internal sealed class JsonArrayNode :
JsonValueNode
162
internal sealed class JsonNegativeLiteralNode :
JsonValueNode
22 references to JsonValueNode
Microsoft.CodeAnalysis.Features (22)
EmbeddedLanguages\Json\JsonNodes.cs (5)
14
using JsonSeparatedList = EmbeddedSeparatedSyntaxNodeList<JsonKind, JsonNode,
JsonValueNode
>;
18
public JsonCompilationUnit(ImmutableArray<
JsonValueNode
> sequence, JsonToken endOfFileToken)
31
public ImmutableArray<
JsonValueNode
> Sequence { get; }
128
ImmutableArray<
JsonValueNode
> sequence,
142
public ImmutableArray<
JsonValueNode
> Sequence { get; }
EmbeddedLanguages\Json\JsonParser.cs (12)
23
using JsonSeparatedList = EmbeddedSeparatedSyntaxNodeList<JsonKind, JsonNode,
JsonValueNode
>;
40
/// of <see cref="
JsonValueNode
"/> values. We just treat almost everything as a 'value'. For
190
var
child = sequence.Single();
240
foreach (
var
child in node.Sequence)
304
private ImmutableArray<
JsonValueNode
> ParseSequence()
318
private ImmutableArray<
JsonValueNode
> ParseSequenceWorker()
320
using var _ = ArrayBuilder<
JsonValueNode
>.GetInstance(out var result);
348
var
value = ParseValue();
373
private
JsonValueNode
ParseValue()
436
var
value = ParseValue();
452
private
JsonValueNode
ParseLiteralOrPropertyOrConstructor()
460
private
JsonValueNode
ParseLiteralOrTextOrConstructor(JsonToken token)
EmbeddedLanguages\Json\JsonParser.JsonNetSyntaxChecks.cs (3)
159
private static EmbeddedDiagnostic? CheckCommasBetweenSequenceElements(ImmutableArray<
JsonValueNode
> sequence)
165
var
child = sequence[i];
166
var
nextChild = sequence[i + 1];
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (2)
127
ImmutableArray<
JsonValueNode
> sequence,
133
var
child = sequence[i];