3

V'ícrã@sfdZddlZddlmZmZmZmZddlmZm	Z	m
Z
mZmZm
Z
mZmZdgZGdd„deƒZdS)zÖ
    pygments.lexers.supercollider
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for SuperCollider

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
éN)Ú
RegexLexerÚincludeÚwordsÚdefault)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚSuperColliderLexerc*@sBeZdZdZdZdZddgZddgZdd	gZe	j
e	jBZd
e
fdefdejfd
ejfgedƒdejdfde
dwfedƒgde
dfgde
dfedƒdedfdedfdefedxd.d/edfedyd.d/ejdfedzd.d/ejfed{d.d/ejfed|d.d/ejfdlejfdmejfdne j!fdoe j"fdpe j#fdqej$fdrejfgdsœZ%dtdu„Z&dvS)}rzC
    For SuperCollider source code.

    .. versionadded:: 2.1
    Z
SuperColliderzhttp://supercollider.github.io/Z
supercolliderZscz*.scz*.scdzapplication/supercolliderztext/supercolliderz\s+z<!--z//.*?\nz	/\*.*?\*/Úcommentsandwhitespacez3/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gim]+\b|\B)ú#popz(?=/)Úbadregexz\nz^(?=\s|/|<!--)Úslashstartsregexz@\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?z[{(\[;,]z[})\].]ÚforÚinÚwhileÚdoÚbreakÚreturnÚcontinueÚswitchÚcaserÚifÚelseÚthrowÚtryÚcatchÚfinallyÚnewÚdeleteÚtypeofÚ
instanceofÚvoidz\b)ÚsuffixÚvarÚletÚwithÚfunctionÚargú	(abstractÚbooleanÚbyteÚcharÚclassÚconstÚdebuggerÚdoubleÚenumÚexportÚextendsÚfinalÚfloatÚgotoÚ
implementsÚimportÚintÚ	interfaceÚlongÚnativeÚpackageÚprivateÚ	protectedÚpublicÚshortÚstaticÚsuperÚsynchronizedÚthrowsÚ	transientÚvolatileÚtrueÚfalseÚnilÚinfÚArrayÚBooleanÚDateÚErrorÚFunctionrÚObjectÚPackagesÚRegExprÚisFiniteÚisNaNÚ
parseFloatÚparseIntÚthisFunctionDefÚthisFunctionÚ
thisMethodÚthisProcessÚ
thisThreadÚthisz
[$a-zA-Z_]\w*z\\?[$a-zA-Z_]\w*z%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z0x[0-9a-fA-F]+z[0-9]+z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*')rrrÚrootcCsd|ksd|krdSdS)z@We're searching for a common function and a unique keyword here.ZSinOscr\gš™™™™™¹?N©)ÚtextrcrcúA/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/supercollider.pyÚanalyse_text\szSuperColliderLexer.analyse_textN)rr)rrrrrrrrrrrrrrr r!r"r#r$r%r&)r(r)r*r+r,)r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrK)rLrMrNrO)rPrQrRrSrTrrUrVrWrrXrYrZr[rGr\r]r^r_r`ra)'Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚreÚDOTALLÚ	MULTILINEÚflagsrrÚSingleZ	MultilinerrÚRegexrrr
rr	ZDeclarationZReservedÚConstantr
ZBuiltinZOtherZSymbolrZFloatZHexZIntegerÚDoubleÚtokensrfrcrcrcrersn


)rjrpZpygments.lexerrrrrZpygments.tokenrrrr	r
rrr
Ú__all__rrcrcrcreÚ<module>	s
(