/PHP-Parser/grammar/ |
H A D | phpyLang.php | 62 $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 D | newDeref.test | 28 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 D | new.test | 26 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 D | firstClassCallables.test | 21 args: array( 35 args: array( 49 args: array( 60 args: array( 77 args: array( 91 args: array(
|
H A D | exit.test | 12 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 D | keywordsInNamespacedName.test | 53 args: array( 62 args: array( 71 args: array( 80 args: array(
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | FuncCall.php | 12 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 D | New_.php | 14 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 D | StaticCall.php | 17 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 D | MethodCall.php | 17 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 D | NullsafeMethodCall.php | 17 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 D | indirectCall.test | 25 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 D | new.test | 17 args: array( 31 args: array( 45 args: array( 59 args: array( 73 args: array( 97 args: array(
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 18 * @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 D | Attribute.php | 13 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 D | funcCall.test | 23 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 D | staticCall.test | 30 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 D | newDeref.test | 17 args: array( 31 args: array( 37 args: array( 47 args: array( 62 args: array(
|
H A D | args.test | 17 args: array( 26 args: array( 43 args: array( 68 args: array( 85 args: array(
|
H A D | objectAccess.test | 55 args: array( 70 args: array( 82 args: array( 101 args: array( 114 args: array(
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | PrintableNewAnonClassNode.php | 24 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 D | attributes.test | 43 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 D | newInInitializer.test | 28 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 D | emptyListInsertion.test | 83 $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 D | namedArgs.test | 8 $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');
|