1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
3

V'íc‹õã@s¾dZddlZddlmZmZmZmZmZmZm	Z	m
Z
mZmZm
Z
mZddlmZmZmZmZmZmZmZmZmZmZmZddlmZddljZdddd	d
ddd
ddddgZ dej!ddddddƒdZ"dej!ddddddddddƒ
dZ#e"d e#d!Z$Gd"d„de
ƒZ%Gd#d
„d
e%ƒZ&Gd$d„de
ƒZ'Gd%d„de
ƒZ(Gd&d	„d	e
ƒZ)Gd'd„de
ƒZ*Gd(d„de
ƒZ+Gd)d
„d
e
ƒZ,Gd*d„de
ƒZ-Gd+d„de
ƒZ.Gd,d„de
ƒZ/Gd-d„de	ƒZ0dS).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(?:[$_ZLuZLlÚLtZLmZLoZNlz]|\\u[a-fA-F0-9]{4})z(?:[$ZMnZMcZNdZPcu‌‍]|\\u[a-fA-F0-9]{4})z(?:z)*c@s¬eZdZdZdZdZddgZdddd	gZd
ddd
gZe	j
e	jBZde
fdefdejfdejfgedƒdejdfded;fedƒgde
dfgdejfdedfedƒdejfdejfdejfdejfdejfd efd!edfd"edfd#efd$ejdfd%e j!fd&e dfd'e j"dfd(e j!fd)e j#fd*e$j%fd+e$j&fd,e'e e
ƒdfd-e$j(dfe)e$j(fd.ej*fd/ejfd0ej+d1fgd0ej+dfd2ej+fd3ej,d4fd5ej+fd6ej+fgd7ej,dfed8ƒgd9œZ-d:S)<rz%
    For JavaScript source code.
    Z
