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'); }
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'); }
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'); }
public function __construct($file, $lineno, $unique, $type, $name, $parent, $msgdecls) { parent::__construct($file, $lineno, $name, $unique); $this->type = $type; $this->parent = $parent; $this->msgdecls = (array) $msgdecls; // for each LangMessageDeclaration, map its name to a message name for this container, which // in turn chains the message to the LangMessageDeclaration's #invoke message ... note that // this can be a builtin as well; message-passing magic means it works both ways foreach ($this->msgdecls as $msgdecl) { $this->define_message($msgdecl->name, function ($car) use($msgdecl) { return $msgdecl->send_message($car->self, 'invoke', $car->args); }); } }
public function __construct($file, $lineno, $unique, $container) { parent::__construct($file, $lineno, null, $unique); $this->container = $container; $this->define_message('bind'); }
public function __construct($file, $lineno, $unique) { parent::__construct($file, $lineno, null, $unique); }