forked from graphql-dotnet/parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGraphQLEnumValuesDefinition.cs
39 lines (32 loc) · 1.1 KB
/
GraphQLEnumValuesDefinition.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.EnumValuesDefinition"/>.
/// </summary>
public class GraphQLEnumValuesDefinition : ASTListNode<GraphQLEnumValueDefinition>
{
internal GraphQLEnumValuesDefinition()
{
}
/// <summary>
/// Creates a new instance of <see cref="GraphQLEnumValuesDefinition"/>.
/// </summary>
public GraphQLEnumValuesDefinition(List<GraphQLEnumValueDefinition> items)
: base(items)
{
}
/// <inheritdoc/>
public override ASTNodeKind Kind => ASTNodeKind.EnumValuesDefinition;
}
internal sealed class GraphQLEnumValuesDefinitionWithLocation : GraphQLEnumValuesDefinition
{
public override GraphQLLocation Location { get; set; }
}
internal sealed class GraphQLEnumValuesDefinitionWithComment : GraphQLEnumValuesDefinition
{
public override List<GraphQLComment>? Comments { get; set; }
}
internal sealed class GraphQLEnumValuesDefinitionFull : GraphQLEnumValuesDefinition
{
public override GraphQLLocation Location { get; set; }
public override List<GraphQLComment>? Comments { get; set; }
}