/PHP-Parser/test/code/parser/expr/ |
H A D | concatPrecedence.test | 11 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 D | math.test | 63 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 D | logic.test | 26 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 D | constant_expr.test | 51 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 D | comparison.test | 19 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 D | ternaryAndCoalesce.test | 94 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 D | throw.test | 29 left: Expr_Variable(
|
H A D | exprInIsset.test | 29 left: Scalar_Int(
|
H A D | exprInList.test | 48 left: Scalar_Int(
|
H A D | arrow_function.test | 227 left: Expr_Variable( 274 left: Expr_Variable(
|
H A D | match.test | 113 left: Expr_Variable(
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | BinaryOp.php | 9 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 D | yieldPrecedence.test | 33 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 D | yieldUnaryPrecedence.test | 45 left: Expr_Yield(
|
H A D | basic.test | 279 left: Expr_YieldFrom( 294 left: Expr_Variable(
|
/PHP-Parser/test/code/parser/expr/uvs/ |
H A D | newInstanceofExpr.test | 13 left: Scalar_String( 27 left: Scalar_String( 52 left: Scalar_String(
|
H A D | isset.test | 15 left: Expr_Array(
|
H A D | staticProperty.test | 47 left: Scalar_String(
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | FindingVisitorTest.php | 25 $assign->expr->left, 48 $assign->expr->left,
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | fixup.test | 13 $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 D | ConstExprEvaluator.php | 179 && $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 D | php.y | 6 %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 D | Standard.php | 321 …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 D | for.test | 32 left: Expr_Variable(
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeFinderTest.php | 13 $vars = [$assign->var, $assign->expr->left, $assign->expr->right];
|