Module: GraphQL::Language::Nodes::AbstractNode::DefinitionNode
- Defined in:
- lib/graphql/language/nodes.rb
Instance Attribute Summary collapse
- 
  
    
      #definition_line  ⇒ Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    This AST node’s #line returns the first line, which may be the description. 
Instance Method Summary collapse
Instance Attribute Details
#definition_line ⇒ Integer (readonly)
This AST node’s GraphQL::Language::Nodes::AbstractNode#line returns the first line, which may be the description.
| 15 16 17 | # File 'lib/graphql/language/nodes.rb', line 15 def definition_line @definition_line end | 
Instance Method Details
#initialize(options = {}) ⇒ Object
| 17 18 19 20 | # File 'lib/graphql/language/nodes.rb', line 17 def initialize( = {}) @definition_line = .delete(:definition_line) super() end |