î
2!ìV  ã               @   s   Gd  d „  d e  ƒ Z d S)c               @   sj   e  Z d  Z d Z d d „  Z d d „  Z d d „  Z d d	 „  Z d
 d „  Z d d „  Z	 d d „  Z
 d S)Ú
ParserBasezC
    Base parser to be subclassed when creating an own parser.
    c             C   s   | |  _  d  S)N)Úcontent)Úselfr   © r   úC/tmp/pip-build-0sboevxh/django-compressor/compressor/parser/base.pyÚ__init__   s    zParserBase.__init__c             C   s
   t  ‚ d S)zJ
        Return an iterable containing the css elements to handle
        N)ÚNotImplementedError)r   r   r   r   Ú	css_elems   s    zParserBase.css_elemsc             C   s
   t  ‚ d S)zI
        Return an iterable containing the js elements to handle
        N)r   )r   r   r   r   Újs_elems   s    zParserBase.js_elemsc             C   s
   t  ‚ d S)zQ
        Return the dictionary like attribute store of the given element
        N)r   )r   Úelemr   r   r   Úelem_attribs   s    zParserBase.elem_attribsc             C   s
   t  ‚ d S)z9
        Return the content of the given element
        N)r   )r   r
   r   r   r   Úelem_content   s    zParserBase.elem_contentc             C   s
   t  ‚ d S)z6
        Return the name of the given element
        N)r   )r   r
   r   r   r   Ú	elem_name    s    zParserBase.elem_namec             C   s
   t  ‚ d S)zD
        Return the string representation of the given elem
        N)r   )r   r
   r   r   r   Úelem_str&   s    zParserBase.elem_strN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r	   r   r   r   r   r   r   r   r   r      s   r   N)Úobjectr   r   r   r   r   Ú<module>   s    