Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 32) sorted by relevance

12

/PHP-Parser/test/code/parser/expr/
H A DconcatPrecedence.test11 left: Expr_BinaryOp_Plus(
12 left: Scalar_Int(
20 left: Scalar_Int(
31 left: Expr_BinaryOp_ShiftLeft(
32 left: Scalar_Int(
40 left: Scalar_Int(
59 left: Expr_BinaryOp_Concat(
60 left: Expr_BinaryOp_Plus(
61 left: Scalar_Int(
80 left: Scalar_Int(
[all …]
H A Dmath.test63 left: Expr_Variable(
76 left: Expr_Variable(
86 left: Expr_Variable(
96 left: Expr_Variable(
106 left: Expr_Variable(
116 left: Expr_Variable(
126 left: Expr_Variable(
136 left: Expr_Variable(
146 left: Expr_Variable(
156 left: Expr_Variable(
[all …]
H A Dlogic.test26 left: Expr_Variable(
39 left: Expr_Variable(
65 left: Expr_Variable(
78 left: Expr_Variable(
88 left: Expr_Variable(
99 left: Expr_Variable(
107 left: Expr_Variable(
122 left: Expr_Variable(
126 left: Expr_Variable(
145 left: Expr_Variable(
[all …]
H A Dconstant_expr.test51 left: Scalar_Int(
68 left: Scalar_Int(
85 left: Scalar_Float(
240 left: Scalar_Int(
257 left: Scalar_Int(
274 left: Scalar_Int(
291 left: Scalar_Int(
308 left: Scalar_Int(
325 left: Scalar_Int(
342 left: Scalar_Int(
[all …]
H A Dcomparison.test19 left: Expr_Variable(
29 left: Expr_Variable(
39 left: Expr_Variable(
49 left: Expr_Variable(
59 left: Expr_Variable(
69 left: Expr_Variable(
79 left: Expr_Variable(
89 left: Expr_Variable(
99 left: Expr_Variable(
H A DternaryAndCoalesce.test94 left: Expr_Variable(
107 left: Expr_Variable(
111 left: Expr_Variable(
123 left: Expr_Variable(
140 left: Expr_BinaryOp_BooleanAnd(
141 left: Expr_Variable(
H A Dthrow.test29 left: Expr_Variable(
H A DexprInIsset.test29 left: Scalar_Int(
H A DexprInList.test48 left: Scalar_Int(
H A Darrow_function.test227 left: Expr_Variable(
274 left: Expr_Variable(
H A Dmatch.test113 left: Expr_Variable(
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DBinaryOp.php9 public Expr $left; variable in PhpParser\\Node\\Expr\\BinaryOp
16 * @param Expr $left The left hand side expression
20 public function __construct(Expr $left, Expr $right, array $attributes = []) { argument
22 $this->left = $left;
/PHP-Parser/test/code/parser/stmt/generator/
H A DyieldPrecedence.test33 left: Scalar_String(
44 left: Expr_Yield(
61 left: Scalar_String(
72 left: Expr_Yield(
102 left: Scalar_String(
133 left: Scalar_String(
158 left: Scalar_String(
188 left: Scalar_String(
231 left: Scalar_String(
H A DyieldUnaryPrecedence.test45 left: Expr_Yield(
H A Dbasic.test279 left: Expr_YieldFrom(
294 left: Expr_Variable(
/PHP-Parser/test/code/parser/expr/uvs/
H A DnewInstanceofExpr.test13 left: Scalar_String(
27 left: Scalar_String(
52 left: Scalar_String(
H A Disset.test15 left: Expr_Array(
H A DstaticProperty.test47 left: Scalar_String(
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DFindingVisitorTest.php25 $assign->expr->left,
48 $assign->expr->left,
/PHP-Parser/test/code/formatPreservation/
H A Dfixup.test13 $stmts[0]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
14 // The parens here are "correct", because add is left assoc
17 $stmts[2]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
23 $stmts[4]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
24 $stmts[5]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php179 && $expr->left instanceof Expr\ArrayDimFetch
182 return $this->evaluate($expr->left->var)[$this->evaluate($expr->left->dim)]
188 $l = $expr->left;
/PHP-Parser/grammar/
H A Dphp.y6 %left ','
7 %left T_LOGICAL_OR
8 %left T_LOGICAL_XOR
9 %left T_LOGICAL_AND
15 %left '?' ':'
19 %left '|'
20 %left '^'
29 %left '.'
31 %left '+' '-'
43 %left T_ELSE
[all …]
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php321 …return $this->pInfixOp(BinaryOp\Plus::class, $node->left, ' + ', $node->right, $precedence, $lhsPr…
325 …return $this->pInfixOp(BinaryOp\Minus::class, $node->left, ' - ', $node->right, $precedence, $lhsP…
329 …return $this->pInfixOp(BinaryOp\Mul::class, $node->left, ' * ', $node->right, $precedence, $lhsPre…
333 …return $this->pInfixOp(BinaryOp\Div::class, $node->left, ' / ', $node->right, $precedence, $lhsPre…
337 …return $this->pInfixOp(BinaryOp\Concat::class, $node->left, ' . ', $node->right, $precedence, $lhs…
341 …return $this->pInfixOp(BinaryOp\Mod::class, $node->left, ' % ', $node->right, $precedence, $lhsPre…
357 …return $this->pInfixOp(BinaryOp\BitwiseOr::class, $node->left, ' | ', $node->right, $precedence, $…
373 …return $this->pInfixOp(BinaryOp\Pow::class, $node->left, ' ** ', $node->right, $precedence, $lhsPr…
389 …return $this->pInfixOp(BinaryOp\Equal::class, $node->left, ' == ', $node->right, $precedence, $lhs…
409 …return $this->pInfixOp(BinaryOp\Greater::class, $node->left, ' > ', $node->right, $precedence, $lh…
[all …]
/PHP-Parser/test/code/parser/stmt/loop/
H A Dfor.test32 left: Expr_Variable(
/PHP-Parser/test/PhpParser/
H A DNodeFinderTest.php13 $vars = [$assign->var, $assign->expr->left, $assign->expr->right];

Completed in 46 milliseconds

12