Class: GraphQL::SelectionSet

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

Instance Method Summary collapse

Instance Method Details

#selections_sizeObject



161
162
163
164
165
# File 'ext/graphql_parser/graphql_ruby.c', line 161

static VALUE selection_set_get_selections_size(VALUE self) {
  struct GraphQLAstSelectionSet *node;
  TypedData_Get_Struct(self, struct GraphQLAstSelectionSet, &selection_set_type, node);
  return INT2FIX(GraphQLAstSelectionSet_get_selections_size(node));
}