This method implements a decision point between compound-variables and
variable-variable. It expects that the next token in the token-stream is
of type T_DOLLAR and removes it from the stream. Then this method
peeks the next available token when it is of type T_CURLY_BRACE_OPEN
this is compound variable, otherwise it can be a variable-variable or a
compound-variable.