Class: GraphQL::FragmentDefinition
- Defined in:
- ext/graphql_parser/graphql_ruby.c
Instance Method Summary collapse
Instance Method Details
#directives_size ⇒ Object
341 342 343 344 345 |
# File 'ext/graphql_parser/graphql_ruby.c', line 341
static VALUE fragment_definition_get_directives_size(VALUE self) {
struct GraphQLAstFragmentDefinition *node;
TypedData_Get_Struct(self, struct GraphQLAstFragmentDefinition, &fragment_definition_type, node);
return INT2FIX(GraphQLAstFragmentDefinition_get_directives_size(node));
}
|
#name ⇒ Object
329 330 331 332 333 |
# File 'ext/graphql_parser/graphql_ruby.c', line 329
static VALUE fragment_definition_get_name(VALUE self) {
struct GraphQLAstFragmentDefinition *node;
TypedData_Get_Struct(self, struct GraphQLAstFragmentDefinition, &fragment_definition_type, node);
return TypedData_Wrap_Struct(name_class, &name_type, (void*)GraphQLAstFragmentDefinition_get_name(node));
}
|
#selection_set ⇒ Object
347 348 349 350 351 |
# File 'ext/graphql_parser/graphql_ruby.c', line 347
static VALUE fragment_definition_get_selection_set(VALUE self) {
struct GraphQLAstFragmentDefinition *node;
TypedData_Get_Struct(self, struct GraphQLAstFragmentDefinition, &fragment_definition_type, node);
return TypedData_Wrap_Struct(selection_set_class, &selection_set_type, (void*)GraphQLAstFragmentDefinition_get_selection_set(node));
}
|
#type_condition ⇒ Object
335 336 337 338 339 |
# File 'ext/graphql_parser/graphql_ruby.c', line 335
static VALUE fragment_definition_get_type_condition(VALUE self) {
struct GraphQLAstFragmentDefinition *node;
TypedData_Get_Struct(self, struct GraphQLAstFragmentDefinition, &fragment_definition_type, node);
return TypedData_Wrap_Struct(named_type_class, &named_type_type, (void*)GraphQLAstFragmentDefinition_get_type_condition(node));
}
|