3

V'íc&ã@s^dZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd„deƒZdS)z½
    pygments.lexers.func
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for FunC.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚincludeÚwords)	ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚ
WhitespaceÚPunctuationÚ	FuncLexerc-@sZeZdZdZdZddgZddgZdZdefd	efe	d
ƒe	dƒe	dƒe	d
ƒe	dƒe	dƒe	dƒe	dƒde
fgedqd>d?d@efedrdQdQd@e
fedsdQdQd@e
jfgdTe
dUfge	dƒd	efdVe
fdWefdXedYfgdZefgd[efgd\ejfd]ejd^fgd_ejfd]ejd`fdaejdYfdbejfgedtdQdkd@e
jfedudQdQd@e
jfgeejfgednejfgdoœZdpS)vrz
    For FunC source code.
    ZFunCÚfuncZfcz*.fcz*.funczJ(?!")(`([^`]+)`|((?=_)_|(?=\{)\{|(?=\})\}|(?![_`{}]))([^;,\[\]\(\)\s~.]+))z\nz\s+ÚkeywordsÚstringsÚ
directivesÚnumericÚcommentsÚstorageÚ	functionsÚ	variablesz[.;(),\[\]~{}]ú<=>ú>=ú<=ú!=ú==ú^>>ú~>>ú>>ú<<ú/%ú^%ú~%ú^/ú~/ú+=ú-=ú*=ú/=ú~/=ú^/=ú%=ú^%=ú<<=ú>>=ú~>>=ú^>>=ú&=ú|=ú^=ú^ú=ú~ú/ú%ú-Ú*ú+ú>ú<ú&ú|ú:ú?z(?<=\s)z(?=\s))ÚprefixÚsuffixÚifÚifnotÚelseÚelseifÚ	elseifnotÚwhileÚdoÚuntilÚrepeatÚreturnÚimpureÚ	method_idÚforallÚasmÚinlineÚ
inline_refz\bÚtrueÚfalsez#include|#pragmaÚ	directivezversion|not-versionz-(>=|<=|=|>|<|\^)?([0-9]+)(.[0-9]+)?(.[0-9]+)?ú;z#popz\"([^\n\"]+)\"[Hhcusa]?z?\b(-?(?!_)([\d_]+|0x[\d_a-fA-F]+)|0b[1_0]+)(?<!_)(?=[\s\)\],;])z
;;([^\n]*)z\{-Úcommentz[^-}{]+z#pushz-\}z[-}{]ÚvarÚintÚsliceÚtupleÚcellÚbuilderÚcontÚ_z(?=[\s\(\),\[\]])ÚglobalÚconstz(?=[\(]))ÚrootrrrWrrrrYrrrN)+rrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArB)rErFrGrHrIrJrKrLrMrNrOrPrQrRrSrT)rUrV)rZr[r\r]r^r_r`ra)rbrc)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ
identifierrrr
rrrÚConstantrrr
rZ
SinglelineZ	MultilineÚTyper	ÚVariableZFunctionÚtokens©rqrqú8/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/func.pyrsl







N)rhZpygments.lexerrrrZpygments.tokenrrrrr	r
rrr
Ú__all__rrqrqrqrrÚ<module>	s,