a
    lc                     @   sZ   d Z ddlmZmZmZ ddlmZmZmZm	Z	m
Z
mZmZmZ dgZG dd deZdS )z
    pygments.lexers.ooc
    ~~~~~~~~~~~~~~~~~~~

    Lexers for the Ooc language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerbygroupswords)TextCommentOperatorKeywordNameStringNumberPunctuationOocLexerc                   @   s0  e Zd ZdZdZdZdgZdgZdgZe	dddd	e
fd
e
dfdee
ee
eejfdee
eejfde
fdefdejfdefdeeeejfdejfdejfdeejefdejfdefdejfdejfdejfdejfdejfdejfdejfdefd efd!efd"efgd#efd$efd%efd&ed'fgd(Zd)S )*r   z8
    For Ooc source code

    .. versionadded:: 1.2
    Ooczhttp://ooc-lang.org/oocz*.oocz
text/x-ooc)#classZ	interfaceZ	implementZabstractZextendsfromthissupernewconstfinalZstaticimportZuseZexterninlineprotobreakcontinueZfallthroughoperatorifelseforwhiledoswitchcaseasinversionreturntruefalsenullz\b)prefixsuffixz	include\bincludez'(cover)([ \t]+)(from)([ \t]+)(\w+[*@]?)z#(func)((?:[ \t]|\\\n)+)(~[a-z_]\w*)z\bfunc\bz//.*z(?s)/\*.*?\*/zN(==?|\+=?|-[=>]?|\*=?|/=?|:=|!=?|%=?|\?|>{1,3}=?|<{1,3}=?|\.\.|&&?|\|\|?|\^=?)z(\.)([ \t]*)([a-z]\w*)z[A-Z][A-Z0-9_]+z[A-Z]\w*([@*]|\[[ \t]*\])?z/([a-z]\w*(?:~[a-z]\w*)?)((?:[ \t]|\\\n)*)(?=\()z[a-z]\w*z[:(){}\[\];,]z0x[0-9a-fA-F]+z0c[0-9]+z0b[01]+z[0-9_]\.[0-9_]*(?!\.)z[0-9_]+z2"(?:\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\"])*"z4'(?:\\.|\\[0-9]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'@z\.z	\\[ \t\n]z[ \t]+z[\w/]+,z[ \t]z[;\n]z#pop)rootr-   N) __name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesr   r   r   r   r	   ClassFunctionr   	Multiliner   ConstantVariabler   r   HexOctBinFloatDecimalr
   DoubleChartokens rG   rG   O/var/www/html/django/DPS/env/lib/python3.9/site-packages/pygments/lexers/ooc.pyr      sp   
1N)r4   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   __all__r   rG   rG   rG   rH   <module>   s   
(