
    L&i                     x   d Z ddlZddlmZmZmZmZmZmZm	Z	m
Z
mZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlmZ ddlmZ g dZ d ej!        dd	d
ddd          z   dz   Z"d ej!        dd	d
ddddddd
  
        z   dz   Z#e"dz   e#z   dz   Z$ G d de
          Z% G d de%          Z& G d de
          Z' G d de
          Z( G d d e
          Z) G d! d"e
          Z* G d# d$e
          Z+ G d% d&e
          Z, G d' d(e
          Z- G d) d*e
          Z. G d+ d,e
          Z/ G d- d.e	          Z0dS )/z
    pygments.lexers.javascript
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for JavaScript and related languages.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    N)bygroupscombineddefaultdo_insertionsincludeinheritLexer
RegexLexerthisusingwordsline_re)TextCommentOperatorKeywordNameStringNumberPunctuationOtherGeneric
Whitespace)get_bool_opt)JavascriptLexerKalLexerLiveScriptLexer	DartLexerTypeScriptLexer
LassoLexerObjectiveJLexerCoffeeScriptLexer	MaskLexerEarlGreyLexerJuttleLexerNodeConsoleLexerz(?:[$_LuLlLtLmLoNlz]|\\u[a-fA-F0-9]{4})z(?:[$MnMcNdPcu   ‌‍]|\\u[a-fA-F0-9]{4})z(?:z)*c                      e Zd ZdZdZdZddgZg dZg dZe	j
        e	j        z  Zdefd	efd
ej        fdej        fg ed          dej        dfdedf ed          gdedfgdej        fdedf ed          dej        fdej        fdej        fdej        fdej        fdefdedfdedfdefdej        dfde j!        fd e dfd!e j"        dfd"e j!        fd#e j#        fd$e$j%        fd%e$j&        fd& e'e e          dfd'e$j(        dfe)e$j(        fd(ej*        fd)ej        fd*ej+        d+fgd*ej+        dfd,ej+        fd-ej,        d.fd/ej+        fd0ej+        fgd1ej,        df ed2          gd3Z-d4S )5r   z%
    For JavaScript source code.
    
JavaScriptzQhttps://www.ecma-international.org/publications-and-standards/standards/ecma-262/
javascriptjs)z*.jsz*.jsmz*.mjsz*.cjs)zapplication/javascriptzapplication/x-javascriptztext/x-javascriptztext/javascript\s+<!--z//.*?$	/\*.*?\*/commentsandwhitespace7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)#pop(?=/)r:   badregex\nz\A#! ?/.*?$^(?=\s|/|<!--)slashstartsregexz0[bB][01]+n?z0[oO]?[0-7]+n?z0[xX][0-9a-fA-F]+n?z[0-9]+nz2(\.[0-9]+|[0-9]+\.[0-9]*|[0-9]+)([eE][-+]?[0-9]+)?z	\.\.\.|=>zP\+\+|--|~|\?\?=?|\?|:|\\(?=\n)|(<<|>>>?|==?|!=?|(?:\*\*|\|\||&&|[-<>+*%&|^/]))=?[{(\[;,][})\].]z((typeof|instanceof|in|void|delete|new)\bz\b(constructor|from|as)\bz(for|in|while|do|break|return|continue|switch|case|default|if|else|throw|try|catch|finally|yield|await|async|this|of|static|export|import|debugger|extends|super)\bz%(var|let|const|with|function|class)\bz(abstract|boolean|byte|char|double|enum|final|float|goto|implements|int|interface|long|native|package|private|protected|public|short|synchronized|throws|transient|volatile)\b*(true|false|null|NaN|Infinity|undefined)\ba  (Array|Boolean|Date|BigInt|Function|Math|ArrayBuffer|Number|Object|RegExp|String|Promise|Proxy|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|DataView|document|window|globalThis|global|Symbol|Intl|WeakSet|WeakMap|Set|Map|Reflect|JSON|Atomics|Int(?:8|16|32)Array|BigInt64Array|Float32Array|Float64Array|Uint8ClampedArray|Uint(?:8|16|32)Array|BigUint64Array)\bz;((?:Eval|Internal|Range|Reference|Syntax|Type|URI)?Error)\bz (super)(\s*)(\([\w,?.$\s]+\s*\))z!([a-zA-Z_?.$][\w?.$]*)(?=\(\) \{)"(\\\\|\\[^\\]|[^"\\])*"'(\\\\|\\[^\\]|[^'\\])*'`interp\\.z\$\{interp-insidez\$z[^`\\$]+\}root)r8   r@   r=   rK   rG   rI   N).__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesreDOTALL	MULTILINEflagsr   r   Single	Multiliner   r   Regexr   r   Hashbangr   BinOctHexIntegerFloatr   r   Wordr   ReservedDeclarationConstantr   Builtin	Exceptionr   r   JS_IDENTDoubleBacktickInterpoltokens     g/home/geonatureadmin/si_en_reseau/tutos/venv/lib/python3.11/site-packages/pygments/lexers/javascript.pyr   r   !   s         D
]CT"G333I9 9 9I I$E Z g'7,-	"
 G+,,"#)<9t12GFOO
 J'
 W-.&89G+,, fj)
