code: def _parse_comma_list(self):
          
          if self._cur_token['type'] not in self._literals:
              raise Exception(
                  "Parser failed, _parse_comma_list was called on non-literal"
                  " {} on line {}.".format(
                      repr(self._cur_token['value']), self._cur_token['line']
                  )
              )
  
          array = []
          while self._cur_token['type'] in self._literals and not self._finished:
              array.append(self._cur_token['value'])
              self._increment()
              self._skip_whitespace()
              if self._cur_token['type'] is TT.comma:
                  self._increment()
                  self._skip_whitespace()
              elif (
                  not self._finished and
                  self._cur_token['type'] not in (TT.ws, TT.lbreak)
              ):
                  raise ParseError('comma or newline', self._cur_token)
  
          return array
docs: Parse a comma seperated list.