Class PhpParser\Node\VarLikeIdentifier

extends Identifier

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.

Methods
Methods inherited from PhpParser\Node\Identifier
__construct(), getSubNodeNames(), toString(), toLowerString(), isSpecialClassName(), __toString(),
Methods inherited from PhpParser\NodeAbstract
getLine(), getStartLine(), getEndLine(), getStartTokenPos(), getEndTokenPos(), getStartFilePos(), getEndFilePos(), getComments(), getDocComment(), setDocComment(), setAttribute(), hasAttribute(), getAttribute(), getAttributes(), setAttributes(), jsonSerialize()
Properties inherited from PhpParser\Node\Identifier
$name
Properties inherited from PhpParser\NodeAbstract
$attributes