Наследование: extends PHPCfg\Op
Пример #1
0
 public function __construct(Variable $cond, Block $if, Block $else, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->if = $if;
     $this->else = $else;
     $this->cond = $cond;
 }
Пример #2
0
 public function __construct($name, array $extends, Block $stmts, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->name = $name;
     $this->extends = $extends;
     $this->stmts = $stmts;
 }
Пример #3
0
 public function __construct(Operand $cond, array $cases, array $targets, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->cond = $cond;
     $this->cases = $cases;
     $this->targets = $targets;
 }
Пример #4
0
 public function __construct(Operand $cond, Block $if, Block $else, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->if = $if;
     $this->else = $else;
     $this->cond = $this->addReadRef($cond);
 }
Пример #5
0
 public function __construct(Operand $cond, array $cases, array $targets, Block $default, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->cond = $this->addReadRef($cond);
     $this->cases = $cases;
     $this->targets = $targets;
     $this->default = $default;
 }
Пример #6
0
 public function __construct($name, array $params, $byRef, $returnType, Block $stmts = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->name = $name;
     $this->params = $params;
     $this->byRef = (bool) $byRef;
     $this->returnType = $returnType;
     $this->stmts = $stmts;
 }
Пример #7
0
 public function __construct($name, $visiblity, $static, Operand $defaultVar = null, Block $defaultBlock = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->name = $name;
     $this->visiblity = $visiblity;
     $this->static = $static;
     $this->defaultVar = $defaultVar;
     $this->defaultBlock = $defaultBlock;
 }
Пример #8
0
 public function __construct($name, array $params, $byRef, $returnType, Block $stmts = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->name = $this->addReadRef($name);
     $this->params = $params;
     foreach ($params as $param) {
         $this->paramVars[] = $this->addReadRef($param->result);
     }
     $this->byRef = (bool) $byRef;
     $this->returnType = $returnType;
     $this->stmts = $stmts;
 }
Пример #9
0
 public function __construct($name, Block $stmts, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->name = $this->addReadRef($name);
     $this->stmts = $stmts;
 }
Пример #10
0
 public function __construct(Func $func, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->func = $func;
 }
Пример #11
0
 public function __construct(Block $target, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->target = $target;
 }