Home
last modified time | relevance | path

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

12

/PHP-Parser/test/code/parser/stmt/
H A Dattributes.test39 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 DnewInInitializer.test87 0: Attribute(
/PHP-Parser/lib/PhpParser/Node/
H A DAttributeGroup.php8 /** @var Attribute[] Attributes */
12 * @param Attribute[] $attrs PHP attributes
H A DAttribute.php8 class Attribute extends NodeAbstract { class
/PHP-Parser/test/PhpParser/Builder/
H A DEnumCaseTest.php7 use PhpParser\Node\Attribute; alias
39 $attribute = new Attribute(
H A DTraitTest.php8 use PhpParser\Node\Attribute; alias
99 $attribute = new Attribute(
H A DEnumTest.php8 use PhpParser\Node\Attribute; alias
110 $attribute = new Attribute(
H A DFunctionTest.php8 use PhpParser\Node\Attribute; alias
90 $attribute = new Attribute(
H A DInterfaceTest.php8 use PhpParser\Node\Attribute; alias
85 $attribute = new Attribute(
H A DClassTest.php9 use PhpParser\Node\Attribute; alias
145 $attribute = new Attribute(
H A DClassConstTest.php8 use PhpParser\Node\Attribute; alias
122 $attribute = new Attribute(
H A DMethodTest.php9 use PhpParser\Node\Attribute; alias
132 $attribute = new Attribute(
H A DPropertyTest.php9 use PhpParser\Node\Attribute; alias
136 $attribute = new Attribute(
H A DParamTest.php8 use PhpParser\Node\Attribute; alias
277 $attribute = new Attribute(
/PHP-Parser/test/code/formatPreservation/
H A Dattributes.test33 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 DfirstClassCallables.test87 0: Attribute(
/PHP-Parser/test/PhpParser/
H A DBuilderHelpersTest.php17 $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 DBuilderFactoryTest.php6 use PhpParser\Node\Attribute; alias
49 new Attribute(new Name('AttributeName'), [new Arg(
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php20 public function attribute($name, array $args = []): Node\Attribute {
21 return new Node\Attribute(
H A DBuilderHelpers.php310 if (!($attribute instanceof Node\Attribute)) {
/PHP-Parser/doc/component/
H A DAST_builders.markdown137 * `attribute($name, $args)`: Create a `Attribute` node. Converts `$name` to a `Name` node and
/PHP-Parser/grammar/
H A Dphp.y216 class_name { $$ = Node\Attribute[$1, []]; }
217 | class_name argument_list { $$ = Node\Attribute[$1, $2]; }
/PHP-Parser/
H A DCHANGELOG.md119 * Attribute handling has been moved from the lexer to the parser, and is no longer configurable.
336 * An `addAttribute()` method accepting an `Attribute` or `AttributeGroup` has been adde to all
411 containing `Attribute` nodes. A new `attrGroups` subnode is available on all node types that
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php72 protected function pAttribute(Node\Attribute $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp8.php1325 …$self->semValue = new Node\Attribute($self->semStack[$stackPos-(1-1)], [], $self->getAttributes($s…
1328 …$self->semValue = new Node\Attribute($self->semStack[$stackPos-(2-1)], $self->semStack[$stackPos-(…

Completed in 76 milliseconds

12