Class: GraphQL::FragmentSpread
- Defined in:
- ext/graphql_parser/graphql_ruby.c
Instance Method Summary collapse
Instance Method Details
#directives_size ⇒ Object
271 272 273 274 275 |
# File 'ext/graphql_parser/graphql_ruby.c', line 271
static VALUE fragment_spread_get_directives_size(VALUE self) {
struct GraphQLAstFragmentSpread *node;
TypedData_Get_Struct(self, struct GraphQLAstFragmentSpread, &fragment_spread_type, node);
return INT2FIX(GraphQLAstFragmentSpread_get_directives_size(node));
}
|
#name ⇒ Object
265 266 267 268 269 |
# File 'ext/graphql_parser/graphql_ruby.c', line 265
static VALUE fragment_spread_get_name(VALUE self) {
struct GraphQLAstFragmentSpread *node;
TypedData_Get_Struct(self, struct GraphQLAstFragmentSpread, &fragment_spread_type, node);
return TypedData_Wrap_Struct(name_class, &name_type, (void*)GraphQLAstFragmentSpread_get_name(node));
}
|