parameters: (cls, value, separator=',')
return_statement: return [chunk.strip() for chunk in value if chunk.strip()]
docstring: Represents value as a list.
  
          Value is split either by separator (defaults to comma) or by lines.
  
          :param value:
          :param separator: List items separator character.
          :rtype: list
docstring_summary: Represents value as a list.
docstring_tokens: Represents value as a list .
function: def _parse_list(cls, value, separator=','):
          """Represents value as a list.
  
          Value is split either by separator (defaults to comma) or by lines.
  
          :param value:
          :param separator: List items separator character.
          :rtype: list
          """
          if isinstance(value, list):  # _get_parser_compound case
              return value
  
          if '\n' in value:
              value = value.splitlines()
          else:
              value = value.split(separator)
  
          return [chunk.strip() for chunk in value if chunk.strip()]
function_tokens: def _parse_list ( cls , value , separator = ',' ) : if isinstance ( value , list ) : # _get_parser_compound case return value if '\n' in value : value = value . splitlines ( ) else : value = value . split ( separator ) return [ chunk . strip ( ) for chunk in value if chunk . strip ( ) ]