protected function bind_definition_by_softref($ba, $sr) { if ($sr->checked_name() == $this->name) { return $this; } return parent::bind_definition_by_softref($ba, $sr); }
public function __construct($file, $lineno, $sr_instance, $msgname, $rt) { parent::__construct($file, $lineno, null); $this->sr_instance = $sr_instance; $this->msgname = isset($msgname) && strlen($msgname) > 0 ? $msgname : null; $this->rt = $rt; }
public function __construct($file, $lineno, $lvalue, $assign, $rvalue, $args) { parent::__construct($file, $lineno, null); $this->lvalue = $lvalue; $this->assign = $assign; $this->rvalue = $rvalue; $this->args = $args; }
protected function bind_definition_by_softref($ba, $sr) { // scope: is message declaration in this container's scope? if (isset($this->m_msgdecls[$sr->checked_name()])) { return $this->m_msgdecls[$sr->checked_name()]; } // scope: is message declaration in container's parent's scope? if ($this->sr_parent !== null) { $parent = $ba->get_container_by_softref($this->sr_parent); if (!isset($parent)) { throw new CainException($this->file, $this->lineno, "Parent \"{$this->parent_sr->unique_or_name}\" not defined"); } $defn = $parent->bind_definition_by_softref($ba, $sr); if ($defn !== null) { return $defn; } } // scope: is known beyond this container? return parent::bind_definition_by_softref($ba, $sr); }
public function __construct($file, $lineno, $sr_ar) { parent::__construct($file, $lineno, null); $this->sr_ar = $sr_ar; }
/** * $srm_ordered is an ordered array of CainSoftReference. $srm_map is keyed by soft reference * unique_or_name string to a CainSoftReference. */ public function __construct($file, $lineno, $sra_ordered, $srm_map) { parent::__construct($file, $lineno, null); $this->sra_ordered = $sra_ordered; $this->srm_map = $srm_map; }
public function __construct($file, $lineno, $value) { parent::__construct($file, $lineno, null); $this->value = $value; }