forked from graphql-dotnet/parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGraphQLFieldsDefinition.cs
39 lines (32 loc) · 1.04 KB
/
GraphQLFieldsDefinition.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
namespace GraphQLParser.AST;
/// <summary>
/// AST node for <see cref="ASTNodeKind.FieldsDefinition"/>.
/// </summary>
public class GraphQLFieldsDefinition : ASTListNode<GraphQLFieldDefinition>
{
internal GraphQLFieldsDefinition()
{
}
/// <summary>
/// Creates a new instance of <see cref="GraphQLFieldsDefinition"/>.
/// </summary>
public GraphQLFieldsDefinition(List<GraphQLFieldDefinition> items)
: base(items)
{
}
/// <inheritdoc/>
public override ASTNodeKind Kind => ASTNodeKind.FieldsDefinition;
}
internal sealed class GraphQLFieldsDefinitionWithLocation : GraphQLFieldsDefinition
{
public override GraphQLLocation Location { get; set; }
}
internal sealed class GraphQLFieldsDefinitionWithComment : GraphQLFieldsDefinition
{
public override List<GraphQLComment>? Comments { get; set; }
}
internal sealed class GraphQLFieldsDefinitionFull : GraphQLFieldsDefinition
{
public override GraphQLLocation Location { get; set; }
public override List<GraphQLComment>? Comments { get; set; }
}