3

V'íc“&ã@s~dZddlmZmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
dddgZGdd„deƒZGdd„deƒZGd	d„deƒZd
S)z¾
    pygments.lexers.d
    ~~~~~~~~~~~~~~~~~

    Lexers for D languages.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚincludeÚwordsÚbygroups)ÚCommentÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚDLexerÚ	CrocLexerÚ
MiniDLexercS@s†eZdZdZdZdZddgZdgZdgZde	fd	e	fd
e
eje	ƒfdej
fdej
d
fed¿d[d\efedÀd[d\ejfedÁd[d\ejfdvejfedÂd[d\ejfdƒejfd„ejfd…ejfd†ejfd‡ejfdˆejfd‰ejfdŠejfd‹ejfdŒejfdefdŽefdefdefd‘efd’ed“fd”ed•fd–ed—fd˜ed™fdšefd›efdœedfdžejfdŸe fd efd¡e
ej!e	ej!e	ƒfg$d¢ej
fdej
d£fd¤ej
d¥fd¦ej
fgd§e d¨fd©ed¥fe"dªƒgd§e d£fd©e d¥fe"dªƒgd«efd¬ed­fd®ed¥fgd«efd¬ed£fd¯ed¥fgd°efd±ed²fd³ed¥fgd°efd±ed£fd´ed¥fgdµefd¶ed·fd¸ed¥fgdµefd¶ed£fd¹ed¥fgdºefd§ed»fd¼ed¥fgdºefd§ed£fd©ed¥fgd½œZ#d¾S)Ãr
z2
    For D source.

    .. versionadded:: 1.2
    ÚDzhttps://dlang.org/z*.dz*.diÚdztext/x-dsrcz\nz\s+z(//.*?)(\n)z/(\\\n)?[*](.|\n)*?[*](\\\n)?/z/\+Únested_commentÚabstractÚaliasÚalignÚasmÚassertÚautoÚbodyÚbreakÚcaseÚcastÚcatchÚclassÚconstÚcontinueÚdebugÚdefaultÚdelegateÚdeleteÚ
deprecatedÚdoÚelseÚenumÚexportÚexternÚfinallyÚfinalÚforeach_reverseÚforeachÚforÚfunctionÚgotoÚifÚ	immutableÚimportÚ	interfaceÚ	invariantÚinoutÚinÚisÚlazyÚmixinÚmoduleÚnewÚnothrowÚoutÚoverrideÚpackageÚpragmaÚprivateÚ	protectedÚpublicÚpureÚrefÚreturnÚscopeÚsharedÚstaticÚstructÚsuperÚswitchÚsynchronizedÚtemplateÚthisÚthrowÚtryÚtypeidÚtypeofÚunionÚunittestÚversionÚvolatileÚwhileÚwithÚ	__gsharedÚ__traitsÚ__vectorÚ__parametersz\b)ÚsuffixÚtypedefÚboolÚbyteÚcdoubleÚcentÚcfloatÚcharÚcrealÚdcharÚdoubleÚfloatÚidoubleÚifloatÚintÚirealÚlongÚrealÚshortÚubyteÚucentÚuintÚulongÚushortÚvoidÚwcharz(false|true|null)\bÚ__FILE__Ú__FILE_FULL_PATH__Ú
__MODULE__Ú__LINE__Ú__FUNCTION__Ú__PRETTY_FUNCTION__Ú__DATE__Ú__EOF__Ú__TIME__Ú
__TIMESTAMP__Ú
__VENDOR__Ú__VERSION__zmacro\bz+(string|wstring|dstring|size_t|ptrdiff_t)\bzL0[xX]([0-9a-fA-F_]*\.[0-9a-fA-F_]+|[0-9a-fA-F_]+)[pP][+\-]?[0-9_]+[fFL]?[i]?zI[0-9_]+(\.[0-9_]+[eE][+\-]?[0-9_]+|\.[0-9_]*|[eE][+\-]?[0-9_]+)[fFL]?[i]?z0\.(0|[1-9][0-9_]*)([eE][+\-]?[0-9_]+)?[fFL]?[i]?z0[Bb][01_]+z0[0-7_]+z0[xX][0-9a-fA-F_]+z$(0|[1-9][0-9_]*)([LUu]|Lu|LU|uL|UL)?za'(\\['"?\\abfnrtv]|\\x[0-9a-fA-F]{2}|\\[0-7]{1,3}|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|\\&\w+;|.)'zr"[^"]*"[cwd]?z
`[^`]*`[cwd]?z"(\\\\|\\[^\\]|[^"\\])*"[cwd]?zT\\(['\"?\\abfnrtv]|x[0-9a-fA-F]{2}|[0-7]{1,3}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|&\w+;)zx"[0-9a-fA-F_\s]*"[cwd]?zq"\[Údelimited_bracketzq"\(Údelimited_parenthesiszq"<Údelimited_anglezq"\{Údelimited_curlyzq"([a-zA-Z_]\w*)\n.*?\n\1"zq"(.).*?\1"zq\{Útoken_stringz@([a-zA-Z_]\w*)?zœ(~=|\^=|%=|\*=|==|!>=|!<=|!<>=|!<>|!<|!>|!=|>>>=|>>>|>>=|>>|>=|<>=|<>|<<=|<<|<=|\+\+|\+=|--|-=|\|\||\|=|&&|&=|\.\.\.|\.\.|/=)|[/.&|\-+<>!()\[\]{}?,;:$=*%^~]z[a-zA-Z_]\w*z(#line)(\s)(.*)(\n)z[^+/]+z#pushz\+/z#popz[+/]z\{Útoken_string_nestz\}Úrootz[^\[\]]+z\[Údelimited_inside_bracketz\]"z\]z[^()]+z\(Údelimited_inside_parenthesisz\)"z\)z[^<>]+ú<Údelimited_inside_anglez>"ú>z[^{}]+Údelimited_inside_curlyz\}")rŒrrŠr‹r†rr‡rŽrˆrr‰r’N)Mrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_)ra)rbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxry)rzr{r|r}r~rr€rr‚rƒr„r…)$Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚ	filenamesÚaliasesÚ	mimetypesrrrÚSingleÚ	MultilinerrZRemovedÚTypeÚConstantZPseudoZReservedrZBuiltinr
ÚFloatÚBinÚOctÚHexÚIntegerr	ÚCharZ	DecoratorrÚSpecialrÚtokens©r¨r¨ú5/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/d.pyr
sØ











c&@sÞeZdZdZdZdZdgZdgZdgZde	fde	fd	e
eje	ƒfd
ej
dfedBd-d.efd/ejfd0ejfd1ejfd2ejfd3ejfd4ejfd5efd6efd7efd8efd9efd:efgd;ej
fd
ej
d<fd=ej
d>fd?ej
fgd@œZdAS)Crz
    For Croc source.
    ZCroczhttp://jfbillingsley.com/crocz*.crocZcrocztext/x-crocsrcz\nz\s+z(//.*?)(\n)z/\*Ú
nestedcommentÚasrrrrrr r"r&r'r+r/r.r0ÚglobalÚ	namespacer2r4r8r9Úlocalr<rHrIrMrNrQrRrSÚvarargrZr[Úyieldz\b)r`z(false|true|null)\bz<([0-9][0-9_]*)(?=[.eE])(\.[0-9][0-9_]*)?([eE][+\-]?[0-9_]+)?z0[bB][01][01_]*z0[xX][0-9a-fA-F][0-9a-fA-F_]*z([0-9][0-9_]*)(?![.eE])zT'(\\['"\\nrt]|\\x[0-9a-fA-F]{2}|\\[0-9]{1,3}|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|.)'z
@"(""|[^"])*"z
@`(``|[^`])*`z
@'(''|[^'])*'z"(\\\\|\\[^\\]|[^"\\])*"z‡(~=|\^=|%=|\*=|==|!=|>>>=|>>>|>>=|>>|>=|<=>|\?=|-\>|<<=|<<|<=|\+\+|\+=|--|-=|\|\||\|=|&&|&=|\.\.|/=)|[-/.&$@|\+<>!()\[\]{}?,;:=*%^~#\\]z[a-zA-Z_]\w*z[^*/]+z#pushz\*/z#popz[*/])rŒrªN)!r«rrrrrr r"r&r'r+r/r.r0r¬r­r2r4r8r9r®r<rHrIrMrNrQrRrSr¯rZr[r°)r“r”r•r–r—r˜r™ršr›rrrrœrrrrŸr
r r¡r£r¤r	r¥rrr§r¨r¨r¨r©r¼sH


c@s$eZdZdZdZgZdgZdgZdS)rz7
    For MiniD source. MiniD is now known as Croc.
    ZMiniDZminidztext/x-minidsrcN)r“r”r•r–r—r™ršr›r¨r¨r¨r©rûs
N)r–Zpygments.lexerrrrrZpygments.tokenrrrr	r
rrÚ__all__r
rrr¨r¨r¨r©Ú<module>	s$
+?