__construct() public method

public __construct ( array $attributes = [] )
$attributes array
Exemplo 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;
 }
Exemplo 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);
 }
Exemplo 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;
 }
Exemplo 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);
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 10
0
 public function __construct(Operand $left, Operand $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
Exemplo n.º 11
0
 public function __construct(Variable $expr, $type, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->type = $type;
 }
Exemplo n.º 12
0
 public function __construct(Operand $var, Operand $name, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->name = $name;
 }
Exemplo n.º 13
0
 public function __construct(array $list, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->list = $this->addWriteRef($list);
 }
Exemplo n.º 14
0
 public function __construct(array $vars, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->vars = $this->addReadRef($vars);
 }
Exemplo n.º 15
0
 public function __construct(Variable $class, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->class = $class;
     $this->args = $args;
 }
Exemplo n.º 16
0
 public function __construct(Operand $var, Operand $dim = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->dim = $dim;
 }
Exemplo n.º 17
0
 public function __construct(Operand $var, $byRef, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->byRef = $byRef;
 }
Exemplo n.º 18
0
 public function __construct(Operand $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
Exemplo 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);
 }
Exemplo n.º 20
0
 public function __construct(Variable $expr, Variable $class, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->class = $class;
 }
Exemplo 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);
 }
Exemplo n.º 22
0
 public function __construct(Variable $left, Variable $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
Exemplo 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);
 }
Exemplo n.º 24
0
 public function __construct(Operand $expr, $type, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
     $this->type = $type;
 }
Exemplo n.º 25
0
 public function __construct(array $list, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->list = $list;
 }
Exemplo 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);
 }
Exemplo n.º 27
0
 public function __construct(Block $expr, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
 }
Exemplo 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);
 }
Exemplo n.º 29
0
 public function __construct(Variable $var, Variable $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->expr = $expr;
 }
Exemplo n.º 30
0
 public function __construct(Operand $var, $byRef, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
     $this->byRef = $byRef;
 }