3
V'íc( ã @ s d Z ddlZddlmZmZmZmZmZmZ ddl m
Z
mZmZm
Z
mZmZmZmZmZmZ dddgZG dd deZG d d deZG d
d deZdS )zÍ
pygments.lexers.dylan
~~~~~~~~~~~~~~~~~~~~~
Lexers for the Dylan language.
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
é N)ÚLexerÚ
RegexLexerÚbygroupsÚ
do_insertionsÚdefaultÚline_re)
ÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚGenericÚLiteralÚ
WhitespaceÚ
DylanLexerÚDylanConsoleLexerÚ
DylanLidLexerc @ s e Zd ZdZdZdZdgZdddgZdgZe j
Zd d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-h%Zd.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLhZ
dMdNdOdPdQdRdSdTdUdVdWdXdYdZd[dQhZd\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddd
ddddddddddddddddddddddddddd d¡d¢d£d¤d¥d¦d§d¨d©dªd«d¬dd®d¯d°d±d²d³d´dµd¶d·d¸d¹dºd»d¼d½d¾d¿dÀdÁdÂdÃdÄdÅdÆdÇdÈdÉdÊdËdÌdÍdÎdÏdÐdÑdÒdÓdÔdÕdÖd×dØdÙdÚdÛdÜdÝdÞdßdàdEd)dádâdãdädådædçdèdédêdëdìdídîdïdðdñdòdódôdõdöd÷hZdøZdùdú Zdûefdüejfdýeejeeefedþgdûefdÿeejefd ejdfdedfdejfdejfdejfdej fdej!fd ej"fd
e d eej#eej$fdeej#eej$fd
e ej#fde%fdefde&fdej'dfde(fed e(fdWe dY ej)fde d ej*j+fde ej,feefgdejfd ejdfdejdfdejfgdej'dfdej'fgdedfdej-fdefdefdefgd Z.d!S (" r z<
For the Dylan language.
.. versionadded:: 0.7
ZDylanzhttp://www.opendylan.org/Zdylanz*.dylanz*.dylz*.intrztext/x-dylanÚsubclassZabstractÚblockZconcreteZconstantÚclassz
compiler-openzcompiler-sidewaysÚdomainZdynamicz
each-subclassÚ exceptionÚexcludeÚfunctionZgenericÚhandlerZ inheritedÚinlinezinline-onlyÚinstanceZ interfaceÚimportÚkeywordZlibraryÚmacroÚmethodÚmoduleÚopenZprimaryÚrequiredZsealedZsidewaysZ singletonZslotÚthreadÚvariableZvirtualZaboveZ
afterwardsÚbeginZbelowZbyZcaseÚcleanupÚcreateZdefineÚelseZelseifÚendÚexportÚfinallyÚforÚfromÚifÚinZletÚlocalZ otherwiseÚrenameÚselectÚsignalZthenZtoZunlessZuntilZuseÚwhenÚwhileú~ú+ú-Ú*ú|ú^ú=z==z~=z~==ú<z<=ú>z>=ú&ÚabortÚabsÚaddzadd!z
add-methodzadd-newzadd-new!zall-superclassesÚalwayszany?zapplicable-method?ÚapplyZarefzaref-setterÚaszas-lowercasez
as-lowercase!zas-uppercasez
as-uppercase!Zashzbackward-iteration-protocolÚbreakZceilingzceiling/Zcerrorz
check-typeÚchoosez choose-byZ
complementZcomposeZconcatenatezconcatenate-aszcondition-format-argumentszcondition-format-stringZconjoinz
copy-sequenceZcurryzdefault-handlerZ dimensionZ
dimensionszdirect-subclasseszdirect-superclassesZdisjoinZdozdo-handlersÚelementzelement-setterzempty?Úerrorzeven?zevery?zfalse-orzfill!zfind-keyzfind-methodÚfirstzfirst-setterÚfloorzfloor/zforward-iteration-protocolzfunction-argumentszfunction-return-valueszfunction-specializersÚgcdz#generic-function-mandatory-keywordszgeneric-function-methodsÚheadzhead-setterÚidentityZ
initializez instance?z integral?Úintersectionzkey-sequencezkey-testÚlastzlast-setterZlcmZlimitedÚlistZlogandzlogbit?ZlogiorZlognotZlogxorÚmakeÚmapzmap-aszmap-intoÚmaxzmember?zmerge-hash-codesÚminZmoduloÚnegativez negative?znext-methodzobject-classzobject-hashzodd?zone-ofÚpairÚpopzpop-lastz positive?Úpushz push-lastÚrangeZrankZrcurryÚreduceZreduce1Ú remainderÚremovezremove!zremove-duplicateszremove-duplicates!zremove-key!z
remove-methodzreplace-elements!zreplace-subsequence!z
restart-queryzreturn-allowed?zreturn-descriptionzreturn-queryÚreversezreverse!Úroundzround/zrow-major-indexÚsecondz
second-setterzshallow-copyÚsizezsize-setterzslot-initialized?Úsortzsort!zsorted-applicable-methodszsubsequence-positionzsubtype?ztable-protocolÚtailztail-setterZthirdzthird-setterÚtruncatez truncate/ztype-error-expected-typeztype-error-valuez
type-for-copyz
type-unionÚunionÚvaluesZvectorzzero?z\\?[\w!&*<>|^$%@\-+~?/=]+c c s xt j| |D ]\}}}|tkr|j }|| jkrB|tj|fV q|| jkrZ|t|fV q|| jkrt|tj|fV q|| j kr|t
|fV q|||fV qW d S )N)r Úget_tokens_unprocessedr ÚlowerÚbuiltinsÚBuiltinÚkeywordsr