| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼa�E � @ s^ d Z ddlZddlmZmZmZmZ ddlmZm Z m
Z
mZmZm
Z
dgZG dd� de�ZdS )z�
pygments.lexers.factor
~~~~~~~~~~~~~~~~~~~~~~
Lexers for the Factor language.
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer�bygroups�default�words)�Text�Comment�Keyword�Name�String�Number�FactorLexerc A @ sd e Zd ZdZdZdgZdgZdgZej ej
B Zeddd�Z
ed dd�Zed
dd�Zeddd�Zeddd�Zed
dd�Zeddd�Zeddd�Zeddd�Zeddd�Zeddd�Zdejfed�gdefdeeeej�fdeeeej eej�fdeeeejeej �fdeeeej�fdeeeejeej�fdejdfdefdeej!e�dfd eej!eej!�fd!eej!eej!eej!�fd"eej!eej!e�d#fd$eej!eejeej!eej�fd%eej!eejeej�fd&eej!eej�fd'eeeej eej �d(fd)eeeej �d(fd*eeeej �fd+eeeej eej �fdeeeejeej �fd,eeeej eej �fd-eeeej�fd.eeeej �fd/ed0fd1eeeej�fd2ed#fd3efd4efd5eeeej �fd6eej!eeje�fd7eej!eejeeje�fd8ej!fd9e"fd:e"fd;e"fd<e"j#fd=efd>efd?efd@ej$fdAej$fdBej$fdCe%fdDe%fdEe%fdFe%fdGe%j&fdHe%j'fdIe%fdJe%fdKefe
ej(feej(feej(feej(feej(feej(feej(feej(feej(feej(feej(fdLefg?defdMejdfdNejdOfdPejfdLej)fgdefdedOfdQeeej)e�fdLej)fgdefdedOfdLej!fgdefdedOfdLej fgdefdedOfdLejfgdR�Z*dSS )Tr z^
Lexer for the `Factor <http://factorcode.org>`_ language.
.. versionadded:: 1.4
ZFactorZfactorz*.factorz
text/x-factor)oz-rotZ2biz2bi@z2bi*Z2curryZ2dipZ2dropZ2dupZ2keepZ2nipZ2overZ2triz2tri@z2tri*Z3biZ3curryZ3dipZ3dropZ3dupZ3keepZ3triZ4dipZ4dropZ4dupZ4keepz <wrapper>�=z>booleanZclone�?z?executez?if�and�assertzassert=zassert?Zbizbi-curryz bi-curry@z bi-curry*zbi@zbi*ZboaZbooleanzboolean?zboth?Zbuild�callZ callstackzcallstack>arrayz
callstack?�clearz(clone)Zcomposezcompose?Zcurryzcurry?Z datastackZdieZdipZdoZdrop�dupZdupdzeither?zeq?zequal?ZexecuteZhashcodez hashcode*zidentity-hashcodezidentity-tuplezidentity-tuple?�ifzif*ZkeepZloopZmost�newZnip�notZnull�object�orZoverZpickZpreposeZretainstackZrotzsame?ZswapZswapd�throwZtriz tri-curryz
tri-curry@z
tri-curry*ztri@ztri*�tupleztuple?Zunlesszunless*ZuntilZwhenzwhen*�while�with�wrapperzwrapper?�xorz\s)�suffix)@Z2cachez<enum>z>alistz?atz?ofZassocz
assoc-all?z
assoc-any?zassoc-clone-likez
assoc-combinez
assoc-diffzassoc-diff!zassoc-differz
assoc-eachzassoc-empty?zassoc-filterz
assoc-filter!zassoc-filter-asz
assoc-findzassoc-hashcodezassoc-intersectz
assoc-likez assoc-mapzassoc-map-aszassoc-partitionzassoc-refinez
assoc-sizezassoc-stackz
assoc-subset?zassoc-unionzassoc-union!zassoc=z assoc>mapzassoc?Zatzat+zat*�cachez change-atzclear-assocz delete-atz
delete-at*�enumzenum?zextract-keyszinc-atzkey?�keysz map>assoczmaybe-set-atz new-assocZofzpush-atz rename-atzset-atz sift-keyszsift-valuesZ
substituteZunzipzvalue-atz value-at*zvalue?�values�zip)Z2cleavez2cleave>quotZ3cleavez3cleave>quotZ4cleavez4cleave>quotz
alist>quotzcall-effectZcasez case-findz case>quotZcleavezcleave>quotZcondz cond>quotzdeep-spread>quotzexecute-effectzlinear-case-quotzno-casezno-case?zno-condzno-cond?zrecursive-hashcodezshallow-spread>quotZspreadzto-fixed-pointzwrong-valuesz
wrong-values?)c�-�/z/fz/iz/modz2/z2^�<z<=z<fp-nan>�>z>=z>bignumz>fixnumz>floatz>integerz(all-integers?)z(each-integer)z(find-integer)�*�+z?1+�absZalignz
all-integers?Zbignumzbignum?zbit?ZbitandZbitnotZbitorzbits>doublez
bits>floatZbitxor�complexzcomplex?�denominatorzdouble>bitszeach-integerzeven?zfind-integerzfind-last-integerZfixnumzfixnum?�floatz
float>bitszfloat?zfp-bitwise=zfp-infinity?zfp-nan-payloadzfp-nan?zfp-qnan?zfp-signzfp-snan?zfp-special?zif-zerozimaginary-partZintegerzinteger>fixnumzinteger>fixnum-strictzinteger?Zlog2zlog2-expects-positivezlog2-expects-positive?�mod�negzneg?z
next-floatznext-power-of-2Znumberznumber=znumber?� numeratorzodd?zout-of-fixnum-rangezout-of-fixnum-range?zpower-of-2?z
prev-floatZratiozratio?Zrationalz rational?�realz real-partzreal?ZrecipZremZsgn�shift�sq�timeszu<zu<=zu>zu>=zunless-zeroz
unordered?z when-zerozzero?)�Z 1sequencez2all?Z2eachZ2mapz2map-asz2map-reduceZ2reduceZ 2selectorZ 2sequenceZ3appendz
3append-asZ3eachZ3mapz3map-asZ 3sequenceZ 4sequencez<repetition>z
<reversed>z<slice>z?firstz?lastz?nthz?secondz?set-nth�
accumulatezaccumulate!z
accumulate-aszall?zany?�appendzappend!z append-aszassert-sequencezassert-sequence=zassert-sequence?z
binary-reducezbounds-checkz
bounds-check?zbounds-errorz
bounds-error?zbut-lastzbut-last-slicezcartesian-eachz
cartesian-mapzcartesian-productz
change-nthzcheck-slicezcheck-slice-errorz
clone-likezcollapse-sliceZ collectorz
collector-for�concatz concat-as�copy�countZcutz cut-slicezcut*z
delete-allzdelete-slicezdrop-prefixZeachz each-fromz
each-indexzempty?Zexchange�filterzfilter!z filter-as�findz find-fromz
find-indexzfind-index-fromz find-lastzfind-last-from�firstZfirst2Zfirst3Zfirst4Zflip�followZfourthZglueZhalvesZharvest�headz
head-slicezhead-slice*zhead*zhead?zif-emptyZ immutablezimmutable-sequencezimmutable-sequence?z
immutable?�indexz
index-from�indicesZinfimumz
infimum-byz
insert-nthZ
interleaveZiotaz
iota-tupleziota-tuple?�joinzjoin-asZlastz
last-indexzlast-index-from�lengthZlengthenZlikeZlongerzlonger?Zlongest�mapzmap!zmap-aszmap-findz
map-find-lastz map-indexzmap-integersz
map-reducezmap-sumz
max-lengthz
member-eq?zmember?z midpoint@z
min-lengthZmismatch�moveznew-likez
new-resizableznew-sequenceznon-negative-integer-expectedznon-negative-integer-expected?ZnthZnthszpad-headzpad-tailZpadding� partition�popzpop*�prefixZprependz
prepend-asZproducez
produce-as�product�pushzpush-allzpush-eitherzpush-if�reducezreduce-index�removezremove!z remove-eqz
remove-eq!z
remove-nthzremove-nth!Z
repetitionzrepetition?z
replace-sliceZ replicatezreplicate-as�restz
rest-slice�reversezreverse!�reversedz reversed?�second�selectorzselector-forZsequencezsequence-hashcodez sequence=z sequence?z set-firstz
set-fourthzset-lastz
set-lengthzset-nthz
set-secondz set-thirdZshortZshortenZshorterzshorter?ZshortestZsift�slicezslice-errorzslice-error?zslice?Zsnipz
snip-slice�startzstart*Zsubseqzsubseq?r zsuffix!�sumzsum-lengthsZsupremumzsupremum-byZsurround�tailz
tail-sliceztail-slice*ztail*ztail?�thirdZtrimz trim-headztrim-head-slicez
trim-slicez trim-tailztrim-tail-sliceZunclipzunclip-lastzunclip-last-slicezunclip-slicezunless-emptyzvirtual-exemplarzvirtual-sequencezvirtual-sequence?zvirtual@z
when-empty)z+@Zchangez
change-globalZcounterZdec�getz
get-global�globalZinczinit-namespacesZ
initializez is-globalz
make-assoc� namespaceZ namestackZoffZon�setz
set-globalz
set-namestackZtogglezwith-globalz
with-scopez
with-variablezwith-variables)Z1arrayZ2arrayZ3arrayZ4arrayz<array>z>arrayZarrayzarray?Zpairzpair?zresize-array)Yz(each-stream-block-slice)z(each-stream-block)z(stream-contents-by-block)z(stream-contents-by-element)z$(stream-contents-by-length-or-block)z(stream-contents-by-length)z+byte+z+character+z
bad-seek-typezbad-seek-type?Zbl�contentsz
each-blockzeach-block-sizezeach-block-slicez each-linezeach-morselzeach-stream-blockzeach-stream-block-slicezeach-stream-linezerror-stream�flushzinput-streamz
input-stream?zinvalid-read-bufferzinvalid-read-buffer?�lines�nlz
output-streamzoutput-stream?�print�readz read-intozread-partialzread-partial-intoz
read-until�read1Zreadlnz
seek-absolutezseek-absolute?zseek-endz seek-end?z
seek-inputzseek-outputz
seek-relativezseek-relative?z stream-blzstream-contentszstream-contents*zstream-copyzstream-copy*zstream-element-typezstream-flushz
stream-lengthzstream-linesz stream-nlzstream-printzstream-readzstream-read-intozstream-read-partialzstream-read-partial-intozstream-read-partial-unsafezstream-read-unsafezstream-read-untilzstream-read1z
stream-readlnzstream-seekzstream-seekable?zstream-tellzstream-writez
stream-write1z
tell-inputztell-outputzwith-error-streamzwith-error-stream*zwith-error>outputzwith-input-output+error-streamsz with-input-output+error-streams*zwith-input-streamzwith-input-stream*zwith-output-streamzwith-output-stream*zwith-output>errorzwith-output+error-streamzwith-output+error-stream*zwith-streamsz
with-streams*�writeZwrite1)Z1stringz<string>z>stringz
resize-string�stringzstring?)Z1vectorz<vector>z>vectorz?pushZvectorzvector?)(z<condition>z<continuation>z <restart>zattempt-allzattempt-all-errorzattempt-all-error?zcallback-error-hookZcallcc0Zcallcc1Zcleanupzcompute-restartsZ conditionz
condition?Zcontinuationz
continuation?�continuezcontinue-restartz
continue-withzcurrent-continuation�errorzerror-continuationzerror-in-threadzerror-threadZifccz
ignore-errorszin-callback?zoriginal-errorZrecoverZrestartzrestart?ZrestartsZrethrowzrethrow-restarts�returnzreturn-continuationzthread-error-hookzthrow-continuezthrow-restartszwith-datastackzwith-returnz#!.*$�basez\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s+\S+z9[+-]?(?:[\d,]*\d)?\.(?:\d([\d,]*\d)?)?(?:[eE][+-]?\d+)?\sz'[+-]?\d(?:[\d,]*\d)?(?:[eE][+-]?\d+)?\sz<0x[a-fA-F\d](?:[a-fA-F\d,]*[a-fA-F\d])?(?:p\d([\d,]*\d)?)?\szANAN:\s+[a-fA-F\d](?:[a-fA-F\d,]*[a-fA-F\d])?(?:p\d([\d,]*\d)?)?\sz 0b[01]+\sz
0o[0-7]+\sz5(?:\d([\d,]*\d)?)?\+\d(?:[\d,]*\d)?/\d(?:[\d,]*\d)?\sz7(?:\-\d([\d,]*\d)?)?\-\d(?:[\d,]*\d)?/\d(?:[\d,]*\d)?\sz:(?:deprecated|final|foldable|flushable|inline|recursive)\sz\S+z\(\s+z\)\sz#popz--\sz(\{\s+)(\S+)(\s[^}]+\s\}\s))�rootrg rh rj ri rk r N)+�__name__�
__module__�__qualname__�__doc__�name�aliases� filenamesZ mimetypes�re� MULTILINE�UNICODE�flagsr Zbuiltin_kernelZbuiltin_assocsZbuiltin_combinatorsZbuiltin_mathZbuiltin_sequencesZbuiltin_namespacesZbuiltin_arraysZ
builtin_ioZbuiltin_stringsZbuiltin_vectorsZbuiltin_continuationsr ZPreprocr r r r r ZFunctionZClass� Namespacer
ZCharZConstantr ZBinZOctZBuiltinZVariable�tokens� rz rz �:/usr/lib/python3.9/site-packages/pygments/lexers/factor.pyr sb ����*�,�����
�������
������������������r
������� �)rp rt Zpygments.lexerr r r r Zpygments.tokenr r r r r
r �__all__r rz rz rz r{ �<module> s