Class: GraphQL::Language::Nodes::VariableIdentifier

Inherits:
NameOnlyNode show all
Defined in:
lib/graphql/language/nodes.rb

Overview

Usage of a variable in a query. Name does not include $.

Constant Summary

Constants inherited from AbstractNode

AbstractNode::NO_CHILDREN

Instance Attribute Summary

Attributes inherited from NameOnlyNode

#name

Attributes inherited from AbstractNode

#filename

Instance Method Summary collapse

Methods inherited from NameOnlyNode

from_a, #initialize, #marshal_dump, #marshal_load, #scalars

Methods inherited from AbstractNode

#==, #children, #children_method_name, children_of_type, #col, #definition_line, #delete_child, inherited, #initialize_copy, #line, #merge, #position, #replace_child, #scalars, #to_query_string

Constructor Details

This class inherits a constructor from GraphQL::Language::Nodes::NameOnlyNode

Instance Method Details

#visit_method ⇒ Object



1202
1203
1204
# File 'lib/graphql/language/nodes.rb', line 1202

def visit_method
  :on_variable_identifier
end