o
    ‡ÎÖa¬  ã                   @   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-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroupsÚwords)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ	PonyLexerc                   @   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ddd�ejfdefeddd�efdeeeƒdfdeeeƒdfeddd�ej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ged! eeeejƒd"fged# eeeejƒd"fgd$e	jfd	e	jd%fd&e	jd"fd'e	jfgded"fd(efd)efgd*œZd+S ),r   z:
    For Pony source code.

    .. versionadded:: 2.4
    ÚPonyÚ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Úwithz#anyz#readz#sendz#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[^\\"]+)ÚrootrA   rB   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ_capsr   r   ÚSingleÚ	Multiliner
   ÚDocÚCharr   r   r   ÚWordr   r   r	   ÚBuiltinÚTyper   ÚFloatÚHexÚIntegerÚClassÚFunctionÚtokens© ro   ro   ú6/usr/lib/python3/dist-packages/pygments/lexers/pony.pyr      sx    
ýüùø	
ÿûúØ+ÿÿÿÿ

üý
ÇN)r]   Úpygments.lexerr   r   r   Úpygments.tokenr   r   r   r   r	   r
   r   r   Ú__all__r   ro   ro   ro   rp   Ú<module>   s
    
(