You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
503 B

3 years ago
  1. <?php declare(strict_types=1);
  2. namespace PhpParser\Node;
  3. /**
  4. * Represents a name that is written in source code with a leading dollar,
  5. * but is not a proper variable. The leading dollar is not stored as part of the name.
  6. *
  7. * Examples: Names in property declarations are formatted as variables. Names in static property
  8. * lookups are also formatted as variables.
  9. */
  10. class VarLikeIdentifier extends Identifier
  11. {
  12. public function getType() : string {
  13. return 'VarLikeIdentifier';
  14. }
  15. }