__construct() public method

public __construct ( array $attributes = [] )
$attributes array
コード例 #1
0
ファイル: Array_.php プロジェクト: ircmaxell/php-cfg
 public function __construct(array $keys, array $values, array $byRef, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->keys = $this->addReadRef($keys);
     $this->values = $this->addReadRef($values);
     $this->byRef = $byRef;
 }
コード例 #2
0
ファイル: Assertion.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $read, Operand $write, Assert $assertion, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($read);
     $this->assertion = $this->addReadRef($assertion);
     $this->result = $this->addWriteRef($write);
 }
コード例 #3
0
ファイル: Array_.php プロジェクト: nikic/php-cfg
 public function __construct(array $keys, array $values, array $byRef, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->keys = $keys;
     $this->values = $values;
     $this->byRef = $byRef;
 }
コード例 #4
0
ファイル: NsFuncCall.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $name, Operand $nsName, array $args, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->nsName = $this->addReadRef($nsName);
     $this->name = $this->addReadRef($name);
     $this->args = $this->addReadRef($args);
 }
コード例 #5
0
ファイル: StaticCall.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $class, Operand $name, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->class = $class;
     $this->name = $name;
     $this->args = $args;
 }
コード例 #6
0
ファイル: MethodCall.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $var, Variable $name, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->name = $name;
     $this->args = $args;
 }
コード例 #7
0
ファイル: Closure.php プロジェクト: nikic/php-cfg
 public function __construct(array $params, $byRef, $returnType, Block $stmts, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->params = $params;
     $this->byRef = (bool) $byRef;
     $this->returnType = $returnType;
     $this->stmts = $stmts;
 }
コード例 #8
0
ファイル: Closure.php プロジェクト: RustJason/php-cfg
 public function __construct(array $params, array $useVars, $byRef, $returnType, Block $stmts, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->params = $this->addReadRef($params);
     $this->useVars = $this->addReadRef($useVars);
     $this->byRef = (bool) $byRef;
     $this->returnType = $returnType;
     $this->stmts = $stmts;
 }
コード例 #9
0
ファイル: Param.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $name, $type, $byRef, $variadic, Operand $defaultVar = null, Block $defaultBlock = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->result->name = $name;
     $this->name = $name;
     $this->type = $type;
     $this->byRef = (bool) $byRef;
     $this->variadic = (bool) $variadic;
     $this->defaultVar = $defaultVar;
     $this->defaultBlock = $defaultBlock;
 }
コード例 #10
0
ファイル: BinaryOp.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $left, Operand $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
コード例 #11
0
ファイル: Include_.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $expr, $type, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->type = $type;
 }
コード例 #12
0
ファイル: PropertyFetch.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $var, Operand $name, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->name = $name;
 }
コード例 #13
0
ファイル: List_.php プロジェクト: RustJason/php-cfg
 public function __construct(array $list, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->list = $this->addWriteRef($list);
 }
コード例 #14
0
ファイル: Isset_.php プロジェクト: ircmaxell/php-cfg
 public function __construct(array $vars, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->vars = $this->addReadRef($vars);
 }
コード例 #15
0
ファイル: New_.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $class, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->class = $class;
     $this->args = $args;
 }
コード例 #16
0
ファイル: ArrayDimFetch.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $var, Operand $dim = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->dim = $dim;
 }
コード例 #17
0
ファイル: Value.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $var, $byRef, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->byRef = $byRef;
 }
コード例 #18
0
ファイル: BooleanNot.php プロジェクト: royopa/php-cfg
 public function __construct(Operand $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
コード例 #19
0
ファイル: BinaryOp.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $left, Operand $right, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->left = $this->addReadRef($left);
     $this->right = $this->addReadRef($right);
 }
コード例 #20
0
ファイル: InstanceOf_.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $expr, Variable $class, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->class = $class;
 }
コード例 #21
0
ファイル: Yield_.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $value = null, Operand $key = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->value = $this->addReadRef($value);
     $this->key = $this->addReadRef($key);
 }
コード例 #22
0
ファイル: BinaryOp.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $left, Variable $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
コード例 #23
0
 public function __construct(Operand $class, Operand $name, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->class = $this->addReadRef($class);
     $this->name = $this->addReadRef($name);
 }
コード例 #24
0
ファイル: Include_.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $expr, $type, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
     $this->type = $type;
 }
コード例 #25
0
ファイル: ConcatList.php プロジェクト: royopa/php-cfg
 public function __construct(array $list, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->list = $list;
 }
コード例 #26
0
ファイル: ArrayDimFetch.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $var, Operand $dim = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
     $this->dim = $this->addReadRef($dim);
 }
コード例 #27
0
ファイル: Isset_.php プロジェクト: RustJason/php-cfg
 public function __construct(Block $expr, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
 }
コード例 #28
0
ファイル: AssignRef.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $var, Operand $expr, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addWriteRef($var);
     $this->expr = $this->addReadRef($expr);
 }
コード例 #29
0
ファイル: Assign.php プロジェクト: nikic/php-cfg
 public function __construct(Variable $var, Variable $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->expr = $expr;
 }
コード例 #30
0
ファイル: Value.php プロジェクト: ircmaxell/php-cfg
 public function __construct(Operand $var, $byRef, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
     $this->byRef = $byRef;
 }