3

V'íc‹ã@s^dZddlmZmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd„deƒZdS)z¿
    pygments.lexers.berry
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for Berry.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚwordsÚincludeÚbygroups)ÚCommentÚ
WhitespaceÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
BerryLexerc@sŽeZdZdZdZddgZdgZddgZdZe	d	ƒe	d
ƒe	dƒde›d
e
eje
ejƒfde›d
e
eje
ejƒfde›d
e
eje
ejƒfe	dƒgde
fdefdefe	dƒe	dƒe	dƒe	dƒe	dƒe	dƒg	de
fdejfdejfgedUd$d%ejfd&ejfd'ejfgedVd$d%efgedWd$d%ejfgdJejfdKejfdLejfgeefge›dMejdNfgdOe›dPejdNfgdQe j!dNfdRe jdNfgdSœZ"dTS)Xrzf
    For `berry <http://github.com/berry-lang/berry>`_ source code.

    .. versionadded:: 2.12.0
    ZBerryZberryÚbez*.beztext/x-berryzapplication/x-berryz\b[^\W\d]\w*Ú
whitespaceÚnumbersÚkeywordsz(def)(\s+)(ú)z\b(class)(\s+)(z\b(import)(\s+)(Úexprz[^\S\n]+z\.\.|[~!%^&*+=|?:<>/-]z
[(){}\[\],.;]ÚcontrolsÚbuiltinsÚfunccallÚmemberÚnameÚstringsz\s+z#-(.|\n)*?-#z#.*?$ÚasÚbreakÚcontinueÚimportÚstaticÚselfÚsuperz\b)Úsuffixz(true|false|nil)\bz(var|def)\bÚifÚelifÚelseÚforÚwhileÚdoÚendÚreturnÚtryÚexceptÚraiseÚassertÚboolÚinputÚ	classnameÚclassofÚnumberÚrealÚbytesÚcompileÚmapÚlistÚintÚ
isinstanceÚprintÚrangeÚstrÚmoduleÚsizeÚ
issubclassÚopenÚfileÚtypeÚcallz0[xX][a-fA-F0-9]+z-?\d+z!(-?\d+\.?|\.\d)\d*([eE][+-]?\d+)?z	(?=\s*\()z#popz(?<=\.)z\b(?!\()z"([^\\]|\\.)*?"z\'([^\\]|\\.)*?\')ÚrootrrrrrrrrrrN)rrrrrr r!)
r#r$r%r&r'r(r)rrr*r+r,r-)r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r!r>r?r@rArBrCrD)#Ú__name__Ú
__module__Ú__qualname__Ú__doc__rÚaliasesÚ	filenamesÚ	mimetypesÚ_namerrr	ZDeclarationrr
ZFunctionZClassÚ	Namespacerr
rZ	MultilineÚSinglerZReservedÚConstantZBuiltinrZHexZIntegerZFloatÚ	AttributerÚDoubleÚtokens©rTrTú9/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/berry.pyrsf






N)rIZpygments.lexerrrrrZpygments.tokenrrrr	r
rrr
Ú__all__rrTrTrTrUÚ<module>	s(