Home
last modified time | relevance | path

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

123

/PHP-Parser/grammar/
H A DphpyLang.php62 $args = magicSplit(
68 assertArgs(0, $args, $name);
73 assertArgs(1, $args, $name);
83 assertArgs(2, $args, $name);
85 return $args[0] . '[] = ' . $args[1] . '; $$ = ' . $args[0];
89 assertArgs(2, $args, $name);
91 …return 'if (' . $args[1] . ' !== null) { ' . $args[0] . '[] = ' . $args[1] . '; } $$ = ' . $args[0…
95 assertArgs(1, $args, $name);
97 … return 'if (' . $args[0] . ' instanceof Stmt\Block) { $$ = ' . $args[0] . '->stmts; } '
133 function assertArgs($num, $args, $name) { argument
[all …]
/PHP-Parser/test/code/parser/expr/
H A DnewDeref.test28 args: array(
42 args: array(
48 args: array(
58 args: array(
72 args: array(
78 args: array(
88 args: array(
119 args: array(
165 args: array(
211 args: array(
[all …]
H A Dnew.test26 args: array(
35 args: array(
52 args: array(
69 args: array(
83 args: array(
97 args: array(
119 args: array(
138 args: array(
147 args: array(
H A DfirstClassCallables.test21 args: array(
35 args: array(
49 args: array(
60 args: array(
77 args: array(
91 args: array(
H A Dexit.test12 exit(...$args);
58 args: array(
77 args: array(
81 name: args
94 args: array(
119 args: array(
136 args: array(
147 args: array(
H A DkeywordsInNamespacedName.test53 args: array(
62 args: array(
71 args: array(
80 args: array(
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DFuncCall.php12 public array $args; variable in PhpParser\\Node\\Expr\\FuncCall
21 public function __construct(Node $name, array $args = [], array $attributes = []) { argument
24 $this->args = $args;
36 return $this->args;
H A DNew_.php14 public array $args; variable in PhpParser\\Node\\Expr\\New_
23 public function __construct(Node $class, array $args = [], array $attributes = []) { argument
26 $this->args = $args;
38 return $this->args;
H A DStaticCall.php17 public array $args; variable in PhpParser\\Node\\Expr\\StaticCall
27 public function __construct(Node $class, $name, array $args = [], array $attributes = []) { argument
31 $this->args = $args;
43 return $this->args;
H A DMethodCall.php17 public array $args; variable in PhpParser\\Node\\Expr\\MethodCall
27 public function __construct(Expr $var, $name, array $args = [], array $attributes = []) { argument
31 $this->args = $args;
43 return $this->args;
H A DNullsafeMethodCall.php17 public array $args; variable in PhpParser\\Node\\Expr\\NullsafeMethodCall
27 public function __construct(Expr $var, $name, array $args = [], array $attributes = []) { argument
31 $this->args = $args;
43 return $this->args;
/PHP-Parser/test/code/parser/expr/uvs/
H A DindirectCall.test25 args: array(
36 args: array(
66 args: array(
77 args: array(
114 args: array(
181 args: array(
251 args: array(
342 args: array(
416 args: array(
461 args: array(
[all …]
H A Dnew.test17 args: array(
31 args: array(
45 args: array(
59 args: array(
73 args: array(
97 args: array(
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php18 * @param array $args Attribute named arguments
23 $this->args($args)
241 public function args(array $args): array { argument
243 foreach ($args as $key => $arg) {
259 * @param array $args Function arguments
264 $this->args($args)
273 * @param array $args Method arguments
279 $this->args($args)
288 * @param array $args Method arguments
294 $this->args($args)
[all …]
/PHP-Parser/lib/PhpParser/Node/
H A DAttribute.php13 public array $args; variable in PhpParser\\Node\\Attribute
20 public function __construct(Name $name, array $args = [], array $attributes = []) { argument
23 $this->args = $args;
/PHP-Parser/test/code/parser/expr/fetchAndCall/
H A DfuncCall.test23 args: array(
35 args: array(
46 args: array(
57 args: array(
70 args: array(
84 args: array(
103 args: array(
113 args: array(
H A DstaticCall.test30 args: array(
45 args: array(
57 args: array(
76 args: array(
100 args: array(
113 args: array(
132 args: array(
147 args: array(
161 args: array(
178 args: array(
H A DnewDeref.test17 args: array(
31 args: array(
37 args: array(
47 args: array(
62 args: array(
H A Dargs.test17 args: array(
26 args: array(
43 args: array(
68 args: array(
85 args: array(
H A DobjectAccess.test55 args: array(
70 args: array(
82 args: array(
101 args: array(
114 args: array(
/PHP-Parser/lib/PhpParser/Internal/
H A DPrintableNewAnonClassNode.php24 public array $args; variable in PhpParser\\Internal\\PrintableNewAnonClassNode
41 array $attrGroups, int $flags, array $args, ?Node\Name $extends, array $implements, argument
47 $this->args = $args;
59 $class->attrGroups, $class->flags, $newNode->args, $class->extends, $class->implements,
/PHP-Parser/test/code/parser/stmt/
H A Dattributes.test43 args: array(
50 args: array(
57 args: array(
72 args: array(
106 args: array(
128 args: array(
178 args: array(
207 args: array(
229 args: array(
254 args: array(
[all …]
H A DnewInInitializer.test28 args: array(
56 args: array(
75 args: array(
91 args: array(
98 args: array(
131 args: array(
151 args: array(
/PHP-Parser/test/code/formatPreservation/
H A DemptyListInsertion.test83 $stmts[0]->expr->args[] = new Node\Expr\Variable('a');
84 $stmts[0]->expr->args[] = new Node\Expr\Variable('b');
85 $stmts[1]->expr->args[] = new Node\Expr\Variable('a');
86 $stmts[1]->expr->args[] = new Node\Expr\Variable('b');
87 $stmts[2]->expr->args[] = new Node\Expr\Variable('a');
88 $stmts[2]->expr->args[] = new Node\Expr\Variable('b');
89 $stmts[3]->expr->args[] = new Node\Expr\Variable('a');
90 $stmts[3]->expr->args[] = new Node\Expr\Variable('b');
91 $stmts[4]->expr->args[] = new Node\Expr\Variable('a');
92 $stmts[4]->expr->args[] = new Node\Expr\Variable('b');
H A DnamedArgs.test8 $stmts[0]->expr->args[0]->name = null;
20 $stmts[0]->expr->args[0]->name = new Node\Identifier('a');
33 $stmts[0]->expr->args[0]->name = new Node\Identifier('XYZ');

Completed in 42 milliseconds

123