當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Expr::__construct方法代碼示例

本文整理匯總了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;
 }
開發者ID:ircmaxell,項目名稱:php-cfg,代碼行數:7,代碼來源:Array_.php

示例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);
 }
開發者ID:ircmaxell,項目名稱:php-cfg,代碼行數:7,代碼來源:Assertion.php

示例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;
 }
開發者ID:nikic,項目名稱:php-cfg,代碼行數:7,代碼來源:Array_.php

示例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);
 }
開發者ID:ircmaxell,項目名稱:php-cfg,代碼行數:7,代碼來源:NsFuncCall.php

示例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;
 }
開發者ID:royopa,項目名稱:php-cfg,代碼行數:7,代碼來源:StaticCall.php

示例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;
 }
開發者ID:nikic,項目名稱:php-cfg,代碼行數:7,代碼來源:MethodCall.php

示例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;
 }
開發者ID:nikic,項目名稱:php-cfg,代碼行數:8,代碼來源:Closure.php

示例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;
 }
開發者ID:RustJason,項目名稱:php-cfg,代碼行數:9,代碼來源:Closure.php

示例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;
 }
開發者ID:royopa,項目名稱:php-cfg,代碼行數:11,代碼來源:Param.php

示例10: __construct

 public function __construct(Operand $left, Operand $right, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->left = $left;
     $this->right = $right;
 }
開發者ID:royopa,項目名稱:php-cfg,代碼行數:6,代碼來源:BinaryOp.php

示例11: __construct

 public function __construct(Variable $expr, $type, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
     $this->type = $type;
 }
開發者ID:nikic,項目名稱:php-cfg,代碼行數:6,代碼來源:Include_.php

示例12: __construct

 public function __construct(Operand $var, Operand $name, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->name = $name;
 }
開發者ID:royopa,項目名稱:php-cfg,代碼行數:6,代碼來源:PropertyFetch.php

示例13: __construct

 public function __construct(array $list, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->list = $this->addWriteRef($list);
 }
開發者ID:RustJason,項目名稱:php-cfg,代碼行數:5,代碼來源:List_.php

示例14: __construct

 public function __construct(array $vars, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->vars = $this->addReadRef($vars);
 }
開發者ID:ircmaxell,項目名稱:php-cfg,代碼行數:5,代碼來源:Isset_.php

示例15: __construct

 public function __construct(Variable $class, array $args, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->class = $class;
     $this->args = $args;
 }
開發者ID:nikic,項目名稱:php-cfg,代碼行數:6,代碼來源:New_.php


注:本文中的PHPCfg\Op\Expr::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。