Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DArrayDimFetch.php11 public ?Expr $dim; variable in PhpParser\\Node\\Expr\\ArrayDimFetch
17 * @param null|Expr $dim Array index / dim
20 public function __construct(Expr $var, ?Expr $dim = null, array $attributes = []) { argument
23 $this->dim = $dim;
/PHP-Parser/test/code/parser/expr/fetchAndCall/
H A DconstantDeref.test24 dim: Scalar_Int(
36 dim: Scalar_Int(
40 dim: Scalar_Int(
44 dim: Scalar_Int(
79 dim: Scalar_Int(
124 dim: Scalar_Int(
159 dim: Scalar_Int(
204 dim: Scalar_Int(
216 dim: Scalar_Int(
231 dim: Scalar_Int(
[all …]
H A DsimpleArrayAccess.test16 dim: Scalar_String(
27 dim: Scalar_String(
31 dim: Scalar_String(
42 dim: null
56 dim: Scalar_String(
H A DnewDeref.test50 dim: Scalar_String(
65 dim: Scalar_String(
69 dim: Scalar_String(
H A DstaticCall.test72 dim: Scalar_String(
92 dim: Scalar_String(
96 dim: Scalar_String(
116 dim: Scalar_String(
171 dim: Scalar_String(
H A DfuncCall.test80 dim: Scalar_String(
99 dim: Scalar_String(
116 dim: Scalar_String(
H A DobjectAccess.test42 dim: Scalar_String(
97 dim: Scalar_String(
117 dim: Scalar_String(
H A DstaticPropertyFetch.test59 dim: Scalar_String(
/PHP-Parser/test/code/parser/scalar/
H A DencapsedNegVarOffset.test18 dim: Scalar_String(
32 dim: Scalar_Int(
46 dim: Scalar_String(
60 dim: Scalar_String(
74 dim: Scalar_Int(
H A DencapsedString.test61 dim: Scalar_String(
75 dim: Scalar_Int(
89 dim: Scalar_Int(
103 dim: Scalar_String(
117 dim: Scalar_String(
131 dim: Scalar_String(
145 dim: Scalar_String(
159 dim: Expr_Variable(
182 dim: Scalar_String(
205 dim: Scalar_String(
[all …]
/PHP-Parser/test/code/parser/expr/uvs/
H A DconstDeref.test56 dim: Scalar_Int(
70 dim: Scalar_Int(
74 dim: Scalar_Int(
78 dim: Scalar_Int(
93 dim: Scalar_Int(
110 dim: Scalar_Int(
114 dim: Scalar_Int(
118 dim: Scalar_Int(
206 dim: Scalar_Int(
H A Dmisc.test36 dim: Scalar_Int(
73 dim: Scalar_Int(
112 dim: Scalar_Int(
H A Dnew.test27 dim: Scalar_String(
85 dim: Scalar_Int(
H A DstaticProperty.test65 dim: Scalar_Int(
94 dim: Scalar_Int(
H A Disset.test40 dim: Scalar_Int(
H A DindirectCall.test163 dim: Scalar_Int(
/PHP-Parser/test/code/parser/expr/
H A Dalternative_array_syntax.test22 dim: Scalar_String(
33 dim: Scalar_String(
51 dim: Scalar_String(
68 dim: Scalar_String(
83 dim: Scalar_String(
95 dim: Scalar_Int(
110 dim: Scalar_Int(
121 dim: Scalar_String(
140 dim: Scalar_String(
H A Dvariable.test59 dim: Scalar_String(
H A Dnew.test65 dim: Scalar_String(
134 dim: Scalar_String(
H A DnewDeref.test105 dim: Scalar_Int(
254 dim: Scalar_Int(
H A Dconstant_expr.test567 dim: Scalar_Int(
/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php140 if ($expr instanceof Expr\ArrayDimFetch && null !== $expr->dim) {
141 return $this->evaluate($expr->var)[$this->evaluate($expr->dim)];
182 return $this->evaluate($expr->left->var)[$this->evaluate($expr->left->dim)]
/PHP-Parser/test/code/formatPreservation/
H A DremovalViaNull.test106 $stmts[3]->expr->dim = null;
H A DinsertionOfNullable.test81 $stmts[1]->expr->dim = new Expr\Variable('a');
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php628 . '[' . (null !== $node->dim ? $this->p($node->dim) : '') . ']';

Completed in 28 milliseconds