Example #1
0
 public function __construct($file, $lineno, $self, $msgname, $args)
 {
     parent::__construct($file, $lineno, null, null);
     $this->self = $self;
     $this->msgname = $msgname;
     $this->args = $args;
 }
 /**
  * Empty $stmts for no body, null for builtin message.
  */
 public function __construct($file, $lineno, $unique, $is_static, $returnspec, $name, $argspec)
 {
     parent::__construct($file, $lineno, $name, $unique);
     $this->is_static = $is_static;
     $this->returnspec = $returnspec;
     $this->argspec = $argspec;
     $this->define_message('invoke');
 }
Example #3
0
 public function __construct($file, $lineno, $unique, $lvalue, $assign, $rvalue, $args)
 {
     parent::__construct($file, $lineno, null, $unique);
     $this->lvalue = $lvalue;
     $this->assign = $assign;
     $this->rvalue = $rvalue;
     $this->args = $args;
     $this->define_message('evaluate');
 }
Example #4
0
 protected function unknown_message($car)
 {
     if ($this->parent != null) {
         // inheritance
         return $this->parent->send_message($car->self, $car->msgname, $car->args);
     } else {
         return parent::unknown_message($car);
     }
 }
Example #5
0
 public function __construct($file, $lineno, $unique, $instance, $msgname, $rt)
 {
     parent::__construct($file, $lineno, null, $unique);
     $this->instance = $instance;
     $this->msgname = isset($msgname) && strlen($msgname) > 0 ? $msgname : null;
     $this->rt = $rt;
     $this->define_message('deliver');
     $this->define_message('assign');
     $this->define_message('define');
 }
Example #6
0
 public function __construct($file, $lineno, $unique, $container)
 {
     parent::__construct($file, $lineno, null, $unique);
     $this->container = $container;
     $this->define_message('bind');
 }
Example #7
0
 public function __construct($file, $lineno, $unique)
 {
     parent::__construct($file, $lineno, null, $unique);
 }