Home
last modified time | relevance | path

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

1234567891011

/PHP-Parser/test/code/parser/expr/uvs/
H A DconstDeref.test26 name: Name(
27 name: A
30 name: Identifier(
31 name: length
38 name: Name(
39 name: A
52 name: Name(
53 name: A
166 name: C
181 name: c
[all …]
H A DstaticProperty.test17 name: A
20 name: b
27 name: A
30 name: b
40 name: b
55 name: b
70 name: b
77 name: A
80 name: b
88 name: A
[all …]
H A DindirectCall.test21 name: Expr_FuncCall(
22 name: Name(
23 name: id
27 name: null
38 name: null
50 name: Expr_FuncCall(
52 name: Name(
53 name: id
79 name: null
116 name: null
[all …]
/PHP-Parser/test/PhpParser/Node/
H A DNameTest.php7 $name = new Name(['foo', 'bar']);
8 $this->assertSame('foo\bar', $name->name);
10 $name = new Name('foo\bar');
11 $this->assertSame('foo\bar', $name->name);
13 $name = new Name($name);
14 $this->assertSame('foo\bar', $name->name);
18 $name = new Name('foo');
23 $name = new Name('foo\bar');
30 $name = new Name('Foo\Bar');
102 $name = new Name('foo');
[all …]
/PHP-Parser/test/code/parser/
H A DsemiReserved.test60 name: Identifier(
61 name: Test
261 name: t
275 name: t
287 name: t
299 name: Test
302 name: list
323 name: t
333 name: t
364 name: Identifier(
[all …]
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php35 return new Builder\Namespace_($name);
41 * @param string $name Name of the class
46 return new Builder\Class_($name);
68 return new Builder\Trait_($name);
74 * @param string $name Name of the enum
79 return new Builder\Enum_($name);
118 return new Builder\Method($name);
129 return new Builder\Param($name);
222 * @param string|Expr $name Name
225 if (!\is_string($name) && !$name instanceof Expr) {
[all …]
H A DNameContext.php50 * @param Name $name Original name
96 * @param Name $name Name to resolve
110 return $name;
115 return $name;
126 return new FullyQualified($name, $name->getAttributes());
134 return FullyQualified::concat($this->namespace, $name, $name->getAttributes());
157 $lcName = strtolower($name);
232 if ($name->isQualified()) {
237 return FullyQualified::concat($alias, $name->slice(1), $name->getAttributes());
254 return new Name($name);
[all …]
/PHP-Parser/test/code/parser/expr/
H A DtrailingCommas.test15 name: Name(
16 name: foo
20 name: null
28 name: null
41 name: foo
44 name: bar
69 name: Foo
72 name: bar
97 name: Foo
122 name: a
[all …]
H A Dmath.test40 name: a
50 name: a
57 name: a
64 name: a
67 name: b
77 name: a
80 name: b
87 name: a
90 name: b
97 name: a
[all …]
H A DkeywordsInNamespacedName.test1 Keywords in namespaced name
16 name: Name(
17 name: fn
23 name: Name(
24 name: fn\use
30 name: Name(
31 name: self
37 name: Name(
38 name: parent
44 name: Name(
[all …]
H A Dnullsafe.test15 name: a
17 name: Identifier(
18 name: b
25 name: a
27 name: Identifier(
28 name: b
32 name: null
34 name: c
46 name: a
49 name: b
[all …]
H A DternaryAndCoalesce.test23 name: a
26 name: b
29 name: c
39 name: a
43 name: c
61 name: d
64 name: e
74 name: a
77 name: b
95 name: a
[all …]
H A Dcomparison.test20 name: a
23 name: b
30 name: a
33 name: b
40 name: a
43 name: b
50 name: a
53 name: b
60 name: a
63 name: b
[all …]
H A Dexit.test55 name: Name(
56 name: exit
74 name: Name(
75 name: exit
91 name: Name(
92 name: exit
117 name: exit
133 name: Name(
134 name: exit
144 name: Name(
[all …]
/PHP-Parser/test/code/parser/expr/fetchAndCall/
H A DstaticCall.test5 // method name variations
15 // class name variations
25 name: A
28 name: b
40 name: A
52 name: A
55 name: b
130 name: b
142 name: a
145 name: b
[all …]
H A DfuncCall.test5 // function name variations
20 name: Name(
21 name: a
32 name: Expr_Variable(
33 name: a
41 name: Expr_Variable(
54 name: a
66 name: a
78 name: a
110 name: Name(
[all …]
H A Dargs.test14 name: Name(
15 name: f
23 name: Name(
24 name: f
28 name: null
40 name: Name(
41 name: f
65 name: Name(
66 name: f
82 name: Name(
[all …]
H A DconstFetch.test14 name: Name(
15 name: A
22 name: A
24 name: Identifier(
25 name: B
32 name: A
35 name: class
42 name: a
45 name: B
52 name: a
[all …]
H A DobjectAccess.test22 name: a
24 name: Identifier(
25 name: b
36 name: a
39 name: b
50 name: a
52 name: Identifier(
53 name: b
65 name: a
77 name: a
[all …]
/PHP-Parser/lib/PhpParser/Node/
H A DName.php12 public string $name; variable in PhpParser\\Node\\Name
29 $this->name = self::prepareName($name);
55 return $this->name;
67 return $this->name;
114 return $this->name;
156 return $this->name;
253 if ('' === $name) {
257 return $name;
259 if (\is_array($name)) {
260 if (empty($name)) {
[all …]
/PHP-Parser/test/code/parser/stmt/namespace/
H A DgroupUse.test15 name: A
20 name: Name(
21 name: B
30 name: A
35 name: Name(
42 name: Name(
43 name: D
52 name: A\B
74 name: A
96 name: A
[all …]
/PHP-Parser/test/code/parser/stmt/
H A Dattributes.test89 name: Identifier(
90 name: a
113 name: Identifier(
114 name: C
213 name: Identifier(
214 name: I
236 name: T
244 name: x
275 name: y
305 name: a
[all …]
/PHP-Parser/test/code/parser/stmt/class/
H A Dtrait.test28 name: Identifier(
29 name: A
37 name: Identifier(
38 name: a
52 name: Identifier(
53 name: B
62 name: C
71 name: D
108 name: E
111 name: F
[all …]
H A DtypedConstants.test16 name: Identifier(
17 name: Test
28 name: int
33 name: X
46 name: string
51 name: Y
59 name: Z
72 name: array
93 name: Foo
96 name: Bar
[all …]
/PHP-Parser/grammar/
H A DphpyLang.php61 $name = $matches['name'];
67 if ('attributes' === $name) {
68 assertArgs(0, $args, $name);
73 assertArgs(1, $args, $name);
78 if ('init' === $name) {
82 if ('push' === $name) {
83 assertArgs(2, $args, $name);
94 if ('toBlock' == $name) {
102 if ('parseVar' === $name) {
115 if ('makeNop' === $name) {
[all …]

Completed in 35 milliseconds

1234567891011