JavaScriptzQhttps://www.ecma-international.org/publications-and-standards/standards/ecma-262/Z
javascriptZjsz*.jsz*.jsmz*.mjsz*.cjszapplication/javascriptzapplication/x-javascriptztext/x-javascriptztext/javascriptz\s+z<!--z//.*?$z	/\*.*?\*/Úcommentsandwhitespacez7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)ú#popz(?=/)Úbadregexz\nz\A#! ?/.*?$z^(?=\s|/|<!--)Úslashstartsregexz0[bB][01]+n?z0[oO]?[0-7]+n?z0[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[{(\[;,]z[})\].]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)\bz*(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?.$]*)(?=\(\) \{)z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*'ú`Úinterpz\\.z\$\{z
interp-insidez\$z[^`\\$]+z\}Úroot)r'r*r)r-r,z
interp-insideN)r(r)).Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚreÚDOTALLÚ	MULTILINEÚflagsrrÚSingleÚ	MultilinerrÚRegexrrZHashbangrÚBinÚOctÚHexÚIntegerÚFloatrrÚWordrÚReservedÚDeclarationÚConstantrÚBuiltinÚ	ExceptionrrÚJS_IDENTÚDoubleÚBacktickÚInterpolÚtokens©rNrNú>/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/javascript.pyr!sp








c
@s–eZdZdZdZdZddgZdgZddgZd	Z	d
de
dfd
e
jdfde
jfde
j
fdee
jeejeƒdfdeejeeee
j
ƒfdee
jfegiZdS)rz@
    For TypeScript source code.

    .. versionadded:: 1.6
    Z
TypeScriptzhttps://www.typescriptlang.org/Z
typescriptÚtsz*.tszapplication/x-typescriptztext/x-typescriptgà?r-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)r.r/r0r1r2r3r4r5r6ÚpriorityrrErDÚTyperrrrrrIrrMrNrNrNrOr‰s&
c3@sŽeZdZdZdZdZdgZdgZddgZe	j
Zdefd	e
jfd
ee
jeƒfgdeejeƒdfed
ƒgdeeeeƒfdejdfdejfed
ƒgdedfdefedƒgdedfdefedƒged
ƒdejfdefdejfdeejeeƒfdefdedfdefdejdfd ejd!fd"eeeeeeƒd#fd$ejjfd%eeeeeeƒfd&eeeeƒfd'eeeeƒfd(eeeeƒfd)eeeeƒfd&eeeeƒfed€d@dAdBefedd@dAdBejfed‚dAdhej fdieejeeƒfdje!j"fdke!j#fdle!j$fdmednfdoedpfdqedrfdsedtfgduefgdvej%dfedƒgdqedfdwefdxej%dyfedzƒgdsedfd{efedzƒgdmedfd|efdxej%dyfedzƒgdoedfd}efedzƒgd~œZ&dS)ƒrz9
    For Kal source code.

    .. versionadded:: 2.0
    ZKalzhttp://rzimmerman.github.io/kalZkalz*.kalztext/kalzapplication/kalz\s+z
###[^#].*?###z(#(?!##[^#]).*?)(\n)z([$a-zA-Z_][\w$]*)(\s*)z#popr'z\b(inherits)(\s+)(from)\bz([$a-zA-Z_][\w$]*)(?=\s*\n)z[$a-zA-Z_][\w$]*\bz\]z\b(property|value)\br-z\nz\bfrom\bz</(?! )(\\.|[^[/\\\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[{(]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)roz)([$a-zA-Z_][\w.$]*)(\s*)(:|[+\-*/]?\=)?\bz%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z0x[0-9a-fA-F]+z[0-9]+z"""Útdqsz'''Útsqsú"Údqsú'Úsqsz
[^#\\\'"]+z\}z\\.|\'z#\{Úinterpoling_stringÚstringsz#|\\.|"z\\.|\'|"z
#|\\.|\'|")r'rUrVrTrWr-ršr™r–r˜r“r”N)rXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrm)rprqrrrsrtrurvrwrxryrzr{)r|r}r~rr€rrr‚rƒrr„r…r†r‡rˆr‰rŠr‹rŒrrŽrrr‘r’)'r.r/r0r1r2r3r4r5r6r7r8r:rrr<rr;rr€rrÚClassrrr=rrCrEÚVariableÚInstancerrFrGrrBr@rArLrMrNrNrNrOr¯sÂ









c@sôeZdZdZdZdZddgZdgZdgZe	j
Zdefd	e
jfd
ee
jeƒfgedƒdejd
fdejfdejfgedƒdejd9fdejd
fded
fed
ƒgdedfedƒdejfdedfdedfdefdedfdejfdejfdeejeeeƒdfdeejjeeeƒdfdejdfdejdfd e j!fd!e j"fd"ed#fd$ed%fd&ed'fd(ed)fd*efd+efgd,efgd-ej#d
fed.ƒgd&ed
fd/efd0ej#d1fd2efed3ƒgd(ed
fd4efed3ƒgd"ed
fd5efd0ej#d1fd2efed3ƒgd$ed
fd6efed3ƒgd7œ
Z$d8S):rz@
    For LiveScript source code.

    .. versionadded:: 1.6
    Z
LiveScriptzhttps://livescript.net/Z
livescriptzlive-scriptz*.lsztext/livescriptz\s+z	/\*.*?\*/z
(#.*?)(\n)r'z//([gimuysd]+\b|\B)ú#popú/z[^/#]+z//Úmultilineregexz</(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)z
\A(?=\s|/)r*z?(?:\([^()]+\))?[ ]*[~-]{1,2}>|(?:\(?[^()\n]+\)?)?[ ]*<[~-]{1,2}z†\+\+|&&|(?<![.$])\b(?:and|x?or|is|isnt|not)\b|\?|:|=|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|~(?!\~?>)|-(?!\-?>)|<(?!\[)|(?<!\])>|[+*`%&|^/])=?z[{(\[;,]z[})\].]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+)rQz@?[$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_]+)?z"""r“z'''r”r•r–r—r˜z\\\S+z	<\[.*?\]>z
[^#\\\'"]+z\}r-z\\.|\'z#\{r™ú#ršz#|\\.|"z\\.|\'|"z
#|\\.|\'|")
r'r r*r-ršr™r–r˜r“r”N)ržr )%r.r/r0r1r2r3r4r5r6r7r8r:rrr<rr;rrr=rrrrr€rrrFrGrœrrrrBrArLrMrNrNrNrOr5sŽ







c@seZdZdZdZdZdgZdgZdgZe	j
e	jBZe
dƒdejfd	ed
fdefdefd
eejeƒfdejfdeejeƒdfdefdejfdejfdejfdefdejfdejfdefdefdejfdefdefdefgdejdfge
dƒdefd efdefd!efd"edfgd#e j!fd$e jfd%e j!fd&e jfd'e j!d(fd)e jd*fd+e j!d,fd-e jd.fgd/e j"fd0ee j#eƒfd1ee j#e$e%ƒe j#ƒfgd+e j!dfd2e j!fe
d3ƒd4e j!fgd'e j!dfd5e j!fe
d3ƒd6e j!fgd-e jdfd7e jfe
d3ƒd4e jfgd)e jdfd8e jfe
d3ƒd9e jfgd:œ	Z&d;S)<rz:
    For Dart source code.

    .. versionadded:: 1.5
    ZDartzhttp://dart.dev/Zdartz*.dartztext/x-dartÚstring_literalz#!(.*?)$z\b(import|export)\bÚimport_declz!\b(library|source|part of|part)\bz[^\S\n]+z(//.*?)(\n)z	/\*.*?\*/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
[(){}\[\],.;]z0[xX][0-9a-fA-F]+z\d+(\.\d*)?([eE][+-]?\d+)?z\.\d+([eE][+-]?\d+)?z\nz#popz\s+z\b(as|deferred|show|hide)\bz\,z\;zr"""([\w\W]*?)"""zr'''([\w\W]*?)'''zr"(.*?)"zr'(.*?)'z"""Ústring_double_multilinez'''Ú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(\$|\')+)	r-r¤r£r¢r©r§r¥r¨r¦N)'r.r/r0r1r2r3r4r5r6r7r9r8r:rrÚPreprocrrrr;r<rErSrFrrZ	DecoratorÚLabelrrr@r›rrJÚEscaperLrr
rMrNrNrNrOr¦sˆ










c1@s\eZdZdZdZddgZddgZddd	gZd
gZe	j
e	jBe	jBZ
dejdfded
fdefedhƒgdejdfdejdfdejdfdejdfdefdefgdejdfdefdejdfdefdefgdejdfdefdefgdejdfedƒgdejdfedƒgdejdfedƒgdefd eejeƒfd!ejfd"ejfged#ƒd$ejfd%ejfd&ejfd'efd(ejd)fd*ejd+fd,ejfd-ej fd.ej j!fd/eej"j#eej j$ƒfd0eej"j#ee%eej j$ƒfd1eej"j#eejj&ƒfd2ee%eejj&ƒfd3ej"j#fd4ej'fd5ee(eej)ƒfd6ej*fd7ee+j,eej$ee%ee+ƒfd8ee+j,eej$ee%eej-ƒd9fd:ee+j,eej-ƒd9fd;ee+eej-ƒd9fd<ee+eej-ƒfd=e+j.fd>e+j,fd?e+j/fd@eeee+ƒfdAee+eeƒfdBe+dCfdDee(e+j0ƒfdEee(e+ƒfdFe(dGfdHe%j1fdIeeee(eej)e%ƒfdJee(ejƒfdKee%e%j1ƒfdLe%fdMe(fg&d(ejdfdNejfedOƒdPejfgd*ejdfdQejfedOƒdPejfgdRej2fgdSe%dfdTe(dfdUe(dVfedƒgdTe(dfdWej'dfdXej"j#fedƒgdYedZfd[efd\edfd5ee(eej)ƒfdFe(fed#ƒgd]e(dfdTe(d^fdWej'fd5ee(eej)ƒfdXej"j#fdUe(fed#ƒgd_ej-d9fed#ƒedƒgd`œZ3dadb„Z4dcdd„Z5dedf„Z6dgS)iraö
    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
    ZLassoÚlassoZlassoscriptz*.lassoz*.lasso[89]z*.inclz*.incz*.lasztext/x-lassoz^#![ \S]+lasso9\bz(?=\[|<)Ú
delimitersz\s+Ú	lassofilez\[no_square_brackets\]Únosquarebracketsz
\[noprocess\]Ú	noprocessz\[Úsquarebracketsz<\?(lasso(script)?|=)Ú
anglebracketsz
<(!--.*?-->)?z[^[<]+z\[/noprocess\]z#popz[^[]z\]z\?>z\]|\?>z
(//.*?)(\s*)$z/\*\*!.*?\*/z	/\*.*?\*/Úwhitespacecommentsz\d*\.\d+(e[+-]?\d+)?z
0x[\da-f]+z\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[^'\\]+Úescapez\\z[^"\\]+zS\\(U[\da-f]{8}|u[\da-f]{4}|x[\da-f]{1,2}|[0-7]{1,3}|:[^:\n\r]+:|[abefnrtv?"\'\\]|$)z=>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*,))z#pop:2zR(([a-z_][\w.]*=?|[-+*/%])(?=\s*(\(([^()]*\([^()]*\))*[^)]*\)\s*)?(::[\w.\s]+)?=>)))r-r®r°r±r²r³r¯r´r­rµr¶r»r·r¼r¸r½rºcKs˜t|ddƒ|_t|ddƒ|_tƒ|_tƒ|_|jr†ddlm}m}x |j	ƒD]\}}|jj
|ƒqLWx |j	ƒD]\}}|jj
|ƒqnWtj|f|ŽdS)NÚbuiltinshighlightingTÚrequiredelimitersFr)ÚBUILTINSÚMEMBERS)
rr¾r¿ÚsetÚ	_builtinsÚ_membersZpygments.lexers._lasso_builtinsrÀrÁÚitemsÚupdater	Ú__init__)ÚselfÚoptionsrÀrÁÚkeyÚvaluerNrNrOrÇîszLassoLexer.__init__ccsŒdg}|jr|jdƒxptj|||ƒD]^\}}}|tjkrH|jƒ|jksh|tjjkrx|jƒj	dƒ|j
krx|tj|fVq&|||fVq&WdS)Nr-r®ú=)r¿Úappendr	Úget_tokens_unprocessedrrÚlowerrÃÚMemberÚrstriprÄrG)rÈÚtextÚstackÚindexÚtokenrËrNrNrOrÎþs
z!LassoLexer.get_tokens_unprocessedcCsHd}d|kr|d7}tjd|tjƒr,|d7}tjd|tjƒrD|d7}|S)Ngz
bin/lasso9gš™™™™™é?z<\?lassogš™™™™™Ù?zlocal\()r7ÚsearchÚI)rÒÚrvrNrNrOÚanalyse_textszLassoLexer.analyse_textN)r®r¯)7r.r/r0r1r2r4r5Zalias_filenamesr6r7Ú
IGNORECASEr8r9r:rrªrrrrrr;rZDocr<rrBr@rArJrKrrœrrGÚPseudor›rrÐÚ	Attributerr«rHrrEr€rFrSÚ	NamespacerCr¬rMrÇrÎrÙrNrNrNrOrs

























c@sreZdZdZdZddddgZdgZdgZd	Ze	j
e	jBZe
d
ƒdeded
edeeeƒeeddeeƒƒfdeeeƒdfdeeeƒdfdeeeeƒfe
dƒdefdefgdeejeejƒfdeejeejƒfdeejeejƒfdeejeejƒfdejdfdejd fd!efd"eejeƒfd#ejfd$ejfd%efge
d
ƒd&ejd'fd(edmfed'ƒgd*ed'fgd+ed,fd-ejfd.ejfd/ejfd0ej fd1ej fd2ej!fd3ej"fd4ej#fd5ed6fd7e$d6fd8ed6fd9efd:ed6fd;ej%d6fd<efd=ej&fd>e'j(fd?ej)fd@ej)fdAej)fdBe'j(fdCedDee'j*eeƒƒfdEe'fgdFedGedHee'j+eeƒe'j+ƒd'fdFedIee'j+eeƒe'j,eƒd'fdJe'j+d'fgdKee'j+eeeƒdLfdMee'j+eeƒd'fge
d
ƒdNedOedPedQedReeeƒej&eeƒe'j*ƒdSfdNedOedPedTeeeƒej&eeƒe'j*ƒd'fdUedRee'j*ƒdSfdVee'j*ƒd'fed'ƒge
d
ƒdNedWedPedTeeeƒej&eeƒeƒfdUedRe'j*fdXe'j*fdYedZeeƒfdVefgd[ee'j*eƒfd\ed'fgd]ed'fd^ejfd_efd"eejeƒfd`efgdaejfdbejfdceejeƒd'fddejfdeefd*ed'fgdfejdLfdgejd'fdheeeƒfgdiœ
Z-djdk„Z.dlS)nr z^
    For Objective-J source code with preprocessor directives.

    .. versionadded:: 1.3
    zObjective-Jzobjective-jZ
objectivejzobj-jZobjjz*.jztext/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¡Úmacroz\s+z(\\)(\n)z//(\n|(.|\n)*?[^\\]\n)z/(\\\n)?[*](.|\n)*?[*](\\\n)?/z<!--z3/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gim]+\b|\B)ú#popz(?=/)r)z\nz(L|@)?"Ústringz8(L|@)?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*'z%(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?z(\d+\.\d*|\.\d+|\d+[fF])[fF]?z0x[0-9a-fA-F]+[Ll]?z0[0-7]+[Ll]?z\d+[Ll]?z^(?=\s|/|<!--)r*z@\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?z[{(\[;,]z[})\].]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)\bz*(true|false|null|NaN|Infinity|undefined)\bz…(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+)(z\)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]+z\\z[^/\n]+z/[*](.|\n)*?[*]/z(//.*?)(\n)rŸz	(?<=\\)\nz^\s*#if.*?(?<!\\)\nz^\s*#endif.*?(?<!\\)\nz	(.*?)(\n))
r-rÞr*r)rãrárârßrêÚ
expressionrèræråcCstjd|tjƒrdSdS)Nz^\s*@import\s+[<"]TF)r7rÖr9)rÒrNrNrOrÙîszObjectiveJLexer.analyse_textN)rçr))/r.r/r0r1r2r4r5r6Ú_wsr7r8r9r:rrrr
rrrrrªrrJr¬r;r<r=rrZCharrrBr@r?rArrErSrrGrFr€r›r«rMrÙrNrNrNrOr sò








"







c@súeZdZdZdZdZdddgZdgZdgZd	Z	e
jZd
e
fdejfdeeje
ƒfgd
ejfdejdfdejdfdejfgedƒdejd:fdejdfdedfedƒgedƒdedfe	edfdejdfdedfdefdedfdejfdejfd eeje
ee
ƒdfd!eejj e
ee
ƒdfd"ej!dfd#ej!fd$e"j#fd%e"j$fd&e"j%fd'ed(fd)ed*fd+ed,fd-ed.fgd/efgd0ejdfed1ƒgd+edfd2efdejdfd3efed4ƒgd-edfd5efed4ƒgd'edfd6efdejdfd3efed4ƒgd)edfd7efed4ƒgd8œ
Z&d9S);r!zB
    For CoffeeScript source code.

    .. versionadded:: 1.3
    ZCoffeeScriptzhttp://coffeescript.orgZcoffeescriptz
coffee-scriptZcoffeez*.coffeeztext/coffeescriptzx\+\+|~|&&|\band\b|\bor\b|\bis\b|\bisnt\b|\bnot\b|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?(?!>)|!=?|=(?!>)|-(?!>)|[<>+*`%&|\^/])=?z\s+z
###[^#].*?###z(#(?!##[^#]).*?)(\n)z[^/#]+z///([gimuysd]+\b|\B)ú#popz#\{r™z[/#]r'z///r z</(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)rŸz
\A(?=\s|/)r*z(?:\([^()]*\))?\s*[=-]>z[{(\[;,]z[})\].]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+)rQz@?[$a-zA-Z_][\w$]*z%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z0x[0-9a-fA-F]+z[0-9]+z"""r“z'''r”r•r–r—r˜z
[^#\\\'"]+z\}r-z\\.|\'r¡ršz#|\\.|"z\\.|\'|"z
#|\\.|\'|")
r'r r*r-ršr™r–r˜r“r”N)rír )'r.r/r0r1r2r3r4r5r6Z_operator_rer7r8r:rrr<rr;rr=rLrrrrrr€rrrFrGrœrrrrBr@rArMrNrNrNrOr!õs†










c@s–eZdZdZdZdZdgZdgZdgZe	j
e	jBe	jBZ
defdeejeƒfd	ejfd
efdedfd
edfdedfdedfdejdfdejdfdejdfdejjdfgdejfdejdfdejfgdejdfedƒgdejdfedƒgdejdfedƒgd
ejdfedƒgdejdfdeeejƒd fd!eeejeƒfd"ejfgd"eeƒdfgdefd#ejjd$fd%ejd&fd'eej ee!ƒd(fd)eej ee!ƒd*fd+ej fd,edfgd-ejjfdejdfe"dƒgd-ejfdejdfe"dƒgdefd.ejdfded/fded0fe"dƒgdefdejd1fdejd2fed*ƒgdefd3efd4ej#fged5ƒdejd6fd7ej$fged5ƒdejd6fd8ej$fgdejd6fedƒgdejd6fedƒgd9œZ%d:S);r"z5
    For Mask markup.

    .. versionadded:: 2.0
    ZMaskz https://github.com/atmajs/MaskJSÚmaskz*.maskztext/x-maskz\s+z(//.*?)(\n)z	/\*.*?\*/z[{};>]z'''zstring-trpl-singlez"""zstring-trpl-doubler—z
string-singler•z
string-doublez([\w-]+)Únodez
([^.#;{>\s]+)z	(#[\w-]+)z
(\.[\w-]+)z\\.z~\[Ú
interpolationÚ.z#popzstring-basez\]z(\s*)(:)rëz
(\s*)(\w+)(:)z[^\]]+z\.z
node-classz\#znode-idz(style)([ \t]*)(=)znode-attr-style-valuez([\w:-]+)([ \t]*)(=)znode-attr-valuez[\w:-]+z[>{;]z[\w-]+z\w+zstring-single-pop2zstring-double-pop2zcss-single-endzcss-double-endräz[\w\-]+\s*:zcss-basez#pop:2z[^;']+z[^;"]+)r-zstring-basez
string-singlez
string-doublezstring-trpl-singlezstring-trpl-doublerðrërïz
node-classznode-idznode-attr-valueznode-attr-style-valuezcss-basezcss-single-endzcss-double-endzstring-single-pop2zstring-double-pop2N)&r.r/r0r1r2r3r4r5r6r7r9rÚr8r:rrrr;r<rrrÚTagr›r€rœr¬rLrrrrrÜrrrGÚEntityrMrNrNrNrOr"gs”

























c#@sŠeZdZdZdZdddgZdgZdgZdefe	d	ƒd
e
fdeeeƒfde
fd
eejeƒfde
fe	dƒed¬dddejfdejfdejfdejfd efd!ejfe	d"ƒe	d#ƒe	d$ƒd%ee
eje
ejjƒd&fd'ejd(fd)ejd*fd+ejfe	d,ƒd-eed.d/ƒfd0eed.d1ƒfd2eed.d3ƒfe	d4ƒe	d5ƒe	d6ƒe	d7ƒgd8ee
ejjƒfd9ee
ejje
ƒfd:efd;ejd<fgd=ee
je
ƒfgd>ee
ejƒfged­dBdCdej fdDej fgdEej!fdFeej!eƒfdGeeej!e
ƒfdHeeej!e
ƒfgdIee
ejƒfdJee
ej"ƒfdKee
ejƒfged®dBdCdej#fed¯dBdddej$fed°dBdddej%fged±dˆd‰dej&fed²dBdCdej$fgdŽejj'fdeejejƒfgdej(fgd‘ej)d<fe	d’ƒgd“ejfgd”efd•efdefgd–ed<fd—ejfe	d˜ƒgd™ed<fdšejfd›ej)dœfe	d˜ƒgd2ed<fe	d˜ƒgdejd<fdžejfdŸejfd ejfgd¡ejd<fdejfdŸejfd¢ejfgd£e*j+fd¤e*j+fd¥e*j,fd¦e*j-fd§e*j.fd¨e*j/fd©e*j0fgdªœZ1d«S)³r#z>
    For Earl-Grey source code.

    .. versionadded: 2.1
    z	Earl Greyz	earl-greyZearlgreyZegz*.egztext/x-earl-greyz\nÚcontrolz[^\S\n]+z
(;;.*)(\n)z
[\[\]{}:(),;]z(\\)(\n)z\\ÚerrorsÚwithÚwherer_ÚandÚnotÚorrXÚasrYÚisz
(?<=\s|\[)z(?![\w$\-]))rnroz[*@]?->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˜z"""r“ÚtupleÚimport_pathsr2Únumbersz-(\.)([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=[.\[\s])z+(\[)([\^#][a-zA-Z$_](?:[\w$\-]*[\w$])?)(\])z\s+ú%z#popz>(?<=[\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$])?)
                (?=[\[{(:])Úeachúeach*ÚmodÚawaitr\Úchainr^Úelifú
expr-valuer`Úmatchr]ÚyieldÚpassrbÚrequireÚvarÚletÚasyncÚmethodÚgenr
rÈrQz(?![\w\-$])r€r‚r|rrr}ÚErrorFactoryÚENodeÚPromiseÚsendÚobjectÚkeysrÅÚ	enumerateÚzipÚproductÚ
neighboursÚ	predicateÚequalÚnequalÚcontainsÚreprÚcloneÚrangeÚ
getCheckerúget-checkerÚgetPropertyúget-propertyÚgetProjectorú
get-projectorÚconsumeÚtakeÚ	promisifyÚspawnÚconstructorz
(?<![\w\-#.])z(?![\w\-.])rprqrvr{z@([a-zA-Z$_](?:[\w$-]*[\w$])?)z)([a-zA-Z$_](?:[\w$-]*[\w$])?)(\+\+|\-\-)?z#[a-zA-Z_][\w\-]*(?=[\s{(,;])z\}r-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})z[^\\\'"]z[\'"\\]r•z
\\\\|\\"|\\\nršr—z
\\\\|\\'|\\\nz\{r™r+z(?<!`)\nz\^=?z.+z```z[^`]+z \d+\.(?!\.)\d*([eE][+-]?[0-9]+)?z\d+[eE][+-]?[0-9]+z8r[0-7]+z2r[01]+z16r[a-fA-F0-9]+z5([3-79]|[12][0-9]|3[0-6])r[a-zA-Z\d]+(\.[a-zA-Z\d]+)?z\d+)r-rrrÿrõrôrrýrþr2rr™rršr–r˜r“rrrN)
rör÷r_rørùrúrXrûrYrü)rr	r
)rrr
rr\rr^rrr`rr]rrrbrrrrrr)r
rÈrQ)	r€r‚r|rrr}rrr)rrr rÅr!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6)rprqrvr{)2r.r/r0r1r2r4r5r6rrrrrrrr¬rrrCrr€rrEròr›ZStartrKr‘rZDBSrórœrHZControlZFieldrÛrFrSrGrrÝrLrrBr?r>r@ZRadixrArMrNrNrNrOr#ßs











c@s"eZdZdZdZdZdgZdgZdddd	gZe	j
e	jBZd
e
fdeeje
ƒfdejfged
ƒdejdfded'fedƒgdedfgdedfed
ƒdejfdejfdejfdejfdedfdedfdefdedfdejdfdejfdejfd ejfe ej!fd!e"j#fd"e"j$fd#ej%fd$ejfgd%œZ&d&S)(r$z<
    For Juttle source code.

    .. versionadded:: 2.2
    ZJuttlezhttp://juttle.github.io/Zjuttlez*.juttlezapplication/juttlezapplication/x-juttlez
text/x-juttleztext/juttlez\s+z(//.*?)(\n)z	/\*.*?\*/r'z7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)ú#popz(?=/)r)z\nz	^(?=\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)|(==?|!=?|[-<>+*%&|^/])=?z[{(\[;,]z[})\].]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)\bz%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?z[0-9]+z"(\\\\|\\[^\\]|[^"\\])*"z'(\\\\|\\[^\\]|[^'\\])*')r'r*r)r-N)r7r))'r.r/r0r1r2r3r4r5r6r7r8r9r:rrrr;r<rrr=rrZMomentrrrrErDrFrrGrIrrrBrArJrMrNrNrNrOr$µsV

c@s(eZdZdZdZdgZdgZdd„ZdS)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
    zNode.js REPL console sessionZ
nodejsreplztext/x-nodejsreplc		cs*tf|jŽ}d}g}xôtj|ƒD]æ}|jƒ}|jdƒr||jt|ƒdtj	|dd…fdt
|dd…fgfƒ||dd…7}q |jdƒrÎ|jdƒ}t|ƒt|ƒ}|jt|ƒdtj	|d|…fgfƒ||7}q |rðt||j
|ƒƒEdHd}g}tg|j
|ƒƒEdHq W|r&t||j
|ƒƒEdHdS)NÚz> rééz...rñ)rrÉr
ÚfinditerÚgroupÚ
startswithrÍÚlenrZPromptrÚlstriprrÎ)	rÈrÒZjslexerZcurcodeZ
insertionsrÚlineÚcodeZleadrNrNrOrÎs4





z'NodeConsoleLexer.get_tokens_unprocessedN)r.r/r0r1r2r4r6rÎrNrNrNrOr%ùs
)1r1r7Zpygments.lexerrrrrrrrr	r
rrr
Zpygments.tokenrrrrrrrrrrrZ
pygments.utilrZpygments.unistringZ	unistringÚuniÚ__all__ÚcombineZJS_IDENT_STARTZ
JS_IDENT_PARTrIrrrrrrr r!r"r#r$r%rNrNrNrOÚ<module>	s>84
h&qh
`rxWD