PDepend\Source\Language\PHP\AbstractPHPParser::parseCompoundVariableOrVariableVariableOrVariable PHP Method

parseCompoundVariableOrVariableVariableOrVariable() protected method

---- $foo; ---- ----- $$foo; ----- ------ ${FOO}; ------
Since: 0.9.6
protected parseCompoundVariableOrVariableVariableOrVariable ( ) : PDepend\Source\AST\ASTNode
return PDepend\Source\AST\ASTNode
    protected function parseCompoundVariableOrVariableVariableOrVariable()
    {
        if ($this->tokenizer->peek() == Tokens::T_DOLLAR) {
            return $this->parseCompoundVariableOrVariableVariable();
        }
        return $this->parseVariable();
    }
AbstractPHPParser