Mercurial > hg > isophonics-drupal-site
annotate vendor/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 5fb285c0d0e3 |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace PhpParser\Node\Name; |
Chris@0 | 4 |
Chris@0 | 5 class Relative extends \PhpParser\Node\Name |
Chris@0 | 6 { |
Chris@0 | 7 /** |
Chris@0 | 8 * Checks whether the name is unqualified. (E.g. Name) |
Chris@0 | 9 * |
Chris@0 | 10 * @return bool Whether the name is unqualified |
Chris@0 | 11 */ |
Chris@0 | 12 public function isUnqualified() { |
Chris@0 | 13 return false; |
Chris@0 | 14 } |
Chris@0 | 15 |
Chris@0 | 16 /** |
Chris@0 | 17 * Checks whether the name is qualified. (E.g. Name\Name) |
Chris@0 | 18 * |
Chris@0 | 19 * @return bool Whether the name is qualified |
Chris@0 | 20 */ |
Chris@0 | 21 public function isQualified() { |
Chris@0 | 22 return false; |
Chris@0 | 23 } |
Chris@0 | 24 |
Chris@0 | 25 /** |
Chris@0 | 26 * Checks whether the name is fully qualified. (E.g. \Name) |
Chris@0 | 27 * |
Chris@0 | 28 * @return bool Whether the name is fully qualified |
Chris@0 | 29 */ |
Chris@0 | 30 public function isFullyQualified() { |
Chris@0 | 31 return false; |
Chris@0 | 32 } |
Chris@0 | 33 |
Chris@0 | 34 /** |
Chris@0 | 35 * Checks whether the name is explicitly relative to the current namespace. (E.g. namespace\Name) |
Chris@0 | 36 * |
Chris@0 | 37 * @return bool Whether the name is relative |
Chris@0 | 38 */ |
Chris@0 | 39 public function isRelative() { |
Chris@0 | 40 return true; |
Chris@0 | 41 } |
Chris@0 | 42 } |