@@ -8,69 +8,69 @@ class NodeKind
8
8
{
9
9
// constants from language/kinds.js:
10
10
11
- const NAME = 'Name ' ;
11
+ public const NAME = 'Name ' ;
12
12
// Document
13
13
14
- const DOCUMENT = 'Document ' ;
15
- const OPERATION_DEFINITION = 'OperationDefinition ' ;
16
- const VARIABLE_DEFINITION = 'VariableDefinition ' ;
17
- const VARIABLE = 'Variable ' ;
18
- const SELECTION_SET = 'SelectionSet ' ;
19
- const FIELD = 'Field ' ;
20
- const ARGUMENT = 'Argument ' ;
14
+ public const DOCUMENT = 'Document ' ;
15
+ public const OPERATION_DEFINITION = 'OperationDefinition ' ;
16
+ public const VARIABLE_DEFINITION = 'VariableDefinition ' ;
17
+ public const VARIABLE = 'Variable ' ;
18
+ public const SELECTION_SET = 'SelectionSet ' ;
19
+ public const FIELD = 'Field ' ;
20
+ public const ARGUMENT = 'Argument ' ;
21
21
// Fragments
22
22
23
- const FRAGMENT_SPREAD = 'FragmentSpread ' ;
24
- const INLINE_FRAGMENT = 'InlineFragment ' ;
25
- const FRAGMENT_DEFINITION = 'FragmentDefinition ' ;
23
+ public const FRAGMENT_SPREAD = 'FragmentSpread ' ;
24
+ public const INLINE_FRAGMENT = 'InlineFragment ' ;
25
+ public const FRAGMENT_DEFINITION = 'FragmentDefinition ' ;
26
26
// Values
27
27
28
- const INT = 'IntValue ' ;
29
- const FLOAT = 'FloatValue ' ;
30
- const STRING = 'StringValue ' ;
31
- const BOOLEAN = 'BooleanValue ' ;
32
- const ENUM = 'EnumValue ' ;
33
- const NULL = 'NullValue ' ;
34
- const LST = 'ListValue ' ;
35
- const OBJECT = 'ObjectValue ' ;
36
- const OBJECT_FIELD = 'ObjectField ' ;
28
+ public const INT = 'IntValue ' ;
29
+ public const FLOAT = 'FloatValue ' ;
30
+ public const STRING = 'StringValue ' ;
31
+ public const BOOLEAN = 'BooleanValue ' ;
32
+ public const ENUM = 'EnumValue ' ;
33
+ public const NULL = 'NullValue ' ;
34
+ public const LST = 'ListValue ' ;
35
+ public const OBJECT = 'ObjectValue ' ;
36
+ public const OBJECT_FIELD = 'ObjectField ' ;
37
37
// Directives
38
38
39
- const DIRECTIVE = 'Directive ' ;
39
+ public const DIRECTIVE = 'Directive ' ;
40
40
// Types
41
41
42
- const NAMED_TYPE = 'NamedType ' ;
43
- const LIST_TYPE = 'ListType ' ;
44
- const NON_NULL_TYPE = 'NonNullType ' ;
42
+ public const NAMED_TYPE = 'NamedType ' ;
43
+ public const LIST_TYPE = 'ListType ' ;
44
+ public const NON_NULL_TYPE = 'NonNullType ' ;
45
45
// Type System Definitions
46
46
47
- const SCHEMA_DEFINITION = 'SchemaDefinition ' ;
48
- const OPERATION_TYPE_DEFINITION = 'OperationTypeDefinition ' ;
47
+ public const SCHEMA_DEFINITION = 'SchemaDefinition ' ;
48
+ public const OPERATION_TYPE_DEFINITION = 'OperationTypeDefinition ' ;
49
49
// Type Definitions
50
50
51
- const SCALAR_TYPE_DEFINITION = 'ScalarTypeDefinition ' ;
52
- const OBJECT_TYPE_DEFINITION = 'ObjectTypeDefinition ' ;
53
- const FIELD_DEFINITION = 'FieldDefinition ' ;
54
- const INPUT_VALUE_DEFINITION = 'InputValueDefinition ' ;
55
- const INTERFACE_TYPE_DEFINITION = 'InterfaceTypeDefinition ' ;
56
- const UNION_TYPE_DEFINITION = 'UnionTypeDefinition ' ;
57
- const ENUM_TYPE_DEFINITION = 'EnumTypeDefinition ' ;
58
- const ENUM_VALUE_DEFINITION = 'EnumValueDefinition ' ;
59
- const INPUT_OBJECT_TYPE_DEFINITION = 'InputObjectTypeDefinition ' ;
51
+ public const SCALAR_TYPE_DEFINITION = 'ScalarTypeDefinition ' ;
52
+ public const OBJECT_TYPE_DEFINITION = 'ObjectTypeDefinition ' ;
53
+ public const FIELD_DEFINITION = 'FieldDefinition ' ;
54
+ public const INPUT_VALUE_DEFINITION = 'InputValueDefinition ' ;
55
+ public const INTERFACE_TYPE_DEFINITION = 'InterfaceTypeDefinition ' ;
56
+ public const UNION_TYPE_DEFINITION = 'UnionTypeDefinition ' ;
57
+ public const ENUM_TYPE_DEFINITION = 'EnumTypeDefinition ' ;
58
+ public const ENUM_VALUE_DEFINITION = 'EnumValueDefinition ' ;
59
+ public const INPUT_OBJECT_TYPE_DEFINITION = 'InputObjectTypeDefinition ' ;
60
60
// Type Extensions
61
61
62
- const SCALAR_TYPE_EXTENSION = 'ScalarTypeExtension ' ;
63
- const OBJECT_TYPE_EXTENSION = 'ObjectTypeExtension ' ;
64
- const INTERFACE_TYPE_EXTENSION = 'InterfaceTypeExtension ' ;
65
- const UNION_TYPE_EXTENSION = 'UnionTypeExtension ' ;
66
- const ENUM_TYPE_EXTENSION = 'EnumTypeExtension ' ;
67
- const INPUT_OBJECT_TYPE_EXTENSION = 'InputObjectTypeExtension ' ;
62
+ public const SCALAR_TYPE_EXTENSION = 'ScalarTypeExtension ' ;
63
+ public const OBJECT_TYPE_EXTENSION = 'ObjectTypeExtension ' ;
64
+ public const INTERFACE_TYPE_EXTENSION = 'InterfaceTypeExtension ' ;
65
+ public const UNION_TYPE_EXTENSION = 'UnionTypeExtension ' ;
66
+ public const ENUM_TYPE_EXTENSION = 'EnumTypeExtension ' ;
67
+ public const INPUT_OBJECT_TYPE_EXTENSION = 'InputObjectTypeExtension ' ;
68
68
// Directive Definitions
69
69
70
- const DIRECTIVE_DEFINITION = 'DirectiveDefinition ' ;
70
+ public const DIRECTIVE_DEFINITION = 'DirectiveDefinition ' ;
71
71
72
72
// Type System Extensions
73
- const SCHEMA_EXTENSION = 'SchemaExtension ' ;
73
+ public const SCHEMA_EXTENSION = 'SchemaExtension ' ;
74
74
75
75
/** @var string[] */
76
76
public static $ classMap = [
0 commit comments