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

parseVariableOrMemberOptionalByReference() private method

----------- foreach ( $array as &$this->foo ) } ----------- ---------- $foo = &$bar->baz; ----------
Since: 0.9.18
private parseVariableOrMemberOptionalByReference ( ) : PDepend\Source\AST\ASTUnaryExpression
return PDepend\Source\AST\ASTUnaryExpression
    private function parseVariableOrMemberOptionalByReference()
    {
        $this->consumeComments();
        if ($this->tokenizer->peek() === Tokens::T_BITWISE_AND) {
            return $this->parseVariableOrMemberByReference();
        }
        return $this->parseVariableOrConstantOrPrimaryPrefix();
    }
AbstractPHPParser