module GraphQL::Language::Nodes::AbstractNode::DefinitionNode
Attributes
definition_line
[R]
Integer?
This AST nodeβs line returns the first line, which may be the description.
Returns
-
Integerβ The first line of the definition (not the description)
Public Class Methods
# File lib/graphql/language/nodes.rb, line 24 def initialize(definition_line: nil, **_rest) @definition_line = definition_line super(**_rest) end
Calls superclass method
Public Instance Methods
Source
# File lib/graphql/language/nodes.rb, line 29 def marshal_dump super << @definition_line end
Calls superclass method
Source
# File lib/graphql/language/nodes.rb, line 33 def marshal_load(values) @definition_line = values.pop super end
Calls superclass method