__construct() public method

public __construct ( array $attributes = [] )
$attributes array
Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 public function __construct(array $keys, array $values, array $byRef, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->keys = $keys;
     $this->values = $values;
     $this->byRef = $byRef;
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 public function __construct(Operand $class, Operand $name, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->class = $class;
     $this->name = $name;
     $this->args = $args;
 }
Esempio n. 6
0
 public function __construct(Variable $var, Variable $name, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->name = $name;
     $this->args = $args;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 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;
 }
Esempio n. 9
0
 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;
 }
Esempio n. 10
0
 public function __construct(Operand $left, Operand $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
Esempio n. 11
0
 public function __construct(Variable $expr, $type, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->type = $type;
 }
Esempio n. 12
0
 public function __construct(Operand $var, Operand $name, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->name = $name;
 }
Esempio n. 13
0
 public function __construct(array $list, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->list = $this->addWriteRef($list);
 }
Esempio n. 14
0
 public function __construct(array $vars, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->vars = $this->addReadRef($vars);
 }
Esempio n. 15
0
 public function __construct(Variable $class, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->class = $class;
     $this->args = $args;
 }
Esempio n. 16
0
 public function __construct(Operand $var, Operand $dim = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->dim = $dim;
 }
Esempio n. 17
0
 public function __construct(Operand $var, $byRef, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->byRef = $byRef;
 }
Esempio n. 18
0
 public function __construct(Operand $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
Esempio n. 19
0
 public function __construct(Operand $left, Operand $right, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->left = $this->addReadRef($left);
     $this->right = $this->addReadRef($right);
 }
Esempio n. 20
0
 public function __construct(Variable $expr, Variable $class, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->class = $class;
 }
Esempio n. 21
0
 public function __construct(Operand $value = null, Operand $key = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->value = $this->addReadRef($value);
     $this->key = $this->addReadRef($key);
 }
Esempio n. 22
0
 public function __construct(Variable $left, Variable $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
Esempio n. 23
0
 public function __construct(Operand $class, Operand $name, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->class = $this->addReadRef($class);
     $this->name = $this->addReadRef($name);
 }
Esempio n. 24
0
 public function __construct(Operand $expr, $type, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
     $this->type = $type;
 }
Esempio n. 25
0
 public function __construct(array $list, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->list = $list;
 }
Esempio n. 26
0
 public function __construct(Operand $var, Operand $dim = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
     $this->dim = $this->addReadRef($dim);
 }
Esempio n. 27
0
 public function __construct(Block $expr, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
 }
Esempio n. 28
0
 public function __construct(Operand $var, Operand $expr, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addWriteRef($var);
     $this->expr = $this->addReadRef($expr);
 }
Esempio n. 29
0
 public function __construct(Variable $var, Variable $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->expr = $expr;
 }
Esempio n. 30
0
 public function __construct(Operand $var, $byRef, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
     $this->byRef = $byRef;
 }