/PHP-Parser/test/code/parser/stmt/ |
H A D | attributes.test | 39 0: Attribute( 46 1: Attribute( 53 2: Attribute( 68 3: Attribute( 102 0: Attribute( 124 0: Attribute( 174 0: Attribute( 203 0: Attribute( 225 0: Attribute( 250 0: Attribute( [all …]
|
H A D | newInInitializer.test | 87 0: Attribute(
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | AttributeGroup.php | 8 /** @var Attribute[] Attributes */ 12 * @param Attribute[] $attrs PHP attributes
|
H A D | Attribute.php | 8 class Attribute extends NodeAbstract { class
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | EnumCaseTest.php | 7 use PhpParser\Node\Attribute; alias 39 $attribute = new Attribute(
|
H A D | TraitTest.php | 8 use PhpParser\Node\Attribute; alias 99 $attribute = new Attribute(
|
H A D | EnumTest.php | 8 use PhpParser\Node\Attribute; alias 110 $attribute = new Attribute(
|
H A D | FunctionTest.php | 8 use PhpParser\Node\Attribute; alias 90 $attribute = new Attribute(
|
H A D | InterfaceTest.php | 8 use PhpParser\Node\Attribute; alias 85 $attribute = new Attribute(
|
H A D | ClassTest.php | 9 use PhpParser\Node\Attribute; alias 145 $attribute = new Attribute(
|
H A D | ClassConstTest.php | 8 use PhpParser\Node\Attribute; alias 122 $attribute = new Attribute(
|
H A D | MethodTest.php | 9 use PhpParser\Node\Attribute; alias 132 $attribute = new Attribute(
|
H A D | PropertyTest.php | 9 use PhpParser\Node\Attribute; alias 136 $attribute = new Attribute(
|
H A D | ParamTest.php | 8 use PhpParser\Node\Attribute; alias 277 $attribute = new Attribute(
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | attributes.test | 33 new Node\Attribute(new Node\Name('B'), []), 106 new Node\Attribute(new Node\Name('A'), []), 109 new Node\Attribute(new Node\Name('B'), []), 165 $attr = new Node\Attribute(new Node\Name('C'), []);
|
/PHP-Parser/test/code/parser/expr/ |
H A D | firstClassCallables.test | 87 0: Attribute(
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderHelpersTest.php | 17 $attribute = new Node\Attribute(new Node\Name('Test')); 36 BuilderHelpers::normalizeStmt(new Node\Attribute(new Node\Name('Test'))); 216 $attribute = new Node\Attribute(new Node\Name('Test'));
|
H A D | BuilderFactoryTest.php | 6 use PhpParser\Node\Attribute; alias 49 new Attribute(new Name('AttributeName'), [new Arg(
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 20 public function attribute($name, array $args = []): Node\Attribute { 21 return new Node\Attribute(
|
H A D | BuilderHelpers.php | 310 if (!($attribute instanceof Node\Attribute)) {
|
/PHP-Parser/doc/component/ |
H A D | AST_builders.markdown | 137 * `attribute($name, $args)`: Create a `Attribute` node. Converts `$name` to a `Name` node and
|
/PHP-Parser/grammar/ |
H A D | php.y | 216 class_name { $$ = Node\Attribute[$1, []]; } 217 | class_name argument_list { $$ = Node\Attribute[$1, $2]; }
|
/PHP-Parser/ |
H A D | CHANGELOG.md | 142 * Attribute handling has been moved from the lexer to the parser, and is no longer configurable. 359 * An `addAttribute()` method accepting an `Attribute` or `AttributeGroup` has been adde to all 434 containing `Attribute` nodes. A new `attrGroups` subnode is available on all node types that
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 72 protected function pAttribute(Node\Attribute $node): string {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1322 …$self->semValue = new Node\Attribute($self->semStack[$stackPos-(1-1)], [], $self->getAttributes($s… 1325 …$self->semValue = new Node\Attribute($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(…
|