Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 33) sorted by relevance

12

/PHP-Parser/test/code/parser/stmt/
H A Dswitch.test23 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 Dif.test22 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 DblocklessStatement.test21 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 DTernary.php9 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 DMatch_.php10 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 DDo_.php11 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 DElseIf_.php9 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 DCase_.php9 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 DWhile_.php9 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 DSwitch_.php9 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 DIf_.php9 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 DFor_.php11 public array $cond; variable in PhpParser\\Node\\Stmt\\For_
35 $this->cond = $subNodes['cond'] ?? [];
/PHP-Parser/test/code/parser/expr/
H A DternaryAndCoalesce.test22 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 Dmatch.test14 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 Dcomments.test11 if ($cond) {
36 cond: Expr_Variable(
37 name: cond
90 cond: Scalar_Int(
/PHP-Parser/test/code/parser/stmt/loop/
H A Dwhile.test12 cond: Expr_Variable(
19 cond: Expr_Variable(
H A Dfor.test30 cond: array(
62 cond: array(
87 cond: array(
100 cond: array(
H A Ddo.test13 cond: Expr_Variable(
/PHP-Parser/test/code/parser/stmt/class/
H A Dclass_position.test12 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 Dconditional.test11 cond: Expr_ConstFetch(
/PHP-Parser/test/code/parser/stmt/generator/
H A Dbasic.test116 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 Dconditional.test11 cond: Expr_ConstFetch(
/PHP-Parser/test/code/formatPreservation/
H A Dindent.test63 $stmts[0] = new Stmt\While_($stmts[0]->cond, $stmts[0]->stmts);
H A DinsertionOfNullable.test73 if ($cond) { // Foo
170 if ($cond) { // Foo
/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php168 return $this->evaluate($expr->cond) ?: $this->evaluate($expr->else);
171 return $this->evaluate($expr->cond)

Completed in 25 milliseconds

12