Class: Activecube::Graphql::ParseTree
- Inherits:
-
Object
- Object
- Activecube::Graphql::ParseTree
- Defined in:
- lib/activecube/graphql/parse_tree.rb
Defined Under Namespace
Classes: Element
Instance Attribute Summary collapse
-
#cube ⇒ Object
readonly
Returns the value of attribute cube.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
- #build_query ⇒ Object
-
#initialize(cube, context_node) ⇒ ParseTree
constructor
A new instance of ParseTree.
Constructor Details
Instance Attribute Details
#cube ⇒ Object (readonly)
Returns the value of attribute cube.
188 189 190 |
# File 'lib/activecube/graphql/parse_tree.rb', line 188 def cube @cube end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
188 189 190 |
# File 'lib/activecube/graphql/parse_tree.rb', line 188 def root @root end |
Instance Method Details
#build_query ⇒ Object
194 195 196 |
# File 'lib/activecube/graphql/parse_tree.rb', line 194 def build_query root.append_query cube end |