/PHP-Parser/test/code/parser/stmt/ |
H A D | switch.test | 23 cond: Expr_Variable( 28 cond: Scalar_Int( 38 cond: Scalar_Int( 48 cond: null 55 cond: Expr_Variable( 65 cond: Expr_Variable( 75 cond: Expr_Variable(
|
H A D | if.test | 22 cond: Expr_Variable( 29 cond: Expr_Variable( 36 cond: Expr_Variable( 49 cond: Expr_Variable( 59 cond: Expr_Variable( 66 cond: Expr_Variable( 73 cond: Expr_Variable( 89 cond: Expr_Variable(
|
H A D | blocklessStatement.test | 21 cond: Expr_Variable( 33 cond: Expr_Variable( 58 cond: array( 88 cond: Expr_Variable( 107 cond: Expr_Variable(
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Ternary.php | 9 public Expr $cond; variable in PhpParser\\Node\\Expr\\Ternary 18 * @param Expr $cond Condition 23 public function __construct(Expr $cond, ?Expr $if, Expr $else, array $attributes = []) { argument 25 $this->cond = $cond;
|
H A D | Match_.php | 10 public Node\Expr $cond; variable in PhpParser\\Node\\Expr\\Match_ 19 public function __construct(Node\Expr $cond, array $arms = [], array $attributes = []) { argument 21 $this->cond = $cond;
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Do_.php | 11 public Node\Expr $cond; variable in PhpParser\\Node\\Stmt\\Do_ 20 public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) { argument 22 $this->cond = $cond;
|
H A D | ElseIf_.php | 9 public Node\Expr $cond; variable in PhpParser\\Node\\Stmt\\ElseIf_ 20 public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) { argument 22 $this->cond = $cond;
|
H A D | Case_.php | 9 public ?Node\Expr $cond; variable in PhpParser\\Node\\Stmt\\Case_ 20 public function __construct(?Node\Expr $cond, array $stmts = [], array $attributes = []) { argument 22 $this->cond = $cond;
|
H A D | While_.php | 9 public Node\Expr $cond; variable in PhpParser\\Node\\Stmt\\While_ 20 public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) { argument 22 $this->cond = $cond;
|
H A D | Switch_.php | 9 public Node\Expr $cond; variable in PhpParser\\Node\\Stmt\\Switch_ 20 public function __construct(Node\Expr $cond, array $cases, array $attributes = []) { argument 22 $this->cond = $cond;
|
H A D | If_.php | 9 public Node\Expr $cond; variable in PhpParser\\Node\\Stmt\\If_ 31 public function __construct(Node\Expr $cond, array $subNodes = [], array $attributes = []) { argument 33 $this->cond = $cond;
|
H A D | For_.php | 11 public array $cond; variable in PhpParser\\Node\\Stmt\\For_ 35 $this->cond = $subNodes['cond'] ?? [];
|
/PHP-Parser/test/code/parser/expr/ |
H A D | ternaryAndCoalesce.test | 22 cond: Expr_Variable( 38 cond: Expr_Variable( 49 cond: Expr_Ternary( 50 cond: Expr_Variable( 73 cond: Expr_Variable( 80 cond: Expr_Variable( 122 cond: Expr_BinaryOp_Coalesce(
|
H A D | match.test | 14 cond: Scalar_Int( 58 cond: Scalar_Int( 97 cond: Expr_Variable( 141 cond: Expr_Variable( 181 cond: Scalar_Int(
|
/PHP-Parser/test/code/parser/ |
H A D | comments.test | 11 if ($cond) { 36 cond: Expr_Variable( 37 name: cond 90 cond: Scalar_Int(
|
/PHP-Parser/test/code/parser/stmt/loop/ |
H A D | while.test | 12 cond: Expr_Variable( 19 cond: Expr_Variable(
|
H A D | for.test | 30 cond: array( 62 cond: array( 87 cond: array( 100 cond: array(
|
H A D | do.test | 13 cond: Expr_Variable(
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | class_position.test | 12 cond: Scalar_Int[3:5 - 3:5]( 45 cond: Scalar_Int[3:5 - 3:5]( 74 cond: Scalar_Int[3:5 - 3:5](
|
H A D | conditional.test | 11 cond: Expr_ConstFetch(
|
/PHP-Parser/test/code/parser/stmt/generator/ |
H A D | basic.test | 116 cond: Expr_Yield( 126 cond: Expr_Yield( 142 cond: Expr_Yield( 152 cond: Expr_Yield( 165 cond: Expr_Yield( 177 cond: Expr_Yield( 185 cond: Expr_Yield(
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | conditional.test | 11 cond: Expr_ConstFetch(
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | indent.test | 63 $stmts[0] = new Stmt\While_($stmts[0]->cond, $stmts[0]->stmts);
|
H A D | insertionOfNullable.test | 73 if ($cond) { // Foo 170 if ($cond) { // Foo
|
/PHP-Parser/lib/PhpParser/ |
H A D | ConstExprEvaluator.php | 168 return $this->evaluate($expr->cond) ?: $this->evaluate($expr->else); 171 return $this->evaluate($expr->cond)
|