private function foreachVariable() {
    if ($this->currentType === T_LIST) {
      return $this->_list();
    }
    else {
      if ($this->currentType === '&') {
        return $this->writeVariable();
      }
      else {
        return $this->variable();
      }
    }
  }
private function foreachVariable() {
    if ($this->currentType === T_LIST) {
      return $this->_list();
    }
    else {
      if ($this->currentType === '&') {
        return $this->writeVariable();
      }
      else {
        return $this->variable();
      }
    }
  }
private function foreachVariable ( ) { if ( $ this -> currentType === T_LIST ) { return $ this -> _list ( ) ; } else { if ( $ this -> currentType === '&' ) { return $ this -> writeVariable ( ) ; } else { return $ this -> variable ( ) ; } } }
Parse a foreach variable.
@return Node
Parse a foreach variable .