Class: GraphQL::Visitor
- Inherits:
-
Object
- Object
- GraphQL::Visitor
- Defined in:
- lib/graphql/visitor.rb,
ext/graphql_parser/graphql_ruby.c
Instance Method Summary collapse
Instance Method Details
#accept(ast) ⇒ Object
714 715 716 717 718 719 720 721 722 |
# File 'ext/graphql_parser/graphql_ruby.c', line 714
static VALUE accept(VALUE self, VALUE ast) {
struct GraphQLAstNode *n;
TypedData_Get_Struct(ast, struct GraphQLAstNode, &ast_type, n);
graphql_node_visit(n, &cbs, (void*)self);
return Qnil;
}
|