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