Inheritance: extends PHPCfg\Op
コード例 #1
0
ファイル: Const_.php プロジェクト: ircmaxell/php-cfg
 public function __construct($name, Operand $value, Block $valueBlock, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->name = $this->addReadRef($name);
     $this->value = $this->addReadRef($value);
     $this->valueBlock = $valueBlock;
 }
コード例 #2
0
ファイル: StaticVar.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $var, Block $defaultBlock = null, Operand $defaultVar = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addWriteRef($var);
     $this->defaultBlock = $defaultBlock;
     $this->defaultVar = $this->addReadRef($defaultVar);
 }
コード例 #3
0
ファイル: StaticVar.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $var, Block $defaultBlock, Operand $defaultVar, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->defaultBlock = $defaultBlock;
     $this->defaultVar = $defaultVar;
 }
コード例 #4
0
ファイル: Throw_.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
コード例 #5
0
ファイル: Next.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $var, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
 }
コード例 #6
0
ファイル: Return_.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $expr = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
 }
コード例 #7
0
ファイル: Return_.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $expr = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
コード例 #8
0
ファイル: Unset_.php プロジェクト: nikic/php-cfg
 public function __construct(array $exprs, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->exprs = $exprs;
 }
コード例 #9
0
ファイル: Unset_.php プロジェクト: ircmaxell/php-cfg
 public function __construct(array $exprs, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->exprs = $this->addReadRef($exprs);
 }
コード例 #10
0
ファイル: Const_.php プロジェクト: nikic/php-cfg
 public function __construct($name, Variable $value, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->name = $name;
     $this->value = $value;
 }
コード例 #11
0
ファイル: Reset.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $var, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
 }