+#VZ0( CFLQ;'BCKM_a+'9:%8(-I[\ *7+;<129;MO 6w7JL^_GHOHXZ ;G<LMI KO,X LT^\ 1Xgz**,>@ 24:?QRtz"(&-8(&-86?H-q9
v 6?F+V_%fo7FO$&/*
 FOV,GFOO
eW WFFFrn   r   c                       e Zd ZdZdZdZddgZdgZddgZd	Z	d
de
dfde
j        dfde
j        fde
j        fd ee
j        eej        e          dfd eej        eeee
j                  fdez   e
j        fegiZdS )r   z@
    For TypeScript source code.

    .. versionadded:: 1.6
    
TypeScriptzhttps://www.typescriptlang.org/
typescripttsz*.tszapplication/x-typescriptztext/x-typescriptg      ?rK   z9(abstract|implements|private|protected|public|readonly)\br@   z(enum|interface|override)\bz\b(declare|type)\bz\b(string|boolean|number)\bz\b(module)(\s*)([\w?.$]+)(\s*)z!([\w?.$]+)(\s*)(:)(\s*)([\w?.$]+)@N)rL   rM   rN   rO   rP   rQ   rR   rS   rT   priorityr   rd   rc   Typer   r   r   r   r   rh   r   rl   rm   rn   ro   r   r      s          D
+CT"GI+-@AI H 	I+-+W-@BTU"G$45+W\:.Xg&
DJ
KKM_a 2Xdj*h
GLQQS H_g12
FFFrn   r   c            $          e Zd ZdZdZdZdgZdgZddgZe	j
        Zdefd	ej        fd
 eej        e          fgd eej        e          df ed          gd eeee          fdej        dfdej        f ed          gdedfdef ed          gdedfdef ed          g ed          dej        fdefdej        fd eej        ee          fdefdedfdefdej        dfd ej        d!fd" eeeeee          d#fd$ej        j        fd% eeeeee          fd& eeee          fd' eeee          fd( eeee          fd) eeee          fd& eeee          f ed*d+d,-          ef ed.d+d,-          ej        f ed/d,0          ej         fd1 eej        ee          fd2e!j"        fd3e!j#        fd4e!j$        fd5ed6fd7ed8fd9ed:fd;ed<fgd=efgd>ej%        df ed          gd9edfd?efd@ej%        dAf edB          gd;edfdCef edB          gd5edfdDefd@ej%        dAf edB          gd7edfdEef edB          gdFZ&dGS )Hr   z9
    For Kal source code.

    .. versionadded:: 2.0
    Kalzhttp://rzimmerman.github.io/kalkalz*.kalztext/kalzapplication/kalr5   ###[^#].*?###(#(?!##[^#]).*?)(\n)z([$a-zA-Z_][\w$]*)(\s*)r:   r8   z\b(inherits)(\s+)(from)\bz([$a-zA-Z_][\w$]*)(?=\s*\n)z[$a-zA-Z_][\w$]*\b\]z\b(property|value)\brK   r>   z\bfrom\b</(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)z%\?|:|_(?=\n)|==?|!=|-(?!>)|[<>+*/-]=?zE\b(and|or|isnt|is|not|but|bitwise|mod|\^|xor|exists|doesnt\s+exist)\bz(\([^()]+\))?(\s*)(>)z[{(]\[listcomprehensionz[})\].,]z\b(function|method|task)\bfunctiondefz	\bclass\bclassdefz,\b(safe(?=\s))?(\s*)(wait(?=\s))(\s+)(for)\bwaitforz#\b(me|this)(\.[$a-zA-Z_][\w.$]*)?\bz((?<![.$])(run)(\s+)(in)(\s+)(parallel)\bz'(?<![.$])(for)(\s+)(parallel|series)?\bz(?<![.$])(except)(\s+)(when)?\bz(?<![.$])(fail)(\s+)(with)?\bz!(?<![.$])(inherits)(\s+)(from)?\b)inofwhileuntilbreakreturncontinuewhenifunlesselse	otherwisethrowraisetrycatchfinallynewdeletetypeof
