...
1 package ast
2
3 type FragmentSpread struct {
4 Name string
5 Directives DirectiveList
6
7
8 ObjectDefinition *Definition
9 Definition *FragmentDefinition
10
11 Position *Position `dump:"-"`
12 Comment *CommentGroup
13 }
14
15 type InlineFragment struct {
16 TypeCondition string
17 Directives DirectiveList
18 SelectionSet SelectionSet
19
20
21 ObjectDefinition *Definition
22
23 Position *Position `dump:"-"`
24 Comment *CommentGroup
25 }
26
27 type FragmentDefinition struct {
28 Name string
29
30
31 VariableDefinition VariableDefinitionList
32 TypeCondition string
33 Directives DirectiveList
34 SelectionSet SelectionSet
35
36
37 Definition *Definition
38
39 Position *Position `dump:"-"`
40 Comment *CommentGroup
41 }
42
View as plain text