Class: Jaina::Parser::AST::Tree Private
- Inherits:
 - 
      Object
      
        
- Object
 - Jaina::Parser::AST::Tree
 
 
- Defined in:
 - lib/jaina/parser/ast/tree.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.
Instance Attribute Summary collapse
- #ast_oriented_program ⇒ String readonly private
 - #expression ⇒ Jaina::Parser::Expression::Operator::Abstract (also: #root) readonly private
 - #initial_program ⇒ String readonly private
 
Instance Method Summary collapse
- #initialize(initial_program:, ast_oriented_program:, expression:) ⇒ void constructor private
 
Constructor Details
#initialize(initial_program:, ast_oriented_program:, expression:) ⇒ void
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.
      31 32 33 34 35  | 
    
      # File 'lib/jaina/parser/ast/tree.rb', line 31 def initialize(initial_program:, ast_oriented_program:, expression:) @initial_program = initial_program @ast_oriented_program = ast_oriented_program @expression = expression end  | 
  
Instance Attribute Details
#ast_oriented_program ⇒ String (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.
      16 17 18  | 
    
      # File 'lib/jaina/parser/ast/tree.rb', line 16 def ast_oriented_program @ast_oriented_program end  | 
  
#expression ⇒ Jaina::Parser::Expression::Operator::Abstract (readonly) Also known as: root
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.
      22 23 24  | 
    
      # File 'lib/jaina/parser/ast/tree.rb', line 22 def expression @expression end  | 
  
#initial_program ⇒ String (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.
      10 11 12  | 
    
      # File 'lib/jaina/parser/ast/tree.rb', line 10 def initial_program @initial_program end  |