instanceofsuperz	(?<![.$])z\bprefixsuffix)truefalseyesnoonoffnullnothingnoneNaNInfinity	undefined)ArrayBooleanDateErrorFunctionMathr   ObjectRegExpr   	decodeURIdecodeURIComponent	encodeURIencodeURIComponentevalisFiniteisNaNisSafeInteger
parseFloatparseIntdocumentwindow
globalThisSymbolprint)r   z)([$a-zA-Z_][\w.$]*)(\s*)(:|[+\-*/]?\=)?\b%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?0x[0-9a-fA-F]+[0-9]+"""tdqs'''tsqs"dqs'sqs
[^#\\\'"]+rJ   \\.|\'#\{interpoling_stringstrings#|\\.|"\\.|\'|"
#|\\.|\'|")r8   r   r   r   r   rK   r   r   r   r   r   r   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rX   r   r   rZ   r   rY   r   r   r   r   Classr   r   r[   r   rb   rd   VariableInstancer   re   rf   r   ra   r_   r`   rk   rl   rm   rn   ro   r   r      si         D
+CgG	I./IIE Z w01$hhw~z&J&JK"
 ($-)L)LG+,,
 **g668+TZ@"DJ/G+,,
 K($g.GFOO
 J''"GFOO
 G+,,"#)<15"#+=2%
K@@Bk"K!45+&*G,?O7.
;<*gz ') 4T]5KL8*gz7KKM7*g668/*g668-*g6681*g6687*g668U ' 0<E	K K K
  U 8@L    '/1 U G     $|- :
H==?5v|D
+'FF#FF#&% &% q9
v F#
 FOV,GFOO

 66"V_&:;GI	
 66" GI
 VV$&!V_&:;GI	
 VV$F#GI
au uFFFrn   r   c                   F   e Zd ZdZdZdZddgZdgZdgZe	j
        Zdefd	ej        fd
 eej        e          fg ed          dej        dfdej        fdej        fg ed          dej        dfdej        dfdedf ed          gdedf ed          dej        fdedfdedfdefdedfdej        fdej        fd eej        eee          dfd eej        j        eee          dfdej        dfdej        dfd e j!        fd!e j"        fd"ed#fd$ed%fd&ed'fd(ed)fd*efd+efgd,efgd-ej#        df ed.          gd&edfd/efd0ej#        d1fd2ef ed3          gd(edfd4ef ed3          gd"edfd5efd0ej#        d1fd2ef ed3          gd$edfd6ef ed3          gd7
Z$d8S )9r   z@
    For LiveScript source code.

    .. versionadded:: 1.6
    
LiveScriptzhttps://livescript.net/
livescriptzlive-scriptz*.lsztext/livescriptr5   r7   z
(#.*?)(\n)r8   z//([gimuysd]+\b|\B)r:   /[^/#]+z//r:   multilineregexr}   
\A(?=\s|/)r@   z?(?:\([^()]+\))?[ ]*[~-]{1,2}>|(?:\(?[^()\n]+\)?)?[ ]*<[~-]{1,2}z\+\+|&&|(?<![.$])\b(?:and|x?or|is|isnt|not)\b|\?|:|=|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|~(?!\~?>)|-(?!\-?>)|<(?!\[)|(?<!\])>|[+*`%&|^/])=?rA   rB   z(?<![.$])(for|own|in|of|while|until|loop|break|return|continue|switch|when|then|if|unless|else|throw|try|catch|finally|new|delete|typeof|instanceof|super|extends|this|class|by|const|var|to|til)\bzF(?<![.$])(true|false|yes|no|on|off|null|NaN|Infinity|undefined|void)\bz(Array|Boolean|Date|Error|Function|Math|Number|Object|RegExp|String|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|document|window|globalThis|Symbol|Symbol|BigInt)\bz&([$a-zA-Z_][\w.\-:$]*)(\s*)([:=])(\s+)z'(@[$a-zA-Z_][\w.\-:$]*)(\s*)([:=])(\s+)rt   z@?[$a-zA-Z_][\w-]*z/[0-9]+\.[0-9]+([eE][0-9]+)?[fd]?(?:[a-zA-Z_]+)?z"[0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?r   r   r   r   r   r   r   r   z\\\S+z	<\[.*?\]>r   rJ   rK   r   r   r   #r   r   r   r   
r8   r   r@   rK   r   r   r   r   r   r   N)%rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rX   r   r   rZ   r   rY   r   r   r[   r   r   r   r   r   r   r   re   rf   r   r   r   r   ra   r`   rk   rl   rm   rn   ro   r   r   5  s/         D
#C]+GI"#IIE Z 7,-HHW^Z@@A"
 G+,,#V\6:6< %	
 G+,,FL"<="#)<98V$GFOO
 D"45G+,,237=B )	+
 +'9:%: <C	!
43 59L	B
 7
HjII"$ 8/X   "$ 4:12"DJ0BC?N2FNCFF#FF#&% &% v6"S*
X F#
 FOV,GFOO

 66"V_&:;6NGI
 66" GI
 VV$&!V_&:;6NGI
 VV$F#GI
w` `FFFrn   r   c                      e Zd ZdZdZdZdgZdgZdgZe	j
        e	j        z  Z ed          dej        fd	ed
fdefdefd eej        e          fdej        fd eej        e          dfdefdej        fdej        fdej        fdefdej        fdej        fdefdefdej        fdefdefdefgdej        dfg ed          defd efdefd!efd"edfgd#e j!        fd$e j        fd%e j!        fd&e j        fd'e j!        d(fd)e j        d*fd+e j!        d,fd-e j        d.fgd/e j"        fd0 ee j#        e          fd1 ee j#         e$e%          e j#                  fgd+e j!        dfd2e j!        f ed3          d4e j!        fgd'e j!        dfd5e j!        f ed3          d6e j!        fgd-e j        dfd7e j        f ed3          d4e j        fgd)e j        dfd8e j        f ed3          d9e j        fgd:	Z&d;S )<r   z:
    For Dart source code.

    .. versionadded:: 1.5
    Dartzhttp://dart.dev/dartz*.dartztext/x-dartstring_literalz#!(.*?)$z\b(import|export)\bimport_declz!\b(library|source|part of|part)\b[^\S\n]+(//.*?)(\n)r7   z \b(class|extension|mixin)\b(\s+)classz\b(as|assert|break|case|catch|const|continue|default|do|else|finally|for|if|in|is|new|rethrow|return|super|switch|this|throw|try|while)\bz\b(abstract|async|await|const|covariant|extends|external|factory|final|get|implements|late|native|on|operator|required|set|static|sync|typedef|var|with|yield)\bzH\b(bool|double|dynamic|int|num|Function|Never|Null|Object|String|void)\bz\b(false|null|true)\bz[~!%^&*+=|?:<>/-]|as\bz@[a-zA-Z_$]\w*z[a-zA-Z_$]\w*:z[a-zA-Z_$]\w*z[(){}\[\],.;]z0[xX][0-9a-fA-F]+z\d+(\.\d*)?([eE][+-]?\d+)?z\.\d+([eE][+-]?\d+)?r>   r:   r5   z\b(as|deferred|show|hide)\bz\,z\;zr"""([\w\W]*?)"""zr'''([\w\W]*?)'''zr"(.*?)"zr'(.*?)'r   string_double_multiliner   string_single_multiliner   string_doubler   string_singlezA\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\{[0-9A-Fa-f]*\}|[a-z'\"$\\])z(\$)([a-zA-Z_]\w*)z(\$\{)(.*?)(\})z
[^"$\\\n]+string_commonz\$+z[^"$\\]+z(\$|\")+z
[^'$\\\n]+z	[^\'$\\]+z(\$|\')+)	rK   r   r   r   r   r   r   r   r   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rW   rV   rX   r   r   Preprocr   r   r   rY   rZ   rd   rv   re   r   r   	DecoratorLabelr   r   r_   r   r   ri   Escaperk   r   r   rl   rm   rn   ro   r   r     s)         D
ChG
IIL29$E G$%%'/*#Wm<17;*%XXgnjAAB7,-0Xg):66AU"#*#68 Y\%w'78&1/
+t${+!6:.*F3$f-J9
@ tz62
 G$%%Z +W5t$K K(
 "6=1!6=1&-(&-(V]$=>V]$=>6=/26=/2
 R]"HHV_d$C$CDXfouuT{{FODDF	
 6=&)FM*GO$$V]#	
 V]F+&-(GO$$&-(	$
 6=&)FM*GO$$V]#	
 V]F+6=)GO$$&-(	$
aV VFFFrn   r   c                   &	   e Zd ZdZdZddgZddgZg dZdgZe	j
        e	j        z  e	j        z  Zi d	d
ej        dfdedfdef ed          gddej        dfdej        dfdej        dfdej        dfdefdefgddej        dfdefdej        dfdefdefgddej        dfdefdefgddej        df ed          gddej        df ed          gddej        df ed          gd defd! eej        e          fd"ej        fd#ej        fgdg  ed           d$ej        fd%ej        fd&ej        fd'efd(ej        d)fd*ej        d+fd,ej        fd-ej         fd.ej         j!        fd/ eej"        j#        eej         j$                  fd0 eej"        j#        ee%eej         j$                  fd1 eej"        j#        eej        j&                  fd2 ee%eej        j&                  fd3ej"        j#        fd4ej'        fd5 ee(eej)                  fd6ej*        fd7 ee+j,        eej$        ee%ee+          fd8 ee+j,        eej$        ee%eej-                  d9fd: ee+j,        eej-                  d9fd; ee+eej-                  d9fd< ee+eej-                  fd=e+j.        fd>e+j,        fd?e+j/        fd@ eeee+          fdA ee+ee          fdBe+dCfdD ee(e+j0                  fdE ee(e+          fdFe(dGfdHe%j1        fdI eeee(eej)        e%          fdJ ee(ej                  fdK ee%e%j1                  fdLe%fdMe(fd)d(ej        dfdNej        f edO          dPej        fgd+d*ej        dfdQej        f edO          dPej        fgdOdRej2        fgd9dSe%dfdTe(dfdUe(dVf ed          gdVdTe(dfdWej'        dfdXej"        j#        f ed          gdCdYedZfd[efd\edfd5 ee(eej)                  fdFe(f ed           gdZd]e(dfdTe(d^fdWej'        fd5 ee(eej)                  fdXej"        j#        fdUe(f ed           gdGd_ej-        d9f ed            ed          gZ3d` Z4da Z5db Z6dcS )dr    a  
    For Lasso source code, covering both Lasso 9
    syntax and LassoScript for Lasso 8.6 and earlier. For Lasso embedded in
    HTML, use the `LassoHtmlLexer`.

    Additional options accepted:

    `builtinshighlighting`
        If given and ``True``, highlight builtin types, traits, methods, and
        members (default: ``True``).
    `requiredelimiters`
        If given and ``True``, only highlight code between delimiters as Lasso
        (default: ``False``).

    .. versionadded:: 1.6
    Lassolassolassoscriptz*.lassoz*.lasso[89])z*.inclz*.incz*.lasztext/x-lassorK   z^#![ \S]+lasso9\bz(?=\[|<)
delimitersr5   )r   	lassofilez\[no_square_brackets\]nosquarebracketsz\[noprocess\]	noprocessr~   squarebracketsz<\?(lasso(script)?|=)anglebracketsz<(!--.*?-->)?z[^[<]+z\[/noprocess\]r:   z[^[]r|   z\?>r   z\]|\?>whitespacecommentsz(//.*?)(\s*)$z/\*\*!.*?\*/r7   z\d*\.\d+(e[+-]?\d+)?z
0x[\da-f]+\d+z(infinity|NaN)\br   singlestringr   doublestringz`[^`]*`z\$[a-z_][\w.]*z#([a-z_][\w.]*|\d+\b)z(\.)(\s*)('[a-z_][\w.]*')z$(self)(\s*)(->)(\s*)('[a-z_][\w.]*')z#(\.\.?)(\s*)([a-z_][\w.]*(=(?!=))?)z%(->\\?|&)(\s*)([a-z_][\w.]*(=(?!=))?)z3(?<!->)(self|inherited|currentcapture|givenblock)\bz-(?!infinity)[a-z_][\w.]*z(::)(\s*)([a-z_][\w.]*)a  (error_(code|msg)_\w+|Error_AddError|Error_ColumnRestriction|Error_DatabaseConnectionUnavailable|Error_DatabaseTimeout|Error_DeleteError|Error_FieldRestriction|Error_FileNotFound|Error_InvalidDatabase|Error_InvalidPassword|Error_InvalidUsername|Error_ModuleNotFound|Error_NoError|Error_NoPermission|Error_OutOfMemory|Error_ReqColumnMissing|Error_ReqFieldMissing|Error_RequiredColumnMissing|Error_RequiredFieldMissing|Error_UpdateError)\bz>(define)(\s+)([a-z_][\w.]*)(\s*)(=>)(\s*)(type|trait|thread)\bzA(define)(\s+)([a-z_][\w.]*)(\s*)(->)(\s*)([a-z_][\w.]*=?|[-+*/%])	signaturez(define)(\s+)([a-z_][\w.]*)zJ(public|protected|private|provide)(\s+)(([a-z_][\w.]*=?|[-+*/%])(?=\s*\())z5(public|protected|private|provide)(\s+)([a-z_][\w.]*)z)(true|false|none|minimal|full|all|void)\bz((local|var|variable|global|data(?=\s))\bz(array|date|decimal|duration|integer|map|pair|string|tag|xml|null|boolean|bytes|keyword|list|locale|queue|set|stack|staticarray)\bz([a-z_][\w.]*)(\s+)(in)\bz(let|into)(\s+)([a-z_][\w.]*)z	require\brequiresectionz(/?)(Namespace_Using)\ba  (/?)(Cache|Database_Names|Database_SchemaNames|Database_TableNames|Define_Tag|Define_Type|Email_Batch|Encode_Set|HTML_Comment|Handle|Handle_Error|Header|If|Inline|Iterate|LJAX_Target|Link|Link_CurrentAction|Link_CurrentGroup|Link_CurrentRecord|Link_Detail|Link_FirstGroup|Link_FirstRecord|Link_LastGroup|Link_LastRecord|Link_NextGroup|Link_NextRecord|Link_PrevGroup|Link_PrevRecord|Log|Loop|Output_None|Portal|Private|Protect|Records|Referer|Referrer|Repeating|ResultSet|Rows|Search_Args|Search_Arguments|Select|Sort_Args|Sort_Arguments|Thread_Atomic|Value_List|While|Abort|Case|Else|Fail_If|Fail_IfNot|Fail|If_Empty|If_False|If_Null|If_True|Loop_Abort|Loop_Continue|Loop_Count|Params|Params_Up|Return|Return_Value|Run_Children|SOAP_DefineTag|SOAP_LastRequest|SOAP_LastResponse|Tag_Name|ascending|average|by|define|descending|do|equals|frozen|group|handle_failure|import|in|into|join|let|match|max|min|on|order|parent|protected|provide|public|require|returnhome|skip|split_thread|sum|take|thread|to|trait|type|where|with|yield|yieldhome)\b,commamemberz(and|or|not)\bz6([a-z_][\w.]*)(\s*)(::)(\s*)([a-z_][\w.]*)?(\s*=(?!=))z(/?)([\w.]+)z,(=)(n?bw|n?ew|n?cn|lte?|gte?|n?eq|n?rx|ft)\bz:=|[-+*/%=<>&|!?\\]+z[{}():;,@^]z[^'\\]+escape\\z[^"\\]+zS\\(U[\da-f]{8}|u[\da-f]{4}|x[\da-f]{1,2}|[0-7]{1,3}|:[^:\n\r]+:|[abefnrtv?"\'\\]|$)z=>\)z[(,]	parameterz-?[a-z_][\w.]*z\.\.\.z#(([a-z_][\w.]*=?|[-+*/%])(?=\s*\())requiresignaturez3(([a-z_][\w.]*=?|[-+*/%])(?=(\s*::\s*[\w.]+)?\s*,))z[a-z_][\w.]*=?|[-+*/%]z(\)(?=(\s*::\s*[\w.]+)?\s*,))#pop:2zR(([a-z_][\w.]*=?|[-+*/%])(?=\s*(\(([^()]*\([^()]*\))*[^)]*\)\s*)?(::[\w.\s]+)?=>))c                    t          |dd          | _        t          |dd          | _        t                      | _        t                      | _        | j        rpddlm}m} |	                                D ]\  }}| j        
                    |            |	                                D ]\  }}| j        
                    |            t          j        | fi | d S )NbuiltinshighlightingTrequiredelimitersFr   )BUILTINSMEMBERS)r   r	  r
  set	_builtins_memberspygments.lexers._lasso_builtinsr  r  itemsupdater
   __init__)selfoptionsr  r  keyvalues         ro   r  zLassoLexer.__init__  s    $0+T%3 %3!!-(%"1 "1 $ 	,IIIIIIII&nn.. - -
U%%e,,,,%mmoo , ,
U$$U++++D,,G,,,,,rn   c              #     K   dg}| j         r|                    d           t          j        | ||          D ]\  }}}|t          j        u r|                                | j        v sA|t          j        j        u r@|                                	                    d          | j
        v r|t          j        |fV  |||fV  d S )NrK   r   =)r
  appendr
   get_tokens_unprocessedr   r   lowerr  Memberrstripr  rf   )r  textstackindextokenr  s         ro   r  z!LassoLexer.get_tokens_unprocessed  s      ! 	'LL&&&1$eDD	& 	&E5%##(G(GTZ...KKMM((-->>T\50000%%%%%	& 	&rn   c                     d}d| v r|dz  }t          j        d| t           j                  r|dz  }t          j        d| t           j                  r|dz  }|S )Ng        z
bin/lasso9g?z<\?lassog?zlocal\()rU   searchI)r  rvs     ro   analyse_textzLassoLexer.analyse_text  sb    4#IB9[$-- 	#IB9Zrt,, 	#IB	rn   N)7rL   rM   rN   rO   rP   rR   rS   alias_filenamesrT   rU   
IGNORECASErV   rW   rX   r   r   r   r   r   r   r   rY   r   DocrZ   r   ra   r_   r`   ri   rj   r   r   r   rf   Pseudor   r   r  	Attributer   r   rg   r   rd   r   re   rv   	Namespacerb   r   rl   r  r  r'  rm   rn   ro   r    r      s        " D&GM*I222O IMBI%4EE!7?G<%.Z G/00	
E 	&9KLw<GO%56%wHu%
E 	w<EN%wHu%
E, 	8ENe
-E6 	GOV,GG
7E> 	W_f-GG
?EF 	0GG
GEN 	Z xx
CCDfj)7,-	
OEZ 	 a
G())a

 %fl3a
 FJ'a
 V^$a
 !&)a
 6=.1a
 6=.1a
 )a
 .a
 &t}'=>a
  *,j$-:MNNP!a
$ 5,j(JM') )*%a
* 4,j$*:KLLN+a
. 6:tz/@AAC/a
2 D#%3a
6 *4>:7a
8 (j$*==?9a
<% '+n6=a
R O,j$**g? ?@Sa
X R,j$**dmE EYa
` ,,j$-HH+Waa
d$HWj$-HHea
j F*dm<<>ka
r :7;KLsa
t 9':MNua
v '.wa
| *88D*g+N+NO}a
~ .xxT/R/RSa
@ 7$45Aa
B (+w?P)Q)QRCa
D3$ g..%0Ea
n ;.oa
p .qa
r Gz;
DJ sa
x hh{DJ??@ya
z =8=113{a
~ %h/a
@ [)Aa
[E^ 	6=&)'GHFM"	
_Ej 	6=&)'GHFM"	
kEv 	$%+]4
wE~ 	Hf%K(k;/GG	
EJ 	K(7+,GG	
KEV 	3T;MNCTJ&f5'j$*==?;G())
WEh 	-{FCK*/'j$*==?+,k"G())	
iE| 	J{, G())GFOO
}EFN- - - & & &    rn   r    c            !          e Zd ZdZdZg dZdgZdgZdZe	j
        e	j        z  Z ed          dez   d	z   ez   d
z   ez   dz    e ee           eed           ee                    fd eee          dfd eee          dfd eeee          f ed          defdefgd eej        eej                  fd eej        eej                  fd eej        eej                  fd eej        eej                  fdej        dfdej        dfdefd eej        e          fd ej        fd!ej        fd"efg ed          d#ej        d$fd%ed&f ed$          gd'ed$fgd(ed)fd*ej        fd+ej        fd,ej        fd-ej         fd.ej         fd/ej!        fd0ej"        fd1ej#        fd2ed3fd4e$d3fd5ed3fd6efd7ed3fd8ej%        d3fd9efd:ej&        fd;e'j(        fd<ej)        fd=ej)        fd>ej)        fd?e'j(        fd@ez   dAz    ee'j*         ee                    fdBe'fgdCez   dDz   ez   dEz    ee'j+         ee          e'j+                  d$fdCez   dFz    ee'j+         ee          e'j,        e          d$fdGe'j+        d$fgdH ee'j+        eee          dIfdJ ee'j+        ee          d$fg ed          dKez   dLz   ez   dMz   ez   dNz   ez   dOz    e ee          ej&         ee          e'j*                  dPfdKez   dLz   ez   dMz   ez   dQz    e ee          ej&         ee          e'j*                  d$fdRez   dOz    ee'j*                  dPfdS ee'j*                  d$f ed$          g ed          dKez   dTz   ez   dMz   ez   dQz    e ee          ej&         ee          e          fdRez   dOz   e'j*        fdUe'j*        fdVez   dWz    ee          fdSefgdX ee'j*        e          fdYed$fgdZed$fd[ej        fd\efd eej        e          fd]efgd^ej        fd_ej        fd` eej        e          d$fdaej        fdbefd'ed$fgdcej        dIfddej        d$fde eee          fgdfZ-dg Z.dhS )ir!   z^
    For Objective-J source code with preprocessor directives.

    .. versionadded:: 1.3
    zObjective-J)zobjective-j
objectivejzobj-jobjjz*.jztext/x-objective-jz,(?:\s|//[^\n]*\n|/[*](?:[^*]|[*][^/])*[*]/)*
whitespacez^(z[+-]z)([(a-zA-Z_].*?[^(])(z\{)function_signature)statez!(@interface|@implementation)(\s+)	classnamez(@class|@protocol)(\s*)forward_classnamez(\s*)(@end)(\s*)
statementsz[{()}];z$(@import)(\s+)("(?:\\\\|\\"|[^"])*")z$(@import)(\s+)(<(?:\\\\|\\>|[^>])*>)z0(#(?:include|import))(\s+)("(?:\\\\|\\"|[^"])*")z0(#(?:include|import))(\s+)(<(?:\\\\|\\>|[^>])*>)z#if\s+0if0r   macror5   (\\)(\n)z//(\n|(.|\n)*?[^\\]\n)z/(\\\n)?[*](.|\n)*?[*](\\\n)?/r6   z3/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gim]+\b|\B)r:   r;   r<   r>   z(L|@)?"stringz8(L|@)?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'rD   rE   z%(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?z(\d+\.\d*|\.\d+|\d+[fF])[fF]?z0x[0-9a-fA-F]+[Ll]?z0[0-7]+[Ll]?z\d+[Ll]?r?   r@   z@\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?rA   rB   z(for|in|while|do|break|return|continue|switch|case|default|if|else|throw|try|catch|finally|new|delete|typeof|instanceof|void|prototype|__proto__)\bz(var|with|function)\bz(@selector|@private|@protected|@public|@encode|@synchronized|@try|@throw|@catch|@finally|@end|@property|@synthesize|@dynamic|@for|@accessors|new)\bzt(int|long|float|short|double|char|unsigned|signed|void|id|BOOL|bool|boolean|IBOutlet|IBAction|SEL|@outlet|@action)\bz(self|super)\bz"(TRUE|YES|FALSE|NO|Nil|nil|NULL)\brC   z(ABS|ASIN|ACOS|ATAN|ATAN2|SIN|COS|TAN|EXP|POW|CEIL|FLOOR|ROUND|MIN|MAX|RAND|SQRT|E|LN2|LN10|LOG2E|LOG10E|PI|PI2|PI_2|SQRT1_2|SQRT2)\bz(Array|Boolean|Date|Error|Function|Math|Number|Object|RegExp|String|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|Error|eval|isFinite|isNaN|parseFloat|parseInt|document|this|window|globalThis|Symbol)\bz([$a-zA-Z_]\w*)(z)(?=\()z[$a-zA-Z_]\w*z([a-zA-Z_]\w*)(:z)([a-zA-Z_]\w*)?z\()([a-zA-Z_]\w*)(\))z([a-zA-Z_]\w*)z([a-zA-Z_]\w*)(\s*)(,)(\s*)z#pushz([a-zA-Z_]\w*)(\s*)(;?)z(\(z)([a-zA-Z_]\w+)(r  z)([$a-zA-Z_]\w+z:)function_parametersz)([$a-zA-Z_]\w+)z([$a-zA-Z_]\w+z([$a-zA-Z_]\w+)z	)([^)]+)(z(:)z(,z\.\.\.)z([$a-zA-Z_]\w*)(\()z(\))r   z/\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})z	[^\\"\n]+r  z[^/\n]+z/[*](.|\n)*?[*]/r   r   z	(?<=\\)\nz^\s*#if.*?(?<!\\)\nz^\s*#endif.*?(?<!\\)\nz	(.*?)(\n))rK   r1  r@   r=   r6  r4  r5  r2  r=  
expressionr;  r9  r8  c                 J    t          j        d| t           j                  rdS dS )Nz^\s*@import\s+[<"]TF)rU   r$  rW   )r  s    ro   r'  zObjectiveJLexer.analyse_text  s%    9*D",?? 	4urn   N)/rL   rM   rN   rO   rP   rR   rS   rT   _wsrU   rV   rW   rX   r   r   r   r   r   r   r   r   r   r   ri   r   rY   rZ   r[   r   r   Charr   ra   r_   r^   r`   r   rd   rv   r   rf   re   r   r   r   rl   r'  rm   rn   ro   r!   r!     s         D<<<GI%&I :CI$E GL!! S[7"S(+CCcIFRXeeDkk555I#J#J#JeDkk# #$
 288GZ3P3P'':)F)F " ((:w
"K"KLGL!!{#+#
( 5Xgoz6=AAC4Xgoz6=AAC@Xgoz6=AAC@Xgoz6=AAC %07?G,Z 
335&7.0ABg%
* GL!!%|V5t12GFOO
 J'
 *H[(&-8(&-85v|D-v|<#VZ0fj)&.)&891)+ +'9:%'(/1CE &w':<NO<=DFN\ -2G4DE:G<LM!*,, .2\	; !3&3XdmUU4[[113 t$g4
n  #%,s2 !Xdj%%++tz::FD  #%(@@Xdj%%++tz4@@&J 
F3

 ,Xdj*dJ??J'Xdj*d33V=
 GL!! c\   "%&) "%% (-- XeeDkk7<tm% %&;= c\   "%&)   XeeDkk7<tm% %&,. $u,Xdm$$&;=  Xdm$$f. GFOO7
< GL!! c\   "%&)   XeeDkk7<tdCC	E $u,] T]# S[:%uuT{{3  &+ 
0 $XXdm.9&; &; <k6*
 66"?O6"((6=*==>FO
 ) '"34XXgnjAA6J7?#:&J'
 $W_g>&@88GZ889
AE EFN    rn   r!   c                   L   e Zd ZdZdZdZg dZdgZdgZdZ	e
j        Zdefd	ej        fd
 eej        e          fgdej        fdej        dfdej        dfdej        fg ed          dej        dfdej        dfdedf ed          g ed          dedfe	edfdej        dfdedfdefdedfdej        fdej        fd eej        eee          dfd eej        j         eee          dfd ej!        dfd!ej!        fd"e"j#        fd#e"j$        fd$e"j%        fd%ed&fd'ed(fd)ed*fd+ed,fgd-efgd.ej        df ed/          gd)edfd0efdej        dfd1ef ed2          gd+edfd3ef ed2          gd%edfd4efdej        dfd1ef ed2          gd'edfd5ef ed2          gd6
Z&d7S )8r"   zB
    For CoffeeScript source code.

    .. versionadded:: 1.3
    CoffeeScriptzhttp://coffeescript.org)coffeescriptzcoffee-scriptcoffeez*.coffeeztext/coffeescriptzx\+\+|~|&&|\band\b|\bor\b|\bis\b|\bisnt\b|\bnot\b|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?(?!>)|!=?|=(?!>)|-(?!>)|[<>+*`%&|\^/])=?r5   rz   r{   r   z///([gimuysd]+\b|\B)r:   r   r   z[/#]r8   z///r   r}   r   r   r@   z(?:\([^()]*\))?\s*[=-]>rA   rB   z(?<![.$])(for|own|in|of|while|until|loop|break|return|continue|switch|when|then|if|unless|else|throw|try|catch|finally|new|delete|typeof|instanceof|super|extends|this|class|by)\bzA(?<![.$])(true|false|yes|no|on|off|null|NaN|Infinity|undefined)\bz(Array|Boolean|Date|Error|Function|Math|Number|Object|RegExp|String|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|document|window|globalThis|Symbol)\bz$([$a-zA-Z_][\w.:$]*)(\s*)([:=])(\s+)z%(@[$a-zA-Z_][\w.:$]*)(\s*)([:=])(\s+)rt   z@?[$a-zA-Z_][\w$]*r   r   r   r   r   r   r   r   r   r   r   r   rJ   rK   r   r   r   r   r   r   r   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   _operator_rerU   rV   rX   r   r   rZ   r   rY   r   r[   rk   r   r   r   r   r   r   r   r   re   rf   r   r   r   r   ra   r_   r`   rl   rm   rn   ro   r"   r"     s$         D
#C999GI$%I	@ 
 IE Z w01$hhw~z&J&JK"
 %$flF;V_&:;fl#	
 G+,,V\#=>"#)<9
 8V$GFOO

 G+,,D"458%78'8JK+'9:%) +23E	G
*] \	
 5
HjII"$ 6/XzRR"$ 4:12"DJ/5v|D
+'FF#FF#&% &% E#
J F#
 FOV,GFOO

 66"V_&:;6NGI
 66" GI
 VV$&!V_&:;6NGI
 VV$F#GI
o\ \FFFrn   r"   c                   0   e Zd ZdZdZdZdgZdgZdgZe	j
        e	j        z  e	j        z  Zi ddefd	 eej        e          fd
ej        fdefdedfdedfdedfdedfdej        dfdej        dfdej        dfdej        j        dfgddej        fdej        dfdej        fgddej        df ed          gddej        df ed          gddej        df ed          gddej        df ed          gddej        dfd  eeej                  d!fd" eeej        e          fd#ej        fgd!d# ee          dfgddefd$ej        j        d%fd&ej        d'fd( eej         ee!          d)fd* eej         ee!          d+fd,ej         fd-edfgd%d.ej        j        fdej        df e"d          gd'd.ej        fdej        df e"d          gd+defd/ej        dfded0fded1f e"d          gd)defdej        d2fdej        d3f ed+          gd4defd5efd6ej#        fgd2 ed4          dej        d7fd8ej$        fgd3 ed4          dej        d7fd9ej$        fgd0dej        d7f ed          gd1dej        d7f ed          giZ%d:S );r#   z5
    For Mask markup.

    .. versionadded:: 2.0
    Maskz https://github.com/atmajs/MaskJSmaskz*.maskztext/x-maskrK   r5   r   r7   z[{};>]r   zstring-trpl-singler   zstring-trpl-doubler   zstring-singler   zstring-doublez([\w-]+)nodez([^.#;{>\s]+)z	(#[\w-]+)z
(\.[\w-]+)zstring-baserH   z~\[interpolation.r:   r|   z(\s*)(:)r>  z(\s*)(\w+)(:)z[^\]]+z\.z
node-classz\#znode-idz(style)([ \t]*)(=)znode-attr-style-valuez([\w:-]+)([ \t]*)(=)znode-attr-valuez[\w:-]+z[>{;]z[\w-]+z\w+zstring-single-pop2zstring-double-pop2zcss-single-endzcss-double-endzcss-baser7  z[\w\-]+\s*:r  z[^;']+z[^;"]+N)&rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rW   r)  rV   rX   r   r   r   rY   rZ   r   r   r   Tagr   r   r   r   rk   r   r   r   r   r,  r   r   rf   Entityrl   rm   rn   ro   r#   r#   g  s        
 D
,ChG
IIL2=(294EhZ XXgnjAAB7,-$V12V126?+6?+$(F+tz624=&1DM/8
h 	V]#V_o66=!
h( 	6=&)GM""
)h0 	6=&)GM""
1h8 	V]F+GM""
9h@ 	V]F+GM""
AhH 	FOV,((:v??Nxx
DJLLM(	
IhT 	o..7
UhZ 	Z DM'6DM9-"X>>') %X>>!# ({F+
[ht 	+,V_o6GFOO
uh~ 	&V_o6GFOO
hH 	Z T]F+6/06/0GFOO
IhV 	 Z 6="236="23G%&&	"
Whb 	Z ;T\*
chl 	GJ6=(+$
mhv 	GJ6=(+$
wh@ 	6=(+GM""
AhH 	6=(+GM""
Ih hFFFrn   r#   c            !          e Zd ZdZdZg dZdgZdgZi ddef e	d          d	e
fd
 eee          fdefd eej        e          fde
f e	d           eddd          ej        fdej        fdej        fdej        fdefdej        f e	d           e	d           e	d          d eeej        eej        j                  dfdej        dfdej        d fd!ej        f e	d"          d#e ed$d%          fd&e ed$d'          fd(e ed$d)          f e	d*           e	d+           e	d,           e	d-          gdd. eeej        j                  fd/ eeej        j        e          fd0efd1ej        d2fgd+d3 ee
j        e
          fgdd4 eeej                  fgd ed5d6d7          ej         fd8ej         fgdd9ej!        fd: eej!        e          fd; eeej!        e          fd< eeej!        e          fgd"d= eeej                  fd> eeej"                  fd? eeej                  fgd ed@d6d7          ej#        f edAd6dB          ej$        f edCd6dB          ej%        fgd edDdEdF          ej&        f edGd6d7          ej$        fgd,dHej        j'        fdI eej        ej                  fgd*dJej(        fgdKdLej)        d2f e	d          gd$dMej        fgdNdOefdPefdefgd%dQed2fdRej        f e	dN          gd'dSed2fdTej        fdUej)        dKf e	dN          gd)d(ed2f e	dN          gdVej        d2fdWej        fdXej        fdYej        fgdZej        d2fdej        fdXej        fd[ej        fgd\e*j+        fd]e*j+        fd^e*j,        fd_e*j-        fd`e*j.        fdae*j/        fdbe*j0        fgdcZ1ddS )er$   z>
    For Earl-Grey source code.

    .. versionadded: 2.1
    z	Earl Grey)z	earl-greyearlgreyegz*.egztext/x-earl-greyrK   r>   controlr   z
(;;.*)(\n)z[\[\]{}:(),;]r:  r  errors)
withwherer   andnotorr   asr   isz
(?<=\s|\[)z(?![\w$\-])r   z[*@]?->z[+\-*/~^<>%&|?!@#.]*=z\.{2,3}z+([+*/~^<>&|?!]+)|([#\-](?=\s))|@@+(?=\s)|=+z(?<![\w$\-])(var|let)(?:[^\w$])keywordsbuiltins
assignmentz(?x)
                (?:()([a-zA-Z$_](?:[\w$\-]*[\w$])?)|
                   (?<=[\s{\[(])(\.)([a-zA-Z$_](?:[\w$\-]*[\w$])?))
                (?=.*%)dbsz[rR]?`btz[rR]?```tbtz=(?<=[\s\[{(,;])\.([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=[\s\]}),;])nestedz(?:[rR]|[rR]\.[gmi]{1,3})?"stringescaper   z(?:[rR]|[rR]\.[gmi]{1,3})?\'r   r   r   tupleimport_pathsrP   numbersz-(\.)([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=[.\[\s])z+(\[)([\^#][a-zA-Z$_](?:[\w$\-]*[\w$])?)(\])r5   %r:   z>(?<=[\s:;,])(\.{1,3}(?:[\w\-]*/)*)(\w(?:[\w\-]*\w)*)(?=[\s;,])zB(\.)?([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=\s+[+\-*/~^<>%&|?!@#.]*\=\s))r   	TypeErrorReferenceErrorz(?<![\w\-$.])z(?![\w\-$.])z(?x)
                (?<![\w$])
                E\.[\w$](?:[\w$\-]*[\w$])?
                (?:\.[\w$](?:[\w$\-]*[\w$])?)*
                (?=[({\[?!\s])z(?x)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?!\n)\s+
                (?!and|as|each\*|each|in|is|mod|of|or|when|where|with)
                (?=(?:[+\-*/~^<>%&|?!@#.])?[a-zA-Z$_](?:[\w$-]*[\w$])?)z7([a-zA-Z$_](?:[\w$-]*[\w$])?)(?!\n)(\s+)(?=[\'"\d{\[(])z(?x)
                (?:
                    (?<=[%=])|
                    (?<=[=\-]>)|
                    (?<=with|each|with)|
                    (?<=each\*|where)
                )(\s+)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)(:)zc(?x)
                (?<![+\-*/~^<>%&|?!@#.])(\s+)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)(:)zz(?x)
                (?<=[\w$\]})])(\.)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?=\s+with(?:\s|\n))zo(?x)
                (?<!\s)(\.)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?=[}\]).,;:\s])zq(?x)
                (?<=[\w$\]})])(\.)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?=[\[{(:]))eachzeach*modawaitr   chainr   elifz
expr-valuer   matchr   yieldpassr   requirevarletasyncmethodgen)r   r  rt   z(?![\w\-$]))	r   r   r   r   r   r   ErrorFactoryENodePromise)sendobjectkeysr  	enumeratezipproduct
neighbours	predicateequalnequalcontainsreprclonerange
getCheckerzget-checkergetPropertyzget-propertygetProjectorzget-projectorconsumetake	promisifyspawnconstructorz(?<![\w\-#.])z(?![\w\-.]))r   r   r   r   z@([a-zA-Z$_](?:[\w$-]*[\w$])?)z)([a-zA-Z$_](?:[\w$-]*[\w$])?)(\+\+|\-\-)?z#[a-zA-Z_][\w\-]*(?=[\s{(,;])r   rJ   zY\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})r   z[^\\\'"]z[\'"\\]r   z\\\\|\\"|\\\nr   z\\\\|\\'|\\\nz\{rF   z(?<!`)\nz\^=?z.+z```z[^`]+z \d+\.(?!\.)\d*([eE][+-]?[0-9]+)?z\d+[eE][+-]?[0-9]+z8r[0-7]+z2r[01]+z16r[a-fA-F0-9]+z5([3-79]|[12][0-9]|3[0-6])r[a-zA-Z\d]+(\.[a-zA-Z\d]+)?r   )r_  r`  re  N)2rL   rM   rN   rO   rP   rR   rS   rT   r   r   r   r   r   r   r   r   r   r   rb   r   r   r   rd   rM  r   Startrj   r   r   DBSrN  r   rg   ControlFieldr+  re   rv   rf   r   r-  rk   r   ra   r^   r]   r_   Radixr`   rl   rm   rn   ro   r$   r$     s2         D---GI#$IGJGI$HHWj99:{+((6=*==>DMGHU " %^= = = ]	
 '%x}5';XF/1DEGJGJGL!! Xk48[$*:JKKU	T
 .&/51 &/GH+VXXne5T5TU,fhh~u6U6UVVXXnf==>GGGN##GFOOGIM'
GR 	=Xk4:>224;Xk4;?K@@BZ 8<(
SGb 	NXdot,,.
cGj 	0Xk4=113
kGt 	U;*?D D D^"
 ^	

uGJ 	K
 _ HXgoz2244 Xj'/;??A4 Xj'/;??A%
KGx 	( Xk4=11	3
$ Xk4:..	0
 Xk4=11	3
yGZ 	U 1
 (A A A ^ U(*>C C C U ? (@ @ @ \	
[G| 	U 5 (@ @ @ \ U 6'A A A ]
}GZ 	.0FG9Xdk8=113
[Gd 	-t~>
eGj 	FOV,GFOO
kGr 	<=C]L
sGz 	&! FO
{GD 	66"v}-GI
EGN 	66"v}-FO%9:GI	
OGZ 	VV$GI
[Gd 6?F+&/*fm$FO$	
 V_f-FO$fm$v'	
 1&,?"FL1&*%$,E\V^$	
{G G GFFFrn   r$   c                      e Zd ZdZdZdZdgZdgZg dZe	j
        e	j        z  Zdefd eej        e          fd	ej        fg ed
          dej        dfdedf ed          gdedfgdedf ed
          dej        fdej        fdej        fdej        fdedfdedfdefdedfdej        dfdej        fdej        fdej        fe ej!        fde"j#        fde"j$        fd ej%        fd!ej        fgd"Z&d#S )$r%   z<
    For Juttle source code.

    .. versionadded:: 2.2
    Juttlezhttp://juttle.github.io/juttlez*.juttle)zapplication/juttlezapplication/x-juttleztext/x-juttleztext/juttler5   r   r7   r8   r9   r:   r;   r<   r>   z	^(?=\s|/)r@   z:\d{2}:\d{2}:\d{2}(\.\d*)?:zY:(now|beginning|end|forever|yesterday|today|tomorrow|(\d+(\.\d*)?|\.\d+)(ms|[smhdwMy])?):zN:\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d*)?)?(Z|[+-]\d{2}:\d{2}|[+-]\d{4})?:z:((\d+(\.\d*)?|\.\d+)[ ]+)?(millisecond|second|minute|hour|day|week|month|year)[s]?(([ ]+and[ ]+(\d+[ ]+)?(millisecond|second|minute|hour|day|week|month|year)[s]?)|[ ]+(ago|from[ ]+now))*:z8\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(==?|!=?|[-<>+*%&|^/])=?rA   rB   z"(import|return|continue|if|else)\bz((var|const|function|reducer|sub|input)\bz{(batch|emit|filter|head|join|keep|pace|pass|put|read|reduce|remove|sequence|skip|sort|split|tail|unbatch|uniq|view|write)\bz(true|false|null|Infinity)\bz6(Array|Date|Juttle|Math|Number|Object|RegExp|String)\br   r   rD   rE   )r8   r@   r=   rK   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   r   r   r   rY   rZ   r   r   r[   r   r   Momentr   r   r   rd   rc   re   r   rf   rh   r   r   ra   r`   ri   rl   rm   rn   ro   r%   r%     s         D
$CjGI1 1 1I I$E Z XXgnjAAB7,-"
 G+,,"#)<9t12GFOO
 D&!
 4!34G+,,+V];56<mE017@* ,2=	:
)*24FH+'9:%2G=OP8':M!I -g.>?F\tz"5v|D'(&-8(&-8=
!1 1FFFrn   r%   c                   (    e Zd ZdZdZdgZdgZd ZdS )r&   a  
    For parsing within an interactive Node.js REPL, such as:

    .. sourcecode:: nodejsrepl

        > let a = 3
        undefined
        > a
        3
        > let b = '4'
        undefined
        > b
        '4'
        > b == a
        false

    .. versionadded: 2.10
    zNode.js REPL console session
nodejsreplztext/x-nodejsreplc           
   #     K   t          di | j        }d}g }t          j        |          D ]g}|                                }|                    d          rY|                    t          |          dt          j	        |d d         fdt          |dd         fgf           ||dd          z  }|                    d          ru|                    d          }t          |          t          |          z
  }|                    t          |          dt          j	        |d |         fgf           ||z  }|r-t          ||                    |                    E d {V  d}g }t          g |                    |                    E d {V  i|r+t          ||                    |                    E d {V  d S d S )	N z> r         z...rL  rm   )r   r  r   finditergroup
startswithr  lenr   Promptr   lstripr   r  )	r  r  jslexercurcode
insertionsrn  linecodeleads	            ro   r  z'NodeConsoleLexer.get_tokens_unprocessed  sS     !11DL11
%d++ 	: 	:E;;==Dt$$ :!!3w<<bqb2T!A#Y/1#2 3 3 3 48#'' :{{3''4yy3t99,!!3w<<ete56#8 9 9 9 4 $,Z66w?? A  A A A A A A A A !G!#J(22488: : : : : : : : : :  	9$Z..w779 9 9 9 9 9 9 9 9 9 9	9 	9rn   N)rL   rM   rN   rO   rP   rR   rT   r  rm   rn   ro   r&   r&     sD         $ *DG$'I$9 $9 $9 $9 $9rn   r&   )1rO   rU   pygments.lexerr   r   r   r   r   r   r	   r
   r   r   r   r   pygments.tokenr   r   r   r   r   r   r   r   r   r   r   pygments.utilr   pygments.unistring	unistringuni__all__combineJS_IDENT_STARTJS_IDENT_PARTrh   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   rm   rn   ro   <module>r     s1    
			< < < < < < < < < < < < < < < < < < < < < < < < < < < <4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 & & & & & &              
 [S[tT4tLLL*+;3;tT4tT'+T4? ? ?56 E!M1D8e e e e ej e e eP# # # # #o # # #LC C C C Cz C C CLn n n n nj n n nbe e e e e
 e e ePE E E E E E E EP\ \ \ \ \j \ \ \~o o o o o
 o o odu u u u u
 u u upS S S S SJ S S SlA A A A A* A A AH;9 ;9 ;9 ;9 ;9u ;9 ;9 ;9 ;9 ;9rn   