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.
| 197 198 199 | # File 'lib/activecube/graphql/parse_tree.rb', line 197 def cube @cube end | 
#root ⇒ Object (readonly)
Returns the value of attribute root.
| 197 198 199 | # File 'lib/activecube/graphql/parse_tree.rb', line 197 def root @root end | 
Instance Method Details
#build_query ⇒ Object
| 203 204 205 | # File 'lib/activecube/graphql/parse_tree.rb', line 203 def build_query root.append_query cube end |