本文整理汇总了PHP中PHPCfg\Op\Expr::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Expr::__construct方法的具体用法?PHP Expr::__construct怎么用?PHP Expr::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PHPCfg\Op\Expr
的用法示例。
在下文中一共展示了Expr::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
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: __construct
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: __construct
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: __construct
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: __construct
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: __construct
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: __construct
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: __construct
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: __construct
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: __construct
public function __construct(Operand $left, Operand $right, array $attributes = array())
{
parent::__construct($attributes);
$this->left = $left;
$this->right = $right;
}
示例11: __construct
public function __construct(Variable $expr, $type, array $attributes = array())
{
parent::__construct($attributes);
$this->expr = $expr;
$this->type = $type;
}
示例12: __construct
public function __construct(Operand $var, Operand $name, array $attributes = array())
{
parent::__construct($attributes);
$this->var = $var;
$this->name = $name;
}
示例13: __construct
public function __construct(array $list, array $attributes = [])
{
parent::__construct($attributes);
$this->list = $this->addWriteRef($list);
}
示例14: __construct
public function __construct(array $vars, array $attributes = [])
{
parent::__construct($attributes);
$this->vars = $this->addReadRef($vars);
}
示例15: __construct
public function __construct(Variable $class, array $args, array $attributes = array())
{
parent::__construct($attributes);
$this->class = $class;
$this->args = $args;
}