Class: GraphQL::Backtrace::Frame Private
- Inherits:
-
Object
- Object
- GraphQL::Backtrace::Frame
- Defined in:
- lib/graphql/backtrace.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Used for internal bookkeeping
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
private
-
#ast_node ⇒ Object
readonly
private
-
#field ⇒ Object
readonly
private
-
#object ⇒ Object
readonly
private
-
#parent_frame ⇒ Object
readonly
private
-
#path ⇒ Object
readonly
private
-
#query ⇒ Object
readonly
private
Instance Method Summary collapse
-
#initialize(path:, query:, ast_node:, object:, field:, arguments:, parent_frame:) ⇒ Frame
constructor
private
A new instance of Frame.
Constructor Details
#initialize(path:, query:, ast_node:, object:, field:, arguments:, parent_frame:) ⇒ Frame
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Frame.
47 48 49 50 51 52 53 54 55 |
# File 'lib/graphql/backtrace.rb', line 47 def initialize(path:, query:, ast_node:, object:, field:, arguments:, parent_frame:) @path = path @query = query @ast_node = ast_node @field = field @object = object @arguments = arguments @parent_frame = parent_frame end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def arguments @arguments end |
#ast_node ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def ast_node @ast_node end |
#field ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def field @field end |
#object ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def object @object end |
#parent_frame ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def parent_frame @parent_frame end |
#path ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def path @path end |
#query ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
46 47 48 |
# File 'lib/graphql/backtrace.rb', line 46 def query @query end |