2017-08-18 22:57:27 +02:00
|
|
|
<?php declare(strict_types=1);
|
2016-12-23 12:39:27 +01:00
|
|
|
|
|
|
|
namespace PhpParser\Node;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Represents a name that is written in source code with a leading dollar,
|
|
|
|
* but is not a proper variable. The leading dollar is not stored as part of the name.
|
|
|
|
*
|
|
|
|
* Examples: Names in property declarations are formatted as variables. Names in static property
|
|
|
|
* lookups are also formatted as variables.
|
|
|
|
*/
|
|
|
|
class VarLikeIdentifier extends Identifier
|
|
|
|
{
|
2018-01-10 18:57:48 +01:00
|
|
|
public function getType() : string {
|
2017-11-12 21:25:57 +01:00
|
|
|
return 'VarLikeIdentifier';
|
|
|
|
}
|
2016-12-23 12:39:27 +01:00
|
|
|
}
|