code: private function parseVariable()
      {
          $start = $this->lexer->token;
          $this->expect(Token::DOLLAR);
  
          return new VariableNode([
              'name' => $this->parseName(),
              'loc'  => $this->loc($start),
          ]);
      }
docs: @return VariableNode
  
  @throws SyntaxError