3
.ßL]Å  ã               @   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.pony
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for Pony and related languages.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroupsÚwords)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ	PonyLexerc            3   @   sZ  e Zd ZdZdZdgZdgZdZdefdefde	j
fd	e	jd
fdejfdedfdejfdefedqdd�ejfdefedrdd�efdDeeeƒdEfdFeeeƒdGfedsdd�ejjfd_ejfd`ejfdaejfdbejfdcejfddefdeefgedf eeeejƒdgfgedh eeeejƒdgfgdie	jfd	e	jdjfdke	jdgfdle	jfgdedgfdmefdnefgdoœZdpS )tr   z:
    For Pony source code.

    .. versionadded:: 2.4
    ZPonyZponyz*.ponyz(iso|trn|ref|val|box|tag)z\nz[^\S\n]+z//.*\nz/\*Únested_commentz"""(?:.|\n)*?"""ú"Ústringz\'.*\'z=>|[]{}:().~;,|&!^?[]Ú	addressofÚandÚasÚconsumeÚdigestofÚisÚisntÚnotÚorz\b)Úsuffixz!=|==|<<|>>|[-+/*%=<>]ÚboxÚbreakÚcompile_errorÚcompile_intrinsicÚcontinueÚdoÚelseÚelseifÚembedÚendÚerrorÚforÚifÚifdefÚinÚisoÚlambdaÚletÚmatchÚobjectÚrecoverÚrefÚrepeatÚreturnÚtagÚthenÚthisÚtrnÚtryÚuntilÚuseÚvarÚvalÚwhereÚwhileÚwithú#anyú#readú#sendú#sharez<(actor|class|struct|primitive|interface|trait|type)((?:\s)+)Útypenamez(new|fun|be)((?:\s)+)Ú
methodnameÚI8ÚU8ÚI16ÚU16ÚI32ÚU32ÚI64ÚU64ÚI128ÚU128ÚILongÚULongÚISizeÚUSizeÚF32ÚF64ÚBoolÚPointerÚNoneÚAnyÚArrayr
   ÚIteratorz
_?[A-Z]\w*z (\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+z0x[0-9a-fA-F]+z\d+z(true|false)\bz_\d*z_?[a-z][\w\'_]*z?((?:\s)*)(_?[A-Z]\w*)z#popz?((?:\s)*)(_?[a-z]\w*)z[^*/]+z#pushz\*/z[*/]z\\"z[^\\"]+)ÚrootrC   rD   r   r   N)	r   r   r   r   r   r   r   r   r   )(r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   )rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   r
   rZ   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesZ_capsr   r   ÚSingleZ	Multiliner
   ZDocÚCharr   r   r   ÚWordr   r   r	   ZBuiltinÚTyper   ZFloatZHexZIntegerZClassZFunctionÚtokens© rh   rh   ú:/tmp/pip-install-5sebvq2j/pygments/pygments/lexers/pony.pyr      sp   
         


N)r_   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   Ú__all__r   rh   rh   rh   ri   Ú<module>
   s   (