class GraphQL::Language::Nodes::AbstractNode

AbstractNode is the base class for all nodes in a GraphQL AST.

It provides some APIs for working with ASTs: - children returns all AST nodes attached to this one. Used for tree traversal. - scalars returns all scalar (Ruby) values attached to this one. Used for comparing nodes. - to_query_string turns an AST node into a GraphQL string