text: 
  //           Copyright Nathaniel Christen 2019.
  //  Distributed under the Boost Software License, Version 1.0.
  //     (See accompanying file LICENSE_1_0.txt or copy at
  //           http://www.boost.org/LICENSE_1_0.txt)
  
  
  #include "phr-callable-value.h"
  
  #include "phaon-ir.h"
  
  USING_KANS(Phaon)
  
  
  #include <QDebug>
  
  PHR_Callable_Value::PHR_Callable_Value(PhaonIR* phaon_ir, QString name)
    :  phaon_ir_(phaon_ir), name_(name)
  {
  
  }
  
  void PHR_Callable_Value::register_with_name(QString name)
  {
   phaon_ir_->register_callable_value(name_, name);
  }
  
  
  void PHR_Callable_Value::run(fn_type fn)
  {
   qDebug() << name_;
   phaon_ir_->run_callable_value(name_, fn);
  }
  