Interface NamedNode<T extends NamedNode>
- All Superinterfaces:
Node<T>, Serializable
- All Known Subinterfaces:
ImplementingTypeDefinition<T>, TypeDefinition<T>
- All Known Implementing Classes:
Argument, Directive, DirectiveDefinition, DirectiveLocation, EnumTypeDefinition, EnumTypeExtensionDefinition, EnumValue, EnumValueDefinition, Field, FieldDefinition, FragmentDefinition, FragmentSpread, InputObjectTypeDefinition, InputObjectTypeExtensionDefinition, InputValueDefinition, InterfaceTypeDefinition, InterfaceTypeExtensionDefinition, ObjectField, ObjectTypeDefinition, ObjectTypeExtensionDefinition, OperationDefinition, OperationTypeDefinition, ScalarTypeDefinition, ScalarTypeExtensionDefinition, TypeName, UnionTypeDefinition, UnionTypeExtensionDefinition, VariableDefinition, VariableReference
Represents a language node that has a name
-
Method Summary
Methods inherited from interface Node
accept, deepCopy, getAdditionalData, getChildren, getComments, getIgnoredChars, getNamedChildren, getSourceLocation, isEqualTo, withNewChildren
-
Method Details
-
getName
@Nullable String getName()- Returns:
- the name of this node, or null if this node is anonymous (e.g. an anonymous operation definition)
-