PluginProbe
WPIDE – File Manager & Code Editor / 3.5.9
WPIDE – File Manager & Code Editor v3.5.9
3.5.9 3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 3.3 All 55 releases
wpide / vendor / nikic / php-parser / lib / PhpParser / Node / Name / Relative.php

Relative.php in WPIDE – File Manager & Code Editor 3.5.9, at vendor/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php

51 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php declare(strict_types=1);
2
3 namespace PhpParser\Node\Name;
4
5 class Relative extends \PhpParser\Node\Name
6 {
7 /**
8 * Checks whether the name is unqualified. (E.g. Name)
9 *
10 * @return bool Whether the name is unqualified
11 */
12 public function isUnqualified() : bool {
13 return false;
14 }
15
16 /**
17 * Checks whether the name is qualified. (E.g. Name\Name)
18 *
19 * @return bool Whether the name is qualified
20 */
21 public function isQualified() : bool {
22 return false;
23 }
24
25 /**
26 * Checks whether the name is fully qualified. (E.g. \Name)
27 *
28 * @return bool Whether the name is fully qualified
29 */
30 public function isFullyQualified() : bool {
31 return false;
32 }
33
34 /**
35 * Checks whether the name is explicitly relative to the current namespace. (E.g. namespace\Name)
36 *
37 * @return bool Whether the name is relative
38 */
39 public function isRelative() : bool {
40 return true;
41 }
42
43 public function toCodeString() : string {
44 return 'namespace\\' . $this->toString();
45 }
46
47 public function getType() : string {
48 return 'Name_Relative';
49 }
50 }
51