Hex Artifact Content
Not logged in

Artifact 0f5643e3a9e6565d66f2c03f1ec898dfac613faa:


0000: 50 52 2e 72 65 67 69 73 74 65 72 4c 61 6e 67 48  PR.registerLangH
0010: 61 6e 64 6c 65 72 28 50 52 2e 63 72 65 61 74 65  andler(PR.create
0020: 53 69 6d 70 6c 65 4c 65 78 65 72 28 5b 5b 22 70  SimpleLexer([["p
0030: 6c 6e 22 2c 2f 5e 5b 5c 74 5c 6e 5c 72 20 5c 78  ln",/^[\t\n\r \x
0040: 61 30 5d 2b 2f 2c 6e 75 6c 6c 2c 22 5c 74 5c 6e  a0]+/,null,"\t\n
0050: 5c 72 20 5c 75 30 30 61 30 22 5d 2c 5b 22 73 74  \r \u00a0"],["st
0060: 72 22 2c 2f 5e 22 28 3f 3a 22 22 28 3f 3a 22 22  r",/^"(?:""(?:""
0070: 3f 28 3f 21 22 29 7c 5b 5e 22 5c 5c 5d 7c 5c 5c  ?(?!")|[^"\\]|\\
0080: 2e 29 2a 22 7b 30 2c 33 7d 7c 28 3f 3a 5b 5e 5c  .)*"{0,3}|(?:[^\
0090: 6e 5c 72 22 5c 5c 5d 7c 5c 5c 2e 29 2a 22 3f 29  n\r"\\]|\\.)*"?)
00a0: 2f 2c 6e 75 6c 6c 2c 27 22 27 5d 2c 5b 22 6c 69  /,null,'"'],["li
00b0: 74 22 2c 2f 5e 60 28 3f 3a 5b 5e 5c 6e 5c 72 5c  t",/^`(?:[^\n\r\
00c0: 5c 60 5d 7c 5c 5c 2e 29 2a 60 3f 2f 2c 6e 75 6c  \`]|\\.)*`?/,nul
00d0: 6c 2c 22 60 22 5d 2c 5b 22 70 75 6e 22 2c 2f 5e  l,"`"],["pun",/^
00e0: 5b 21 23 25 26 28 2d 2d 3a 2d 40 5b 2d 5e 7b 2d  [!#%&(--:-@[-^{-
00f0: 7e 5d 2b 2f 2c 6e 75 6c 6c 2c 22 21 23 25 26 28  ~]+/,null,"!#%&(
0100: 29 2a 2b 2c 2d 3a 3b 3c 3d 3e 3f 40 5b 5c 5c 5d  )*+,-:;<=>?@[\\]
0110: 5e 7b 7c 7d 7e 22 5d 5d 2c 5b 5b 22 73 74 72 22  ^{|}~"]],[["str"
0120: 2c 2f 5e 27 28 3f 3a 5b 5e 5c 6e 5c 72 27 5c 5c  ,/^'(?:[^\n\r'\\
0130: 5d 7c 5c 5c 28 3f 3a 27 7c 5b 5e 5c 6e 5c 72 27  ]|\\(?:'|[^\n\r'
0140: 5d 2b 29 29 27 2f 5d 2c 5b 22 6c 69 74 22 2c 2f  ]+))'/],["lit",/
0150: 5e 27 5b 24 41 2d 5a 5f 61 2d 7a 5d 5b 5c 77 24  ^'[$A-Z_a-z][\w$
0160: 5d 2a 28 3f 21 5b 5c 77 24 27 5d 29 2f 5d 2c 5b  ]*(?![\w$'])/],[
0170: 22 6b 77 64 22 2c 2f 5e 28 3f 3a 61 62 73 74 72  "kwd",/^(?:abstr
0180: 61 63 74 7c 63 61 73 65 7c 63 61 74 63 68 7c 63  act|case|catch|c
0190: 6c 61 73 73 7c 64 65 66 7c 64 6f 7c 65 6c 73 65  lass|def|do|else
01a0: 7c 65 78 74 65 6e 64 73 7c 66 69 6e 61 6c 7c 66  |extends|final|f
01b0: 69 6e 61 6c 6c 79 7c 66 6f 72 7c 66 6f 72 53 6f  inally|for|forSo
01c0: 6d 65 7c 69 66 7c 69 6d 70 6c 69 63 69 74 7c 69  me|if|implicit|i
01d0: 6d 70 6f 72 74 7c 6c 61 7a 79 7c 6d 61 74 63 68  mport|lazy|match
01e0: 7c 6e 65 77 7c 6f 62 6a 65 63 74 7c 6f 76 65 72  |new|object|over
01f0: 72 69 64 65 7c 70 61 63 6b 61 67 65 7c 70 72 69  ride|package|pri
0200: 76 61 74 65 7c 70 72 6f 74 65 63 74 65 64 7c 72  vate|protected|r
0210: 65 71 75 69 72 65 73 7c 72 65 74 75 72 6e 7c 73  equires|return|s
0220: 65 61 6c 65 64 7c 73 75 70 65 72 7c 74 68 72 6f  ealed|super|thro
0230: 77 7c 74 72 61 69 74 7c 74 72 79 7c 74 79 70 65  w|trait|try|type
0240: 7c 76 61 6c 7c 76 61 72 7c 77 68 69 6c 65 7c 77  |val|var|while|w
0250: 69 74 68 7c 79 69 65 6c 64 29 5c 62 2f 5d 2c 0a  ith|yield)\b/],.
0260: 5b 22 6c 69 74 22 2c 2f 5e 28 3f 3a 74 72 75 65  ["lit",/^(?:true
0270: 7c 66 61 6c 73 65 7c 6e 75 6c 6c 7c 74 68 69 73  |false|null|this
0280: 29 5c 62 2f 5d 2c 5b 22 6c 69 74 22 2c 2f 5e 28  )\b/],["lit",/^(
0290: 3f 3a 30 28 3f 3a 5b 30 2d 37 5d 2b 7c 78 5b 5c  ?:0(?:[0-7]+|x[\
02a0: 64 61 2d 66 5d 2b 29 6c 3f 7c 28 3f 3a 30 7c 5b  da-f]+)l?|(?:0|[
02b0: 31 2d 39 5d 5c 64 2a 29 28 3f 3a 28 3f 3a 5c 2e  1-9]\d*)(?:(?:\.
02c0: 5c 64 2b 29 3f 28 3f 3a 65 5b 2b 2d 5d 3f 5c 64  \d+)?(?:e[+-]?\d
02d0: 2b 29 3f 66 3f 7c 6c 3f 29 7c 5c 5c 2e 5c 64 2b  +)?f?|l?)|\\.\d+
02e0: 28 3f 3a 65 5b 2b 2d 5d 3f 5c 64 2b 29 3f 66 3f  (?:e[+-]?\d+)?f?
02f0: 29 2f 69 5d 2c 5b 22 74 79 70 22 2c 2f 5e 5b 24  )/i],["typ",/^[$
0300: 5f 5d 2a 5b 41 2d 5a 5d 5b 5c 64 24 41 2d 5a 5f  _]*[A-Z][\d$A-Z_
0310: 5d 2a 5b 61 2d 7a 5d 5b 5c 77 24 5d 2a 2f 5d 2c  ]*[a-z][\w$]*/],
0320: 5b 22 70 6c 6e 22 2c 2f 5e 5b 24 41 2d 5a 5f 61  ["pln",/^[$A-Z_a
0330: 2d 7a 5d 5b 5c 77 24 5d 2a 2f 5d 2c 5b 22 63 6f  -z][\w$]*/],["co
0340: 6d 22 2c 2f 5e 5c 2f 28 3f 3a 5c 2f 2e 2a 7c 5c  m",/^\/(?:\/.*|\
0350: 2a 28 3f 3a 5c 2f 7c 5c 2a 2a 5b 5e 2a 2f 5d 29  *(?:\/|\**[^*/])
0360: 2a 28 3f 3a 5c 2a 2b 5c 2f 3f 29 3f 29 2f 5d 2c  *(?:\*+\/?)?)/],
0370: 5b 22 70 75 6e 22 2c 2f 5e 28 3f 3a 5c 2e 2b 7c  ["pun",/^(?:\.+|
0380: 5c 2f 29 2f 5d 5d 29 2c 5b 22 73 63 61 6c 61 22  \/)/]]),["scala"
0390: 5d 29 3b 0a                                      ]);.