Class: GraphQL::NamedType

Inherits:
Node
  • Object
show all
Defined in:
ext/graphql_parser/graphql_ruby.c

Instance Method Summary collapse

Instance Method Details

#nameObject



618
619
620
621
622
# File 'ext/graphql_parser/graphql_ruby.c', line 618

static VALUE named_type_get_name(VALUE self) {
  struct GraphQLAstNamedType *node;
  TypedData_Get_Struct(self, struct GraphQLAstNamedType, &named_type_type, node);
  return TypedData_Wrap_Struct(name_class, &name_type, (void*)GraphQLAstNamedType_get_name(node));
}