Home
last modified time | relevance | path

Searched refs:namespace (Results 1 – 25 of 29) sorted by relevance

12

/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dnamespaces.test5 namespace Foo;
11 namespace Bar;
17 namespace Foo;
22 namespace Bar;
30 namespace Foo {
36 namespace {
41 namespace Foo {
46 namespace {
H A Dclass.test5 class Foo extends Bar implements ABC, \DEF, namespace\GHI
28 class Foo extends Bar implements ABC, \DEF, namespace\GHI
/PHP-Parser/test/code/parser/stmt/namespace/
H A Dmix.test4 namespace A;
6 namespace B {
11 Cannot mix bracketed namespace declarations with unbracketed namespace declarations from 4:1 to 4:9
51 namespace A {
55 namespace B;
58 Cannot mix bracketed namespace declarations with unbracketed namespace declarations from 6:1 to 6:9
H A DoutsideStmtInvalid.test6 namespace A;
34 namespace A {}
37 No code may exist outside of namespace {} from 3:1 to 3:7
56 namespace A {}
59 namespace B {}
61 No code may exist outside of namespace {} from 3:1 to 3:17
H A DcommentAfterNamespace.test1 Trailing comment after braced namespace declaration
4 namespace Foo {}
H A DnsAfterHashbang.test1 Hashbang followed by namespace declaration
6 namespace A;
H A Dnested.test4 namespace A {
5 namespace B {
H A Dbraced.test5 namespace Foo\Bar {
8 namespace {
H A DnotBraced.test5 namespace Foo\Bar;
8 namespace Bar;
H A DoutsideStmt.test5 namespace B {
41 namespace Foo;
H A Dname.test8 namespace\A\B;
H A DinvalidName.test1 Invalid namespace names
/PHP-Parser/test/code/parser/expr/
H A DkeywordsInNamespacedName.test4 namespace fn;
5 namespace fn\use;
6 namespace self;
7 namespace parent;
8 namespace static;
11 namespace\fn\use();
/PHP-Parser/test/code/parser/stmt/
H A DhaltCompiler.test39 namespace A;
/PHP-Parser/lib/PhpParser/
H A DNameContext.php11 protected ?Name $namespace; variable in PhpParser\\NameContext
36 * @param Name|null $namespace Null is the global namespace
38 public function startNamespace(?Name $namespace = null): void { argument
39 $this->namespace = $namespace;
/PHP-Parser/doc/component/
H A DName_resolution.markdown5 relatively complex name resolution process, which is based on the current namespace, the current
29 namespace prefix. For historic reasons this is a **property** rather than an attribute.
32 * Unqualified function and constant names inside a namespace cannot be statically resolved. Inside
33 a namespace `Foo`, a call to `strlen()` may either refer to the namespaced `\Foo\strlen()`, or
67 public function startNamespace(Name $namespace = null);
H A DAST_builders.markdown31 $node = $factory->namespace('Name\Space')
85 namespace Name\Space;
/PHP-Parser/test/code/formatPreservation/
H A DremovalViaNull.test193 namespace
202 namespace
H A DinsertionOfNullable.test177 namespace
184 namespace Foo
H A DlistInsertion.test141 namespace
147 namespace
/PHP-Parser/tools/fuzzing/
H A Dphp.dict65 "namespace"
/PHP-Parser/
H A DUPGRADE-1.0.md37 The `Node::getType()` method continues to return names using underscores instead of namespace separ…
41 However, some node classes have been moved to a different namespace or renamed, which will result i…
H A DUPGRADE-3.0.md148 namespace into fully qualified names. For example `foo()` in the global namespace resolves to
/PHP-Parser/grammar/
H A Dparser.template8 namespace PhpParser\Parser;
/PHP-Parser/test/code/parser/
H A DsemiReserved.test37 TraitA::catch insteadof namespace\TraitB;
43 namespace\TraitC::exit as byebye;

Completed in 33 milliseconds

12