3

V'íc¬ã@sZdZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
dgZGdd„deƒZdS)zÓ
    pygments.lexers.pony
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for Pony and related languages.

    :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Ú	PonyLexerc3@sZeZdZdZdZdgZdgZdZdefdefde	j
fd	e	jd
fdej
fded
fdejfdefedqddejfdefedrddefdDeeeƒdEfdFeeeƒdGfedsddejjfd_ejfd`ejfdaejfdbejfdcejfddefdeefgedfeeeejƒdgfgedheeeejƒdgfgdie	jfd	e	jdjfdke	jdgfdle	jfgdedgfdmefdnefgdoœZdpS)tr
z:
    For Pony source code.

    .. versionadded:: 2.4
    ZPonyZponyz*.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+z0x[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[^\\"]+)ÚrootrCrDrrN)	rrrrrrrrr)(rrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArB)rErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYr
rZ)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesZ_capsrrÚSingleZ	Multiliner
ZDocZCharrrrÚWordrrr	ZBuiltinÚTyperZFloatZHexZIntegerZClassZFunctionÚtokens©rgrgú8/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/pony.pyr
sp



N)r_Zpygments.lexerrrrZpygments.tokenrrrrr	r
rrÚ__all__r
rgrgrgrhÚ<module>	s(