Submit
Path:
~
/
/
opt
/
psa
/
admin
/
plib
/
vendor
/
webonyx
/
graphql-php
/
src
/
Language
/
AST
/
File Content:
NodeKind.php
<?php declare(strict_types=1); namespace GraphQL\Language\AST; /** * Holds constants of possible AST nodes. */ class NodeKind { // constants from language/kinds.js: public const NAME = 'Name'; // Document public const DOCUMENT = 'Document'; public const OPERATION_DEFINITION = 'OperationDefinition'; public const VARIABLE_DEFINITION = 'VariableDefinition'; public const VARIABLE = 'Variable'; public const SELECTION_SET = 'SelectionSet'; public const FIELD = 'Field'; public const ARGUMENT = 'Argument'; // Fragments public const FRAGMENT_SPREAD = 'FragmentSpread'; public const INLINE_FRAGMENT = 'InlineFragment'; public const FRAGMENT_DEFINITION = 'FragmentDefinition'; // Values public const INT = 'IntValue'; public const FLOAT = 'FloatValue'; public const STRING = 'StringValue'; public const BOOLEAN = 'BooleanValue'; public const ENUM = 'EnumValue'; public const NULL = 'NullValue'; public const LST = 'ListValue'; public const OBJECT = 'ObjectValue'; public const OBJECT_FIELD = 'ObjectField'; // Directives public const DIRECTIVE = 'Directive'; // Types public const NAMED_TYPE = 'NamedType'; public const LIST_TYPE = 'ListType'; public const NON_NULL_TYPE = 'NonNullType'; // Type System Definitions public const SCHEMA_DEFINITION = 'SchemaDefinition'; public const OPERATION_TYPE_DEFINITION = 'OperationTypeDefinition'; // Type Definitions public const SCALAR_TYPE_DEFINITION = 'ScalarTypeDefinition'; public const OBJECT_TYPE_DEFINITION = 'ObjectTypeDefinition'; public const FIELD_DEFINITION = 'FieldDefinition'; public const INPUT_VALUE_DEFINITION = 'InputValueDefinition'; public const INTERFACE_TYPE_DEFINITION = 'InterfaceTypeDefinition'; public const UNION_TYPE_DEFINITION = 'UnionTypeDefinition'; public const ENUM_TYPE_DEFINITION = 'EnumTypeDefinition'; public const ENUM_VALUE_DEFINITION = 'EnumValueDefinition'; public const INPUT_OBJECT_TYPE_DEFINITION = 'InputObjectTypeDefinition'; // Type Extensions public const SCALAR_TYPE_EXTENSION = 'ScalarTypeExtension'; public const OBJECT_TYPE_EXTENSION = 'ObjectTypeExtension'; public const INTERFACE_TYPE_EXTENSION = 'InterfaceTypeExtension'; public const UNION_TYPE_EXTENSION = 'UnionTypeExtension'; public const ENUM_TYPE_EXTENSION = 'EnumTypeExtension'; public const INPUT_OBJECT_TYPE_EXTENSION = 'InputObjectTypeExtension'; // Directive Definitions public const DIRECTIVE_DEFINITION = 'DirectiveDefinition'; // Type System Extensions public const SCHEMA_EXTENSION = 'SchemaExtension'; public const CLASS_MAP = [ self::NAME => NameNode::class, // Document self::DOCUMENT => DocumentNode::class, self::OPERATION_DEFINITION => OperationDefinitionNode::class, self::VARIABLE_DEFINITION => VariableDefinitionNode::class, self::VARIABLE => VariableNode::class, self::SELECTION_SET => SelectionSetNode::class, self::FIELD => FieldNode::class, self::ARGUMENT => ArgumentNode::class, // Fragments self::FRAGMENT_SPREAD => FragmentSpreadNode::class, self::INLINE_FRAGMENT => InlineFragmentNode::class, self::FRAGMENT_DEFINITION => FragmentDefinitionNode::class, // Values self::INT => IntValueNode::class, self::FLOAT => FloatValueNode::class, self::STRING => StringValueNode::class, self::BOOLEAN => BooleanValueNode::class, self::ENUM => EnumValueNode::class, self::NULL => NullValueNode::class, self::LST => ListValueNode::class, self::OBJECT => ObjectValueNode::class, self::OBJECT_FIELD => ObjectFieldNode::class, // Directives self::DIRECTIVE => DirectiveNode::class, // Types self::NAMED_TYPE => NamedTypeNode::class, self::LIST_TYPE => ListTypeNode::class, self::NON_NULL_TYPE => NonNullTypeNode::class, // Type System Definitions self::SCHEMA_DEFINITION => SchemaDefinitionNode::class, self::OPERATION_TYPE_DEFINITION => OperationTypeDefinitionNode::class, // Type Definitions self::SCALAR_TYPE_DEFINITION => ScalarTypeDefinitionNode::class, self::OBJECT_TYPE_DEFINITION => ObjectTypeDefinitionNode::class, self::FIELD_DEFINITION => FieldDefinitionNode::class, self::INPUT_VALUE_DEFINITION => InputValueDefinitionNode::class, self::INTERFACE_TYPE_DEFINITION => InterfaceTypeDefinitionNode::class, self::UNION_TYPE_DEFINITION => UnionTypeDefinitionNode::class, self::ENUM_TYPE_DEFINITION => EnumTypeDefinitionNode::class, self::ENUM_VALUE_DEFINITION => EnumValueDefinitionNode::class, self::INPUT_OBJECT_TYPE_DEFINITION => InputObjectTypeDefinitionNode::class, // Type Extensions self::SCALAR_TYPE_EXTENSION => ScalarTypeExtensionNode::class, self::OBJECT_TYPE_EXTENSION => ObjectTypeExtensionNode::class, self::INTERFACE_TYPE_EXTENSION => InterfaceTypeExtensionNode::class, self::UNION_TYPE_EXTENSION => UnionTypeExtensionNode::class, self::ENUM_TYPE_EXTENSION => EnumTypeExtensionNode::class, self::INPUT_OBJECT_TYPE_EXTENSION => InputObjectTypeExtensionNode::class, // Directive Definitions self::DIRECTIVE_DEFINITION => DirectiveDefinitionNode::class, ]; }
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
ArgumentNode.php
422 bytes
0644
BooleanValueNode.php
196 bytes
0644
DefinitionNode.php
230 bytes
0644
DirectiveDefinitionNode.php
607 bytes
0644
DirectiveNode.php
390 bytes
0644
DocumentNode.php
228 bytes
0644
EnumTypeDefinitionNode.php
654 bytes
0644
EnumTypeExtensionNode.php
601 bytes
0644
EnumValueDefinitionNode.php
323 bytes
0644
EnumValueNode.php
192 bytes
0644
ExecutableDefinitionNode.php
239 bytes
0644
FieldDefinitionNode.php
485 bytes
0644
FieldNode.php
618 bytes
0644
FloatValueNode.php
194 bytes
0644
FragmentDefinitionNode.php
1003 bytes
0644
FragmentSpreadNode.php
429 bytes
0644
HasSelectionSet.php
268 bytes
0644
InlineFragmentNode.php
495 bytes
0644
InputObjectTypeDefinitionNode.php
670 bytes
0644
InputObjectTypeExtensionNode.php
475 bytes
0644
InputValueDefinitionNode.php
610 bytes
0644
IntValueNode.php
190 bytes
0644
InterfaceTypeDefinitionNode.php
592 bytes
0644
InterfaceTypeExtensionNode.php
539 bytes
0644
ListTypeNode.php
255 bytes
0644
ListValueNode.php
235 bytes
0644
Location.php
1534 bytes
0644
NameNode.php
186 bytes
0644
NamedTypeNode.php
198 bytes
0644
Node.php
3624 bytes
0644
NodeKind.php
5489 bytes
0644
NodeList.php
3782 bytes
0644
NonNullTypeNode.php
246 bytes
0644
NullValueNode.php
165 bytes
0644
ObjectFieldNode.php
360 bytes
0644
ObjectTypeDefinitionNode.php
586 bytes
0644
ObjectTypeExtensionNode.php
533 bytes
0644
ObjectValueNode.php
241 bytes
0644
OperationDefinitionNode.php
907 bytes
0644
OperationTypeDefinitionNode.php
348 bytes
0644
ScalarTypeDefinitionNode.php
436 bytes
0644
ScalarTypeExtensionNode.php
383 bytes
0644
SchemaDefinitionNode.php
366 bytes
0644
SchemaExtensionNode.php
363 bytes
0644
SelectionNode.php
184 bytes
0644
SelectionSetNode.php
235 bytes
0644
StringValueNode.php
229 bytes
0644
TypeDefinitionNode.php
397 bytes
0644
TypeExtensionNode.php
394 bytes
0644
TypeNode.php
175 bytes
0644
TypeSystemDefinitionNode.php
256 bytes
0644
TypeSystemExtensionNode.php
216 bytes
0644
UnionTypeDefinitionNode.php
503 bytes
0644
UnionTypeExtensionNode.php
450 bytes
0644
ValueNode.php
296 bytes
0644
VariableDefinitionNode.php
731 bytes
0644
VariableNode.php
196 bytes
0644
N4ST4R_ID | Naxtarrr