def while_node(node, indent)
      # While we have a branch that meets the condition, generate code for the
      # children related to that specific branch
      buffer_eval "while #{node[@value]}"

      # Evaluate child nodes
      node[@children].each do |child|
        root child, indent
      end

      #End
      buffer_eval 'end'
    end
def while_node(node, indent)
      # While we have a branch that meets the condition, generate code for the
      # children related to that specific branch
      buffer_eval "while #{node[@value]}"

      # Evaluate child nodes
      node[@children].each do |child|
        root child, indent
      end

      #End
      buffer_eval 'end'
    end
Generate the code for a while control structure

 @param node [Array] Node code generation data
 @param indent [Fixnum] Size of the indentation to be added