pygments.rb 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/Rakefile +1 -0
  4. data/lib/pygments/version.rb +1 -1
  5. data/pygments.rb.gemspec +1 -2
  6. data/vendor/pygments-main/AUTHORS +2 -0
  7. data/vendor/pygments-main/CHANGES +27 -4
  8. data/vendor/pygments-main/LICENSE +1 -1
  9. data/vendor/pygments-main/MANIFEST.in +1 -1
  10. data/vendor/pygments-main/Makefile +1 -1
  11. data/vendor/pygments-main/REVISION +1 -1
  12. data/vendor/pygments-main/doc/_themes/pygments14/layout.html +1 -1
  13. data/vendor/pygments-main/doc/_themes/pygments14/static/pygments14.css_t +1 -1
  14. data/vendor/pygments-main/doc/docs/api.rst +23 -0
  15. data/vendor/pygments-main/doc/docs/cmdline.rst +17 -0
  16. data/vendor/pygments-main/doc/docs/lexerdevelopment.rst +42 -3
  17. data/vendor/pygments-main/external/autopygmentize +28 -11
  18. data/vendor/pygments-main/external/markdown-processor.py +1 -1
  19. data/vendor/pygments-main/external/moin-parser.py +1 -1
  20. data/vendor/pygments-main/external/rst-directive.py +1 -1
  21. data/vendor/pygments-main/pygments/__init__.py +2 -2
  22. data/vendor/pygments-main/pygments/cmdline.py +61 -17
  23. data/vendor/pygments-main/pygments/console.py +1 -1
  24. data/vendor/pygments-main/pygments/filter.py +1 -1
  25. data/vendor/pygments-main/pygments/filters/__init__.py +1 -1
  26. data/vendor/pygments-main/pygments/formatter.py +1 -1
  27. data/vendor/pygments-main/pygments/formatters/__init__.py +37 -2
  28. data/vendor/pygments-main/pygments/formatters/_mapping.py +1 -1
  29. data/vendor/pygments-main/pygments/formatters/bbcode.py +1 -1
  30. data/vendor/pygments-main/pygments/formatters/html.py +1 -1
  31. data/vendor/pygments-main/pygments/formatters/img.py +38 -1
  32. data/vendor/pygments-main/pygments/formatters/irc.py +1 -1
  33. data/vendor/pygments-main/pygments/formatters/latex.py +1 -1
  34. data/vendor/pygments-main/pygments/formatters/other.py +1 -1
  35. data/vendor/pygments-main/pygments/formatters/rtf.py +1 -1
  36. data/vendor/pygments-main/pygments/formatters/svg.py +1 -1
  37. data/vendor/pygments-main/pygments/formatters/terminal.py +1 -1
  38. data/vendor/pygments-main/pygments/formatters/terminal256.py +1 -1
  39. data/vendor/pygments-main/pygments/lexer.py +1 -1
  40. data/vendor/pygments-main/pygments/lexers/__init__.py +39 -5
  41. data/vendor/pygments-main/pygments/lexers/_asy_builtins.py +1 -1
  42. data/vendor/pygments-main/pygments/lexers/_cl_builtins.py +1 -1
  43. data/vendor/pygments-main/pygments/lexers/_cocoa_builtins.py +1 -1
  44. data/vendor/pygments-main/pygments/lexers/_csound_builtins.py +1 -1
  45. data/vendor/pygments-main/pygments/lexers/_lasso_builtins.py +8 -1
  46. data/vendor/pygments-main/pygments/lexers/_lua_builtins.py +1 -1
  47. data/vendor/pygments-main/pygments/lexers/_mapping.py +6 -5
  48. data/vendor/pygments-main/pygments/lexers/_mql_builtins.py +1 -1
  49. data/vendor/pygments-main/pygments/lexers/_openedge_builtins.py +1 -1
  50. data/vendor/pygments-main/pygments/lexers/_php_builtins.py +1 -1
  51. data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +1 -1
  52. data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +1 -1
  53. data/vendor/pygments-main/pygments/lexers/_sourcemod_builtins.py +1 -1
  54. data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +1 -1
  55. data/vendor/pygments-main/pygments/lexers/_stata_builtins.py +1 -1
  56. data/vendor/pygments-main/pygments/lexers/_tsql_builtins.py +1 -1
  57. data/vendor/pygments-main/pygments/lexers/_vim_builtins.py +1 -1
  58. data/vendor/pygments-main/pygments/lexers/actionscript.py +1 -1
  59. data/vendor/pygments-main/pygments/lexers/agile.py +1 -1
  60. data/vendor/pygments-main/pygments/lexers/algebra.py +1 -1
  61. data/vendor/pygments-main/pygments/lexers/ambient.py +1 -1
  62. data/vendor/pygments-main/pygments/lexers/ampl.py +1 -1
  63. data/vendor/pygments-main/pygments/lexers/apl.py +1 -1
  64. data/vendor/pygments-main/pygments/lexers/archetype.py +1 -1
  65. data/vendor/pygments-main/pygments/lexers/asm.py +21 -10
  66. data/vendor/pygments-main/pygments/lexers/automation.py +3 -3
  67. data/vendor/pygments-main/pygments/lexers/basic.py +1 -1
  68. data/vendor/pygments-main/pygments/lexers/bibtex.py +9 -5
  69. data/vendor/pygments-main/pygments/lexers/business.py +53 -35
  70. data/vendor/pygments-main/pygments/lexers/c_cpp.py +1 -1
  71. data/vendor/pygments-main/pygments/lexers/c_like.py +2 -2
  72. data/vendor/pygments-main/pygments/lexers/capnproto.py +14 -15
  73. data/vendor/pygments-main/pygments/lexers/chapel.py +4 -3
  74. data/vendor/pygments-main/pygments/lexers/clean.py +11 -11
  75. data/vendor/pygments-main/pygments/lexers/compiled.py +1 -1
  76. data/vendor/pygments-main/pygments/lexers/configs.py +3 -3
  77. data/vendor/pygments-main/pygments/lexers/console.py +1 -1
  78. data/vendor/pygments-main/pygments/lexers/crystal.py +29 -20
  79. data/vendor/pygments-main/pygments/lexers/csound.py +1 -1
  80. data/vendor/pygments-main/pygments/lexers/css.py +1 -1
  81. data/vendor/pygments-main/pygments/lexers/d.py +1 -1
  82. data/vendor/pygments-main/pygments/lexers/dalvik.py +1 -1
  83. data/vendor/pygments-main/pygments/lexers/data.py +1 -1
  84. data/vendor/pygments-main/pygments/lexers/diff.py +1 -1
  85. data/vendor/pygments-main/pygments/lexers/dotnet.py +1 -1
  86. data/vendor/pygments-main/pygments/lexers/dsls.py +4 -4
  87. data/vendor/pygments-main/pygments/lexers/dylan.py +1 -1
  88. data/vendor/pygments-main/pygments/lexers/ecl.py +1 -1
  89. data/vendor/pygments-main/pygments/lexers/eiffel.py +1 -1
  90. data/vendor/pygments-main/pygments/lexers/elm.py +1 -1
  91. data/vendor/pygments-main/pygments/lexers/erlang.py +1 -1
  92. data/vendor/pygments-main/pygments/lexers/esoteric.py +9 -7
  93. data/vendor/pygments-main/pygments/lexers/ezhil.py +4 -3
  94. data/vendor/pygments-main/pygments/lexers/factor.py +1 -1
  95. data/vendor/pygments-main/pygments/lexers/fantom.py +1 -1
  96. data/vendor/pygments-main/pygments/lexers/felix.py +1 -1
  97. data/vendor/pygments-main/pygments/lexers/forth.py +1 -1
  98. data/vendor/pygments-main/pygments/lexers/fortran.py +1 -1
  99. data/vendor/pygments-main/pygments/lexers/foxpro.py +1 -1
  100. data/vendor/pygments-main/pygments/lexers/functional.py +1 -1
  101. data/vendor/pygments-main/pygments/lexers/go.py +1 -1
  102. data/vendor/pygments-main/pygments/lexers/grammar_notation.py +2 -2
  103. data/vendor/pygments-main/pygments/lexers/graph.py +1 -1
  104. data/vendor/pygments-main/pygments/lexers/graphics.py +1 -1
  105. data/vendor/pygments-main/pygments/lexers/haskell.py +5 -2
  106. data/vendor/pygments-main/pygments/lexers/haxe.py +1 -1
  107. data/vendor/pygments-main/pygments/lexers/hdl.py +1 -1
  108. data/vendor/pygments-main/pygments/lexers/hexdump.py +18 -12
  109. data/vendor/pygments-main/pygments/lexers/html.py +1 -1
  110. data/vendor/pygments-main/pygments/lexers/idl.py +2 -2
  111. data/vendor/pygments-main/pygments/lexers/igor.py +1 -1
  112. data/vendor/pygments-main/pygments/lexers/inferno.py +1 -1
  113. data/vendor/pygments-main/pygments/lexers/installers.py +1 -1
  114. data/vendor/pygments-main/pygments/lexers/int_fiction.py +1 -1
  115. data/vendor/pygments-main/pygments/lexers/iolang.py +1 -1
  116. data/vendor/pygments-main/pygments/lexers/j.py +1 -1
  117. data/vendor/pygments-main/pygments/lexers/javascript.py +56 -37
  118. data/vendor/pygments-main/pygments/lexers/julia.py +3 -3
  119. data/vendor/pygments-main/pygments/lexers/jvm.py +1 -1
  120. data/vendor/pygments-main/pygments/lexers/lisp.py +1 -1
  121. data/vendor/pygments-main/pygments/lexers/make.py +1 -1
  122. data/vendor/pygments-main/pygments/lexers/markup.py +1 -1
  123. data/vendor/pygments-main/pygments/lexers/math.py +1 -1
  124. data/vendor/pygments-main/pygments/lexers/matlab.py +1 -1
  125. data/vendor/pygments-main/pygments/lexers/ml.py +1 -1
  126. data/vendor/pygments-main/pygments/lexers/modeling.py +1 -1
  127. data/vendor/pygments-main/pygments/lexers/modula2.py +1 -1
  128. data/vendor/pygments-main/pygments/lexers/monte.py +4 -3
  129. data/vendor/pygments-main/pygments/lexers/ncl.py +85 -244
  130. data/vendor/pygments-main/pygments/lexers/nimrod.py +1 -1
  131. data/vendor/pygments-main/pygments/lexers/nit.py +1 -1
  132. data/vendor/pygments-main/pygments/lexers/nix.py +1 -1
  133. data/vendor/pygments-main/pygments/lexers/oberon.py +1 -1
  134. data/vendor/pygments-main/pygments/lexers/objective.py +1 -1
  135. data/vendor/pygments-main/pygments/lexers/ooc.py +1 -1
  136. data/vendor/pygments-main/pygments/lexers/other.py +1 -1
  137. data/vendor/pygments-main/pygments/lexers/parasail.py +1 -1
  138. data/vendor/pygments-main/pygments/lexers/parsers.py +1 -1
  139. data/vendor/pygments-main/pygments/lexers/pascal.py +2 -2
  140. data/vendor/pygments-main/pygments/lexers/pawn.py +1 -1
  141. data/vendor/pygments-main/pygments/lexers/perl.py +17 -13
  142. data/vendor/pygments-main/pygments/lexers/php.py +1 -1
  143. data/vendor/pygments-main/pygments/lexers/praat.py +1 -1
  144. data/vendor/pygments-main/pygments/lexers/prolog.py +1 -1
  145. data/vendor/pygments-main/pygments/lexers/python.py +2 -1
  146. data/vendor/pygments-main/pygments/lexers/qvt.py +1 -1
  147. data/vendor/pygments-main/pygments/lexers/r.py +1 -1
  148. data/vendor/pygments-main/pygments/lexers/rdf.py +1 -1
  149. data/vendor/pygments-main/pygments/lexers/rebol.py +1 -1
  150. data/vendor/pygments-main/pygments/lexers/resource.py +1 -1
  151. data/vendor/pygments-main/pygments/lexers/rnc.py +1 -1
  152. data/vendor/pygments-main/pygments/lexers/roboconf.py +1 -1
  153. data/vendor/pygments-main/pygments/lexers/robotframework.py +1 -1
  154. data/vendor/pygments-main/pygments/lexers/ruby.py +1 -1
  155. data/vendor/pygments-main/pygments/lexers/rust.py +41 -30
  156. data/vendor/pygments-main/pygments/lexers/sas.py +7 -7
  157. data/vendor/pygments-main/pygments/lexers/scripting.py +1 -1
  158. data/vendor/pygments-main/pygments/lexers/shell.py +14 -10
  159. data/vendor/pygments-main/pygments/lexers/smalltalk.py +1 -1
  160. data/vendor/pygments-main/pygments/lexers/smv.py +28 -24
  161. data/vendor/pygments-main/pygments/lexers/snobol.py +1 -1
  162. data/vendor/pygments-main/pygments/lexers/special.py +1 -1
  163. data/vendor/pygments-main/pygments/lexers/sql.py +1 -1
  164. data/vendor/pygments-main/pygments/lexers/stata.py +9 -7
  165. data/vendor/pygments-main/pygments/lexers/supercollider.py +1 -1
  166. data/vendor/pygments-main/pygments/lexers/tcl.py +1 -1
  167. data/vendor/pygments-main/pygments/lexers/templates.py +48 -17
  168. data/vendor/pygments-main/pygments/lexers/testing.py +1 -1
  169. data/vendor/pygments-main/pygments/lexers/text.py +1 -1
  170. data/vendor/pygments-main/pygments/lexers/textedit.py +1 -1
  171. data/vendor/pygments-main/pygments/lexers/textfmts.py +1 -1
  172. data/vendor/pygments-main/pygments/lexers/theorem.py +1 -1
  173. data/vendor/pygments-main/pygments/lexers/trafficscript.py +1 -1
  174. data/vendor/pygments-main/pygments/lexers/typoscript.py +8 -7
  175. data/vendor/pygments-main/pygments/lexers/urbi.py +1 -1
  176. data/vendor/pygments-main/pygments/lexers/varnish.py +3 -3
  177. data/vendor/pygments-main/pygments/lexers/verification.py +3 -3
  178. data/vendor/pygments-main/pygments/lexers/web.py +1 -1
  179. data/vendor/pygments-main/pygments/lexers/webmisc.py +20 -11
  180. data/vendor/pygments-main/pygments/lexers/whiley.py +7 -8
  181. data/vendor/pygments-main/pygments/lexers/x10.py +1 -1
  182. data/vendor/pygments-main/pygments/lexers/xorg.py +36 -0
  183. data/vendor/pygments-main/pygments/modeline.py +6 -5
  184. data/vendor/pygments-main/pygments/plugin.py +12 -18
  185. data/vendor/pygments-main/pygments/regexopt.py +1 -1
  186. data/vendor/pygments-main/pygments/scanner.py +1 -1
  187. data/vendor/pygments-main/pygments/sphinxext.py +1 -1
  188. data/vendor/pygments-main/pygments/style.py +1 -1
  189. data/vendor/pygments-main/pygments/styles/__init__.py +4 -2
  190. data/vendor/pygments-main/pygments/styles/abap.py +29 -0
  191. data/vendor/pygments-main/pygments/styles/algol.py +1 -1
  192. data/vendor/pygments-main/pygments/styles/algol_nu.py +1 -1
  193. data/vendor/pygments-main/pygments/styles/arduino.py +1 -1
  194. data/vendor/pygments-main/pygments/styles/autumn.py +1 -1
  195. data/vendor/pygments-main/pygments/styles/borland.py +1 -1
  196. data/vendor/pygments-main/pygments/styles/bw.py +1 -1
  197. data/vendor/pygments-main/pygments/styles/colorful.py +1 -1
  198. data/vendor/pygments-main/pygments/styles/default.py +1 -1
  199. data/vendor/pygments-main/pygments/styles/emacs.py +1 -1
  200. data/vendor/pygments-main/pygments/styles/friendly.py +1 -1
  201. data/vendor/pygments-main/pygments/styles/fruity.py +1 -1
  202. data/vendor/pygments-main/pygments/styles/igor.py +1 -1
  203. data/vendor/pygments-main/pygments/styles/lovelace.py +1 -1
  204. data/vendor/pygments-main/pygments/styles/manni.py +1 -1
  205. data/vendor/pygments-main/pygments/styles/monokai.py +1 -1
  206. data/vendor/pygments-main/pygments/styles/murphy.py +1 -1
  207. data/vendor/pygments-main/pygments/styles/native.py +1 -1
  208. data/vendor/pygments-main/pygments/styles/paraiso_dark.py +1 -1
  209. data/vendor/pygments-main/pygments/styles/paraiso_light.py +1 -1
  210. data/vendor/pygments-main/pygments/styles/pastie.py +1 -1
  211. data/vendor/pygments-main/pygments/styles/perldoc.py +1 -1
  212. data/vendor/pygments-main/pygments/styles/rainbow_dash.py +89 -0
  213. data/vendor/pygments-main/pygments/styles/rrt.py +1 -1
  214. data/vendor/pygments-main/pygments/styles/sas.py +3 -0
  215. data/vendor/pygments-main/pygments/styles/stata.py +3 -0
  216. data/vendor/pygments-main/pygments/styles/tango.py +1 -1
  217. data/vendor/pygments-main/pygments/styles/trac.py +1 -1
  218. data/vendor/pygments-main/pygments/styles/vim.py +1 -1
  219. data/vendor/pygments-main/pygments/styles/vs.py +1 -1
  220. data/vendor/pygments-main/pygments/styles/xcode.py +1 -1
  221. data/vendor/pygments-main/pygments/token.py +1 -1
  222. data/vendor/pygments-main/pygments/unistring.py +1 -1
  223. data/vendor/pygments-main/pygments/util.py +5 -4
  224. data/vendor/pygments-main/scripts/check_sources.py +2 -2
  225. data/vendor/pygments-main/scripts/debug_lexer.py +1 -1
  226. data/vendor/pygments-main/scripts/get_vimkw.py +1 -1
  227. data/vendor/pygments-main/setup.cfg +2 -2
  228. data/vendor/pygments-main/setup.py +3 -3
  229. metadata +6 -4
  230. data/vendor/pygments-main/scripts/find_error.py +0 -1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for Inferno os and all the related stuff.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for installer/packager DSLs and formats.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for interactive fiction languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for the Io language.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexer for the J programming language.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for JavaScript and related languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -53,7 +53,7 @@ class JavascriptLexer(RegexLexer):
53
53
  'slashstartsregex': [
54
54
  include('commentsandwhitespace'),
55
55
  (r'/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/'
56
- r'([gim]+\b|\B)', String.Regex, '#pop'),
56
+ r'([gimuy]+\b|\B)', String.Regex, '#pop'),
57
57
  (r'(?=/)', Text, ('#pop', 'badregex')),
58
58
  default('#pop')
59
59
  ],
@@ -64,9 +64,14 @@ class JavascriptLexer(RegexLexer):
64
64
  (r'\A#! ?/.*?\n', Comment.Hashbang), # recognized by node.js
65
65
  (r'^(?=\s|/|<!--)', Text, 'slashstartsregex'),
66
66
  include('commentsandwhitespace'),
67
+ (r'(\.\d+|[0-9]+\.[0-9]*)([eE][-+]?[0-9]+)?', Number.Float),
68
+ (r'0[bB][01]+', Number.Bin),
69
+ (r'0[oO][0-7]+', Number.Oct),
70
+ (r'0[xX][0-9a-fA-F]+', Number.Hex),
71
+ (r'[0-9]+', Number.Integer),
72
+ (r'\.\.\.|=>', Punctuation),
67
73
  (r'\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|'
68
- r'(<<|>>>?|=>|==?|!=?|[-<>+*%&|^/])=?', Operator, 'slashstartsregex'),
69
- (r'\.\.\.', Punctuation),
74
+ r'(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?', Operator, 'slashstartsregex'),
70
75
  (r'[{(\[;,]', Punctuation, 'slashstartsregex'),
71
76
  (r'[})\].]', Punctuation),
72
77
  (r'(for|in|while|do|break|return|continue|switch|case|default|if|else|'
@@ -84,11 +89,6 @@ class JavascriptLexer(RegexLexer):
84
89
  r'Error|eval|isFinite|isNaN|isSafeInteger|parseFloat|parseInt|'
85
90
  r'document|this|window)\b', Name.Builtin),
86
91
  (JS_IDENT, Name.Other),
87
- (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
88
- (r'0b[01]+', Number.Bin),
89
- (r'0o[0-7]+', Number.Oct),
90
- (r'0x[0-9a-fA-F]+', Number.Hex),
91
- (r'[0-9]+', Number.Integer),
92
92
  (r'"(\\\\|\\"|[^"])*"', String.Double),
93
93
  (r"'(\\\\|\\'|[^'])*'", String.Single),
94
94
  (r'`', String.Backtick, 'interp'),
@@ -366,9 +366,10 @@ class DartLexer(RegexLexer):
366
366
  (r'\b(assert|break|case|catch|continue|default|do|else|finally|for|'
367
367
  r'if|in|is|new|return|super|switch|this|throw|try|while)\b',
368
368
  Keyword),
369
- (r'\b(abstract|const|extends|factory|final|get|implements|'
370
- r'native|operator|set|static|typedef|var)\b', Keyword.Declaration),
371
- (r'\b(bool|double|Dynamic|int|num|Object|String|void)\b', Keyword.Type),
369
+ (r'\b(abstract|async|await|const|extends|factory|final|get|'
370
+ r'implements|native|operator|set|static|sync|typedef|var|with|'
371
+ r'yield)\b', Keyword.Declaration),
372
+ (r'\b(bool|double|dynamic|int|num|Object|String|void)\b', Keyword.Type),
372
373
  (r'\b(false|null|true)\b', Keyword.Constant),
373
374
  (r'[~!%^&*+=|?:<>/-]|as\b', Operator),
374
375
  (r'[a-zA-Z_$]\w*:', Name.Label),
@@ -447,7 +448,7 @@ class TypeScriptLexer(RegexLexer):
447
448
 
448
449
  name = 'TypeScript'
449
450
  aliases = ['ts', 'typescript']
450
- filenames = ['*.ts']
451
+ filenames = ['*.ts', '*.tsx']
451
452
  mimetypes = ['text/x-typescript']
452
453
 
453
454
  flags = re.DOTALL | re.MULTILINE
@@ -511,11 +512,34 @@ class TypeScriptLexer(RegexLexer):
511
512
  (r'[0-9]+', Number.Integer),
512
513
  (r'"(\\\\|\\"|[^"])*"', String.Double),
513
514
  (r"'(\\\\|\\'|[^'])*'", String.Single),
515
+ (r'`', String.Backtick, 'interp'),
514
516
  # Match stuff like: Decorators
515
517
  (r'@\w+', Keyword.Declaration),
516
- ]
518
+ ],
519
+
520
+ # The 'interp*' rules match those in JavascriptLexer. Changes made
521
+ # there should be reflected here as well.
522
+ 'interp': [
523
+ (r'`', String.Backtick, '#pop'),
524
+ (r'\\\\', String.Backtick),
525
+ (r'\\`', String.Backtick),
526
+ (r'\$\{', String.Interpol, 'interp-inside'),
527
+ (r'\$', String.Backtick),
528
+ (r'[^`\\$]+', String.Backtick),
529
+ ],
530
+ 'interp-inside': [
531
+ # TODO: should this include single-line comments and allow nesting strings?
532
+ (r'\}', String.Interpol, '#pop'),
533
+ include('root'),
534
+ ],
517
535
  }
518
536
 
537
+ def analyse_text(text):
538
+ if re.search('^(import.+(from\s+)?["\']|'
539
+ '(export\s*)?(interface|class|function)\s+)',
540
+ text, re.MULTILINE):
541
+ return 1.0
542
+
519
543
 
520
544
  class LassoLexer(RegexLexer):
521
545
  """
@@ -545,12 +569,7 @@ class LassoLexer(RegexLexer):
545
569
  tokens = {
546
570
  'root': [
547
571
  (r'^#![ \S]+lasso9\b', Comment.Preproc, 'lasso'),
548
- (r'\[no_square_brackets\]', Comment.Preproc, 'nosquarebrackets'),
549
- (r'\[noprocess\]', Comment.Preproc, ('delimiters', 'noprocess')),
550
- (r'\[', Comment.Preproc, ('delimiters', 'squarebrackets')),
551
- (r'<\?(LassoScript|lasso|=)', Comment.Preproc,
552
- ('delimiters', 'anglebrackets')),
553
- (r'<(!--.*?-->)?', Other, 'delimiters'),
572
+ (r'(?=\[|<)', Other, 'delimiters'),
554
573
  (r'\s+', Other),
555
574
  default(('delimiters', 'lassofile')),
556
575
  ],
@@ -558,14 +577,14 @@ class LassoLexer(RegexLexer):
558
577
  (r'\[no_square_brackets\]', Comment.Preproc, 'nosquarebrackets'),
559
578
  (r'\[noprocess\]', Comment.Preproc, 'noprocess'),
560
579
  (r'\[', Comment.Preproc, 'squarebrackets'),
561
- (r'<\?(LassoScript|lasso|=)', Comment.Preproc, 'anglebrackets'),
580
+ (r'<\?(lasso(script)?|=)', Comment.Preproc, 'anglebrackets'),
562
581
  (r'<(!--.*?-->)?', Other),
563
582
  (r'[^[<]+', Other),
564
583
  ],
565
584
  'nosquarebrackets': [
566
585
  (r'\[noprocess\]', Comment.Preproc, 'noprocess'),
567
586
  (r'\[', Other),
568
- (r'<\?(LassoScript|lasso|=)', Comment.Preproc, 'anglebrackets'),
587
+ (r'<\?(lasso(script)?|=)', Comment.Preproc, 'anglebrackets'),
569
588
  (r'<(!--.*?-->)?', Other),
570
589
  (r'[^[<]+', Other),
571
590
  ],
@@ -607,7 +626,7 @@ class LassoLexer(RegexLexer):
607
626
 
608
627
  # names
609
628
  (r'\$[a-z_][\w.]*', Name.Variable),
610
- (r'#([a-z_][\w.]*|\d+)', Name.Variable.Instance),
629
+ (r'#([a-z_][\w.]*|\d+\b)', Name.Variable.Instance),
611
630
  (r"(\.\s*)('[a-z_][\w.]*')",
612
631
  bygroups(Name.Builtin.Pseudo, Name.Variable.Class)),
613
632
  (r"(self)(\s*->\s*)('[a-z_][\w.]*')",
@@ -658,20 +677,20 @@ class LassoLexer(RegexLexer):
658
677
  r'Database_TableNames|Define_Tag|Define_Type|Email_Batch|'
659
678
  r'Encode_Set|HTML_Comment|Handle|Handle_Error|Header|If|Inline|'
660
679
  r'Iterate|LJAX_Target|Link|Link_CurrentAction|Link_CurrentGroup|'
661
- r'Link_CurrentRecord|Link_Detail|Link_FirstGroup|'
662
- r'Link_FirstRecord|Link_LastGroup|Link_LastRecord|Link_NextGroup|'
663
- r'Link_NextRecord|Link_PrevGroup|Link_PrevRecord|Log|Loop|'
664
- r'NoProcess|Output_None|Portal|Private|Protect|Records|Referer|'
665
- r'Referrer|Repeating|ResultSet|Rows|Search_Args|Search_Arguments|'
666
- r'Select|Sort_Args|Sort_Arguments|Thread_Atomic|Value_List|While|'
667
- r'Abort|Case|Else|If_Empty|If_False|If_Null|If_True|Loop_Abort|'
668
- r'Loop_Continue|Loop_Count|Params|Params_Up|Return|Return_Value|'
669
- r'Run_Children|SOAP_DefineTag|SOAP_LastRequest|SOAP_LastResponse|'
670
- r'Tag_Name|ascending|average|by|define|descending|do|equals|'
671
- r'frozen|group|handle_failure|import|in|into|join|let|match|max|'
672
- r'min|on|order|parent|protected|provide|public|require|returnhome|'
673
- r'skip|split_thread|sum|take|thread|to|trait|type|where|with|'
674
- r'yield|yieldhome)\b',
680
+ r'Link_CurrentRecord|Link_Detail|Link_FirstGroup|Link_FirstRecord|'
681
+ r'Link_LastGroup|Link_LastRecord|Link_NextGroup|Link_NextRecord|'
682
+ r'Link_PrevGroup|Link_PrevRecord|Log|Loop|Output_None|Portal|'
683
+ r'Private|Protect|Records|Referer|Referrer|Repeating|ResultSet|'
684
+ r'Rows|Search_Args|Search_Arguments|Select|Sort_Args|'
685
+ r'Sort_Arguments|Thread_Atomic|Value_List|While|Abort|Case|Else|'
686
+ r'Fail_If|Fail_IfNot|Fail|If_Empty|If_False|If_Null|If_True|'
687
+ r'Loop_Abort|Loop_Continue|Loop_Count|Params|Params_Up|Return|'
688
+ r'Return_Value|Run_Children|SOAP_DefineTag|SOAP_LastRequest|'
689
+ r'SOAP_LastResponse|Tag_Name|ascending|average|by|define|'
690
+ r'descending|do|equals|frozen|group|handle_failure|import|in|into|'
691
+ r'join|let|match|max|min|on|order|parent|protected|provide|public|'
692
+ r'require|returnhome|skip|split_thread|sum|take|thread|to|trait|'
693
+ r'type|where|with|yield|yieldhome)\b',
675
694
  bygroups(Punctuation, Keyword)),
676
695
 
677
696
  # other
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for the Julia language.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -231,7 +231,7 @@ class JuliaLexer(RegexLexer):
231
231
  'string': [
232
232
  (r'"', String, '#pop'),
233
233
  # FIXME: This escape pattern is not perfect.
234
- (r'\\([\\"\'\$nrbtfav]|(x|u|U)[a-fA-F0-9]+|\d+)', String.Escape),
234
+ (r'\\([\\"\'$nrbtfav]|(x|u|U)[a-fA-F0-9]+|\d+)', String.Escape),
235
235
  # Interpolation is defined as "$" followed by the shortest full
236
236
  # expression, which is something we can't parse.
237
237
  # Include the most common cases here: $word, and $(paren'd expr).
@@ -246,7 +246,7 @@ class JuliaLexer(RegexLexer):
246
246
 
247
247
  'tqstring': [
248
248
  (r'"""', String, '#pop'),
249
- (r'\\([\\"\'\$nrbtfav]|(x|u|U)[a-fA-F0-9]+|\d+)', String.Escape),
249
+ (r'\\([\\"\'$nrbtfav]|(x|u|U)[a-fA-F0-9]+|\d+)', String.Escape),
250
250
  (r'\$' + allowed_variable, String.Interpol),
251
251
  (r'(\$)(\()', bygroups(String.Interpol, Punctuation), 'in-intp'),
252
252
  (r'.|\s', String),
@@ -5,7 +5,7 @@
5
5
 
6
6
  Pygments lexers for JVM languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for Lispy languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for Makefiles and similar.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for non-HTML markup languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Just export lexers that were contained in this module.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for Matlab and related languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for ML family languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for modeling languages.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Multi-Dialect Lexer for Modula-2.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexer for the Monte programming language.
7
7
 
8
- :copyright: Copyright 2016 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -43,8 +43,8 @@ _operators = [
43
43
  _escape_pattern = (
44
44
  r'(?:\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|'
45
45
  r'\\["\'\\bftnr])')
46
- #_char = _escape_chars + [('.', String.Char)]
47
- _identifier = '[_a-zA-Z][_0-9a-zA-Z]*'
46
+ # _char = _escape_chars + [('.', String.Char)]
47
+ _identifier = r'[_a-zA-Z]\w*'
48
48
 
49
49
  _constants = [
50
50
  # Void constants
@@ -75,6 +75,7 @@ _safeScope = [
75
75
  'makeBrandPair', 'makeLazySlot', 'safeScope', 'simple__quasiParser',
76
76
  ]
77
77
 
78
+
78
79
  class MonteLexer(RegexLexer):
79
80
  """
80
81
  Lexer for the `Monte <https://monte.readthedocs.io/>`_ programming language.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Lexers for NCAR Command Language.
7
7
 
8
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
9
  :license: BSD, see LICENSE for details.
10
10
  """
11
11
 
@@ -35,7 +35,7 @@ class NCLLexer(RegexLexer):
35
35
  (r';.*\n', Comment),
36
36
  include('strings'),
37
37
  include('core'),
38
- (r'[a-z][\w$]*', Name),
38
+ (r'[a-zA-Z_]\w*', Name),
39
39
  include('nums'),
40
40
  (r'[\s]+', Text),
41
41
  ],
@@ -43,7 +43,7 @@ class NCLLexer(RegexLexer):
43
43
  # Statements
44
44
  (words((
45
45
  'begin', 'break', 'continue', 'create', 'defaultapp', 'do',
46
- 'else', 'end', 'external', 'exit', 'False', 'file', 'function',
46
+ 'else', 'end', 'external', 'exit', 'True', 'False', 'file', 'function',
47
47
  'getvalues', 'graphic', 'group', 'if', 'list', 'load', 'local',
48
48
  'new', '_Missing', 'Missing', 'noparent', 'procedure',
49
49
  'quit', 'QUIT', 'Quit', 'record', 'return', 'setvalues', 'stop',
@@ -59,10 +59,10 @@ class NCLLexer(RegexLexer):
59
59
  Keyword.Type),
60
60
 
61
61
  # Operators
62
- (r'[\^*+\-/<>]', Operator),
62
+ (r'[\%^*+\-/<>]', Operator),
63
63
 
64
64
  # punctuation:
65
- (r'[\[\]():@$.,]', Punctuation),
65
+ (r'[\[\]():@$!&|.,\\{}]', Punctuation),
66
66
  (r'[=:]', Punctuation),
67
67
 
68
68
  # Intrinsics
@@ -589,149 +589,60 @@ class NCLLexer(RegexLexer):
589
589
  'lgTitleFontQuality', 'lgTitleFontThicknessF', 'lgTitleFuncCode',
590
590
  'lgTitleJust', 'lgTitleOffsetF', 'lgTitleOn', 'lgTitlePosition',
591
591
  'lgTitleString', 'lgTopMarginF', 'mpAreaGroupCount',
592
- 'mpAreaGroupCount_MapPlot', 'mpAreaMaskingOn',
593
- 'mpAreaMaskingOn_MapPlot', 'mpAreaNames', 'mpAreaNames_MapPlot',
594
- 'mpAreaTypes', 'mpAreaTypes_MapPlot', 'mpBottomAngleF',
595
- 'mpBottomAngleF_MapTransformation', 'mpBottomMapPosF',
596
- 'mpBottomMapPosF_MapTransformation', 'mpBottomNDCF',
597
- 'mpBottomNDCF_MapTransformation', 'mpBottomNPCF',
598
- 'mpBottomNPCF_MapTransformation', 'mpBottomPointLatF',
599
- 'mpBottomPointLatF_MapTransformation', 'mpBottomPointLonF',
600
- 'mpBottomPointLonF_MapTransformation', 'mpBottomWindowF',
601
- 'mpBottomWindowF_MapTransformation', 'mpCenterLatF',
602
- 'mpCenterLatF_MapTransformation', 'mpCenterLonF',
603
- 'mpCenterLonF_MapTransformation', 'mpCenterRotF',
604
- 'mpCenterRotF_MapTransformation', 'mpCountyLineColor',
605
- 'mpCountyLineColor_MapPlot', 'mpCountyLineDashPattern',
606
- 'mpCountyLineDashPattern_MapPlot', 'mpCountyLineDashSegLenF',
607
- 'mpCountyLineDashSegLenF_MapPlot', 'mpCountyLineThicknessF',
608
- 'mpCountyLineThicknessF_MapPlot', 'mpDataBaseVersion',
609
- 'mpDataBaseVersion_MapPlot', 'mpDataResolution',
610
- 'mpDataResolution_MapPlot', 'mpDataSetName', 'mpDataSetName_MapPlot',
611
- 'mpDefaultFillColor', 'mpDefaultFillColor_MapPlot',
612
- 'mpDefaultFillPattern', 'mpDefaultFillPattern_MapPlot',
613
- 'mpDefaultFillScaleF', 'mpDefaultFillScaleF_MapPlot',
614
- 'mpDynamicAreaGroups', 'mpDynamicAreaGroups_MapPlot',
615
- 'mpEllipticalBoundary', 'mpEllipticalBoundary_MapTransformation',
616
- 'mpFillAreaSpecifiers', 'mpFillAreaSpecifiers_MapPlot',
617
- 'mpFillBoundarySets', 'mpFillBoundarySets_MapPlot', 'mpFillColor',
618
- 'mpFillColor_MapPlot', 'mpFillColors', 'mpFillColors_MapPlot',
619
- 'mpFillColors-default', 'mpFillDotSizeF', 'mpFillDotSizeF_MapPlot',
620
- 'mpFillDrawOrder', 'mpFillDrawOrder_MapPlot', 'mpFillOn',
621
- 'mpFillOn_MapPlot', 'mpFillPatternBackground',
622
- 'mpFillPatternBackground_MapPlot', 'mpFillPattern',
623
- 'mpFillPattern_MapPlot', 'mpFillPatterns', 'mpFillPatterns_MapPlot',
624
- 'mpFillPatterns-default', 'mpFillScaleF', 'mpFillScaleF_MapPlot',
625
- 'mpFillScales', 'mpFillScales_MapPlot', 'mpFillScales-default',
626
- 'mpFixedAreaGroups', 'mpFixedAreaGroups_MapPlot',
627
- 'mpGeophysicalLineColor', 'mpGeophysicalLineColor_MapPlot',
628
- 'mpGeophysicalLineDashPattern',
629
- 'mpGeophysicalLineDashPattern_MapPlot',
630
- 'mpGeophysicalLineDashSegLenF',
631
- 'mpGeophysicalLineDashSegLenF_MapPlot', 'mpGeophysicalLineThicknessF',
632
- 'mpGeophysicalLineThicknessF_MapPlot', 'mpGreatCircleLinesOn',
633
- 'mpGreatCircleLinesOn_MapTransformation', 'mpGridAndLimbDrawOrder',
634
- 'mpGridAndLimbDrawOrder_MapPlot', 'mpGridAndLimbOn',
635
- 'mpGridAndLimbOn_MapPlot', 'mpGridLatSpacingF',
636
- 'mpGridLatSpacingF_MapPlot', 'mpGridLineColor',
637
- 'mpGridLineColor_MapPlot', 'mpGridLineDashPattern',
638
- 'mpGridLineDashPattern_MapPlot', 'mpGridLineDashSegLenF',
639
- 'mpGridLineDashSegLenF_MapPlot', 'mpGridLineThicknessF',
640
- 'mpGridLineThicknessF_MapPlot', 'mpGridLonSpacingF',
641
- 'mpGridLonSpacingF_MapPlot', 'mpGridMaskMode',
642
- 'mpGridMaskMode_MapPlot', 'mpGridMaxLatF', 'mpGridMaxLatF_MapPlot',
643
- 'mpGridPolarLonSpacingF', 'mpGridPolarLonSpacingF_MapPlot',
644
- 'mpGridSpacingF', 'mpGridSpacingF_MapPlot', 'mpInlandWaterFillColor',
645
- 'mpInlandWaterFillColor_MapPlot', 'mpInlandWaterFillPattern',
646
- 'mpInlandWaterFillPattern_MapPlot', 'mpInlandWaterFillScaleF',
647
- 'mpInlandWaterFillScaleF_MapPlot', 'mpLabelDrawOrder',
648
- 'mpLabelDrawOrder_MapPlot', 'mpLabelFontColor',
649
- 'mpLabelFontColor_MapPlot', 'mpLabelFontHeightF',
650
- 'mpLabelFontHeightF_MapPlot', 'mpLabelsOn', 'mpLabelsOn_MapPlot',
651
- 'mpLambertMeridianF', 'mpLambertMeridianF_MapTransformation',
652
- 'mpLambertParallel1F', 'mpLambertParallel1F_MapTransformation',
653
- 'mpLambertParallel2F', 'mpLambertParallel2F_MapTransformation',
654
- 'mpLandFillColor', 'mpLandFillColor_MapPlot', 'mpLandFillPattern',
655
- 'mpLandFillPattern_MapPlot', 'mpLandFillScaleF',
656
- 'mpLandFillScaleF_MapPlot', 'mpLeftAngleF',
657
- 'mpLeftAngleF_MapTransformation', 'mpLeftCornerLatF',
658
- 'mpLeftCornerLatF_MapTransformation', 'mpLeftCornerLonF',
659
- 'mpLeftCornerLonF_MapTransformation', 'mpLeftMapPosF',
660
- 'mpLeftMapPosF_MapTransformation', 'mpLeftNDCF',
661
- 'mpLeftNDCF_MapTransformation', 'mpLeftNPCF',
662
- 'mpLeftNPCF_MapTransformation', 'mpLeftPointLatF',
663
- 'mpLeftPointLatF_MapTransformation', 'mpLeftPointLonF',
664
- 'mpLeftPointLonF_MapTransformation', 'mpLeftWindowF',
665
- 'mpLeftWindowF_MapTransformation', 'mpLimbLineColor',
666
- 'mpLimbLineColor_MapPlot', 'mpLimbLineDashPattern',
667
- 'mpLimbLineDashPattern_MapPlot', 'mpLimbLineDashSegLenF',
668
- 'mpLimbLineDashSegLenF_MapPlot', 'mpLimbLineThicknessF',
669
- 'mpLimbLineThicknessF_MapPlot', 'mpLimitMode',
670
- 'mpLimitMode_MapTransformation', 'Angle_projection_limits',
671
- 'mpMaskAreaSpecifiers', 'mpMaskAreaSpecifiers_MapPlot',
672
- 'mpMaskOutlineSpecifiers', 'mpMaskOutlineSpecifiers_MapPlot',
673
- 'mpMaxLatF', 'mpMaxLatF_MapTransformation', 'mpMaxLonF',
674
- 'mpMaxLonF_MapTransformation', 'mpMinLatF',
675
- 'mpMinLatF_MapTransformation', 'mpMinLonF',
676
- 'mpMinLonF_MapTransformation', 'mpMonoFillColor',
677
- 'mpMonoFillColor_MapPlot', 'mpMonoFillPattern',
678
- 'mpMonoFillPattern_MapPlot', 'mpMonoFillScale',
679
- 'mpMonoFillScale_MapPlot', 'mpNationalLineColor',
680
- 'mpNationalLineColor_MapPlot', 'mpNationalLineDashPattern',
681
- 'mpNationalLineDashPattern_MapPlot',
682
- 'mpNationalLineDashSegLenF_MapPlot', 'mpNationalLineThicknessF',
683
- 'mpNationalLineThicknessF_MapPlot', 'mpOceanFillColor',
684
- 'mpOceanFillColor_MapPlot', 'mpOceanFillPattern',
685
- 'mpOceanFillPattern_MapPlot', 'mpOceanFillScaleF',
686
- 'mpOceanFillScaleF_MapPlot', 'mpOutlineBoundarySets',
687
- 'mpOutlineBoundarySets_MapPlot', 'mpOutlineDrawOrder',
688
- 'mpOutlineDrawOrder_MapPlot', 'mpOutlineMaskingOn',
689
- 'mpOutlineMaskingOn_MapPlot', 'mpOutlineOn', 'mpOutlineOn_MapPlot',
690
- 'mpOutlineSpecifiers', 'mpOutlineSpecifiers_MapPlot',
691
- 'mpPerimDrawOrder', 'mpPerimDrawOrder_MapPlot', 'mpPerimLineColor',
692
- 'mpPerimLineColor_MapPlot', 'mpPerimLineDashPattern',
693
- 'mpPerimLineDashPattern_MapPlot', 'mpPerimLineDashSegLenF',
694
- 'mpPerimLineDashSegLenF_MapPlot', 'mpPerimLineThicknessF',
695
- 'mpPerimLineThicknessF_MapPlot', 'mpPerimOn', 'mpPerimOn_MapPlot',
696
- 'mpPolyMode', 'mpPolyMode_MapTransformation', 'mpProjection',
697
- 'mpProjection_MapTransformation', 'mpProvincialLineColor',
698
- 'mpProvincialLineColor_MapPlot', 'mpProvincialLineDashPattern',
699
- 'mpProvincialLineDashPattern_MapPlot', 'mpProvincialLineDashSegLenF',
700
- 'mpProvincialLineDashSegLenF_MapPlot', 'mpProvincialLineThicknessF',
701
- 'mpProvincialLineThicknessF_MapPlot', 'mpRelativeCenterLat',
702
- 'mpRelativeCenterLat_MapTransformation', 'mpRelativeCenterLon',
703
- 'mpRelativeCenterLon_MapTransformation', 'mpRightAngleF',
704
- 'mpRightAngleF_MapTransformation', 'mpRightCornerLatF',
705
- 'mpRightCornerLatF_MapTransformation', 'mpRightCornerLonF',
706
- 'mpRightCornerLonF_MapTransformation', 'mpRightMapPosF',
707
- 'mpRightMapPosF_MapTransformation', 'mpRightNDCF',
708
- 'mpRightNDCF_MapTransformation', 'mpRightNPCF',
709
- 'mpRightNPCF_MapTransformation', 'mpRightPointLatF',
710
- 'mpRightPointLatF_MapTransformation', 'mpRightPointLonF',
711
- 'mpRightPointLonF_MapTransformation', 'mpRightWindowF',
712
- 'mpRightWindowF_MapTransformation', 'mpSatelliteAngle1F',
713
- 'mpSatelliteAngle1F_MapTransformation', 'mpSatelliteAngle2F',
714
- 'mpSatelliteAngle2F_MapTransformation', 'mpSatelliteDistF',
715
- 'mpSatelliteDistF_MapTransformation', 'mpShapeMode',
716
- 'mpShapeMode_MapPlot', 'mpSpecifiedFillColors',
717
- 'mpSpecifiedFillColors_MapPlot', 'mpSpecifiedFillDirectIndexing',
718
- 'mpSpecifiedFillDirectIndexing_MapPlot', 'mpSpecifiedFillPatterns',
719
- 'mpSpecifiedFillPatterns_MapPlot', 'mpSpecifiedFillPriority',
720
- 'mpSpecifiedFillPriority_MapPlot', 'mpSpecifiedFillScales',
721
- 'mpSpecifiedFillScales_MapPlot', 'mpTopAngleF',
722
- 'mpTopAngleF_MapTransformation', 'mpTopMapPosF',
723
- 'mpTopMapPosF_MapTransformation', 'mpTopNDCF',
724
- 'mpTopNDCF_MapTransformation', 'mpTopNPCF',
725
- 'mpTopNPCF_MapTransformation', 'mpTopPointLatF',
726
- 'mpTopPointLatF_MapTransformation', 'mpTopPointLonF',
727
- 'mpTopPointLonF_MapTransformation', 'mpTopWindowF',
728
- 'mpTopWindowF_MapTransformation', 'mpUSStateLineColor',
729
- 'mpUSStateLineColor_MapPlot', 'mpUSStateLineDashPattern',
730
- 'mpUSStateLineDashPattern_MapPlot', 'mpUSStateLineDashSegLenF',
731
- 'mpUSStateLineDashSegLenF_MapPlot', 'mpUSStateLineThicknessF',
732
- 'mpUSStateLineThicknessF_MapPlot', 'pmAnnoManagers',
733
- 'pmAnnoViews', 'pmLabelBarDisplayMode', 'pmLabelBarHeightF',
734
- 'pmLabelBarKeepAspect', 'pmLabelBarOrthogonalPosF',
592
+ 'mpAreaMaskingOn', 'mpAreaNames', 'mpAreaTypes', 'mpBottomAngleF',
593
+ 'mpBottomMapPosF', 'mpBottomNDCF', 'mpBottomNPCF',
594
+ 'mpBottomPointLatF', 'mpBottomPointLonF', 'mpBottomWindowF',
595
+ 'mpCenterLatF', 'mpCenterLonF', 'mpCenterRotF', 'mpCountyLineColor',
596
+ 'mpCountyLineDashPattern', 'mpCountyLineDashSegLenF',
597
+ 'mpCountyLineThicknessF', 'mpDataBaseVersion', 'mpDataResolution',
598
+ 'mpDataSetName', 'mpDefaultFillColor', 'mpDefaultFillPattern',
599
+ 'mpDefaultFillScaleF', 'mpDynamicAreaGroups', 'mpEllipticalBoundary',
600
+ 'mpFillAreaSpecifiers', 'mpFillBoundarySets', 'mpFillColor',
601
+ 'mpFillColors', 'mpFillColors-default', 'mpFillDotSizeF',
602
+ 'mpFillDrawOrder', 'mpFillOn', 'mpFillPatternBackground',
603
+ 'mpFillPattern', 'mpFillPatterns', 'mpFillPatterns-default',
604
+ 'mpFillScaleF', 'mpFillScales', 'mpFillScales-default',
605
+ 'mpFixedAreaGroups', 'mpGeophysicalLineColor',
606
+ 'mpGeophysicalLineDashPattern', 'mpGeophysicalLineDashSegLenF',
607
+ 'mpGeophysicalLineThicknessF', 'mpGreatCircleLinesOn',
608
+ 'mpGridAndLimbDrawOrder', 'mpGridAndLimbOn', 'mpGridLatSpacingF',
609
+ 'mpGridLineColor', 'mpGridLineDashPattern', 'mpGridLineDashSegLenF',
610
+ 'mpGridLineThicknessF', 'mpGridLonSpacingF', 'mpGridMaskMode',
611
+ 'mpGridMaxLatF', 'mpGridPolarLonSpacingF', 'mpGridSpacingF',
612
+ 'mpInlandWaterFillColor', 'mpInlandWaterFillPattern',
613
+ 'mpInlandWaterFillScaleF', 'mpLabelDrawOrder', 'mpLabelFontColor',
614
+ 'mpLabelFontHeightF', 'mpLabelsOn', 'mpLambertMeridianF',
615
+ 'mpLambertParallel1F', 'mpLambertParallel2F', 'mpLandFillColor',
616
+ 'mpLandFillPattern', 'mpLandFillScaleF', 'mpLeftAngleF',
617
+ 'mpLeftCornerLatF', 'mpLeftCornerLonF', 'mpLeftMapPosF',
618
+ 'mpLeftNDCF', 'mpLeftNPCF', 'mpLeftPointLatF',
619
+ 'mpLeftPointLonF', 'mpLeftWindowF', 'mpLimbLineColor',
620
+ 'mpLimbLineDashPattern', 'mpLimbLineDashSegLenF',
621
+ 'mpLimbLineThicknessF', 'mpLimitMode', 'mpMaskAreaSpecifiers',
622
+ 'mpMaskOutlineSpecifiers', 'mpMaxLatF', 'mpMaxLonF',
623
+ 'mpMinLatF', 'mpMinLonF', 'mpMonoFillColor', 'mpMonoFillPattern',
624
+ 'mpMonoFillScale', 'mpNationalLineColor', 'mpNationalLineDashPattern',
625
+ 'mpNationalLineThicknessF', 'mpOceanFillColor', 'mpOceanFillPattern',
626
+ 'mpOceanFillScaleF', 'mpOutlineBoundarySets', 'mpOutlineDrawOrder',
627
+ 'mpOutlineMaskingOn', 'mpOutlineOn', 'mpOutlineSpecifiers',
628
+ 'mpPerimDrawOrder', 'mpPerimLineColor', 'mpPerimLineDashPattern',
629
+ 'mpPerimLineDashSegLenF', 'mpPerimLineThicknessF', 'mpPerimOn',
630
+ 'mpPolyMode', 'mpProjection', 'mpProvincialLineColor',
631
+ 'mpProvincialLineDashPattern', 'mpProvincialLineDashSegLenF',
632
+ 'mpProvincialLineThicknessF', 'mpRelativeCenterLat',
633
+ 'mpRelativeCenterLon', 'mpRightAngleF', 'mpRightCornerLatF',
634
+ 'mpRightCornerLonF', 'mpRightMapPosF', 'mpRightNDCF',
635
+ 'mpRightNPCF', 'mpRightPointLatF', 'mpRightPointLonF',
636
+ 'mpRightWindowF', 'mpSatelliteAngle1F', 'mpSatelliteAngle2F',
637
+ 'mpSatelliteDistF', 'mpShapeMode', 'mpSpecifiedFillColors',
638
+ 'mpSpecifiedFillDirectIndexing', 'mpSpecifiedFillPatterns',
639
+ 'mpSpecifiedFillPriority', 'mpSpecifiedFillScales',
640
+ 'mpTopAngleF', 'mpTopMapPosF', 'mpTopNDCF', 'mpTopNPCF',
641
+ 'mpTopPointLatF', 'mpTopPointLonF', 'mpTopWindowF',
642
+ 'mpUSStateLineColor', 'mpUSStateLineDashPattern',
643
+ 'mpUSStateLineDashSegLenF', 'mpUSStateLineThicknessF',
644
+ 'pmAnnoManagers', 'pmAnnoViews', 'pmLabelBarDisplayMode',
645
+ 'pmLabelBarHeightF', 'pmLabelBarKeepAspect', 'pmLabelBarOrthogonalPosF',
735
646
  'pmLabelBarParallelPosF', 'pmLabelBarSide', 'pmLabelBarWidthF',
736
647
  'pmLabelBarZone', 'pmLegendDisplayMode', 'pmLegendHeightF',
737
648
  'pmLegendKeepAspect', 'pmLegendOrthogonalPosF',
@@ -739,35 +650,14 @@ class NCLLexer(RegexLexer):
739
650
  'pmLegendZone', 'pmOverlaySequenceIds', 'pmTickMarkDisplayMode',
740
651
  'pmTickMarkZone', 'pmTitleDisplayMode', 'pmTitleZone',
741
652
  'prGraphicStyle', 'prPolyType', 'prXArray', 'prYArray',
742
- 'sfCopyData_MeshScalarField', 'sfCopyData', 'sfCopyData_ScalarField',
743
- 'sfDataArray_MeshScalarField', 'sfDataArray',
744
- 'sfDataArray_ScalarField', 'sfDataMaxV_MeshScalarField', 'sfDataMaxV',
745
- 'sfDataMaxV_ScalarField', 'sfDataMinV_MeshScalarField', 'sfDataMinV',
746
- 'sfDataMinV_ScalarField', 'sfElementNodes',
747
- 'sfElementNodes_MeshScalarField', 'sfExchangeDimensions',
748
- 'sfExchangeDimensions_ScalarField', 'sfFirstNodeIndex',
749
- 'sfFirstNodeIndex_MeshScalarField', 'sfMissingValueV_MeshScalarField',
750
- 'sfMissingValueV', 'sfMissingValueV_ScalarField',
751
- 'sfXArray_MeshScalarField', 'sfXArray', 'sfXArray_ScalarField',
752
- 'sfXCActualEndF_MeshScalarField', 'sfXCActualEndF',
753
- 'sfXCActualEndF_ScalarField', 'sfXCActualStartF_MeshScalarField',
754
- 'sfXCActualStartF', 'sfXCActualStartF_ScalarField', 'sfXCEndIndex',
755
- 'sfXCEndIndex_ScalarField', 'sfXCEndSubsetV',
756
- 'sfXCEndSubsetV_ScalarField', 'sfXCEndV', 'sfXCEndV_ScalarField',
757
- 'sfXCStartIndex', 'sfXCStartIndex_ScalarField', 'sfXCStartSubsetV',
758
- 'sfXCStartSubsetV_ScalarField', 'sfXCStartV',
759
- 'sfXCStartV_ScalarField', 'sfXCStride', 'sfXCStride_ScalarField',
760
- 'sfXCellBounds', 'sfXCellBounds_MeshScalarField',
761
- 'sfYArray_MeshScalarField', 'sfYArray', 'sfYArray_ScalarField',
762
- 'sfYCActualEndF_MeshScalarField', 'sfYCActualEndF',
763
- 'sfYCActualEndF_ScalarField', 'sfYCActualStartF_MeshScalarField',
764
- 'sfYCActualStartF', 'sfYCActualStartF_ScalarField', 'sfYCEndIndex',
765
- 'sfYCEndIndex_ScalarField', 'sfYCEndSubsetV',
766
- 'sfYCEndSubsetV_ScalarField', 'sfYCEndV', 'sfYCEndV_ScalarField',
767
- 'sfYCStartIndex', 'sfYCStartIndex_ScalarField', 'sfYCStartSubsetV',
768
- 'sfYCStartSubsetV_ScalarField', 'sfYCStartV',
769
- 'sfYCStartV_ScalarField', 'sfYCStride', 'sfYCStride_ScalarField',
770
- 'sfYCellBounds', 'sfYCellBounds_MeshScalarField', 'stArrowLengthF',
653
+ 'sfCopyData', 'sfDataArray', 'sfDataMaxV', 'sfDataMinV',
654
+ 'sfElementNodes', 'sfExchangeDimensions', 'sfFirstNodeIndex',
655
+ 'sfMissingValueV', 'sfXArray', 'sfXCActualEndF', 'sfXCActualStartF',
656
+ 'sfXCEndIndex', 'sfXCEndSubsetV', 'sfXCEndV', 'sfXCStartIndex',
657
+ 'sfXCStartSubsetV', 'sfXCStartV', 'sfXCStride', 'sfXCellBounds',
658
+ 'sfYArray', 'sfYCActualEndF', 'sfYCActualStartF', 'sfYCEndIndex',
659
+ 'sfYCEndSubsetV', 'sfYCEndV', 'sfYCStartIndex', 'sfYCStartSubsetV',
660
+ 'sfYCStartV', 'sfYCStride', 'sfYCellBounds', 'stArrowLengthF',
771
661
  'stArrowStride', 'stCrossoverCheckCount',
772
662
  'stExplicitLabelBarLabelsOn', 'stLabelBarEndLabelsOn',
773
663
  'stLabelFormat', 'stLengthCheckCount', 'stLevelColors',
@@ -870,25 +760,12 @@ class NCLLexer(RegexLexer):
870
760
  'tmYRMinorPerMajor', 'tmYRMinorThicknessF', 'tmYRMinorValues',
871
761
  'tmYRMode', 'tmYROn', 'tmYRPrecision', 'tmYRStyle', 'tmYRTickEndF',
872
762
  'tmYRTickSpacingF', 'tmYRTickStartF', 'tmYRValues', 'tmYUseLeft',
873
- 'trGridType', 'trGridType_Transformation', 'trLineInterpolationOn',
874
- 'trLineInterpolationOn_Transformation', 'trXAxisType',
875
- 'trXAxisType_IrregularTransformation', 'trXCoordPoints',
876
- 'trXCoordPoints_IrregularTransformation', 'trXInterPoints',
877
- 'trXInterPoints_IrregularTransformation', 'trXLog',
878
- 'trXLog_LogLinTransformation', 'trXMaxF', 'trXMaxF_Transformation',
879
- 'trXMinF', 'trXMinF_Transformation', 'trXReverse',
880
- 'trXReverse_Transformation', 'trXSamples',
881
- 'trXSamples_IrregularTransformation', 'trXTensionF',
882
- 'trXTensionF_IrregularTransformation', 'trYAxisType',
883
- 'trYAxisType_IrregularTransformation', 'trYCoordPoints',
884
- 'trYCoordPoints_IrregularTransformation', 'trYInterPoints',
885
- 'trYInterPoints_IrregularTransformation', 'trYLog',
886
- 'trYLog_LogLinTransformation', 'trYMaxF', 'trYMaxF_Transformation',
887
- 'trYMinF', 'trYMinF_Transformation', 'trYReverse',
888
- 'trYReverse_Transformation', 'trYSamples',
889
- 'trYSamples_IrregularTransformation', 'trYTensionF',
890
- 'trYTensionF_IrregularTransformation', 'txAngleF',
891
- 'txBackgroundFillColor', 'txConstantSpacingF', 'txDirection',
763
+ 'trGridType', 'trLineInterpolationOn',
764
+ 'trXAxisType', 'trXCoordPoints', 'trXInterPoints', 'trXLog',
765
+ 'trXMaxF', 'trXMinF', 'trXReverse', 'trXSamples', 'trXTensionF',
766
+ 'trYAxisType', 'trYCoordPoints', 'trYInterPoints', 'trYLog',
767
+ 'trYMaxF', 'trYMinF', 'trYReverse', 'trYSamples', 'trYTensionF',
768
+ 'txAngleF', 'txBackgroundFillColor', 'txConstantSpacingF', 'txDirection',
892
769
  'txFont', 'HLU-Fonts', 'txFontAspectF', 'txFontColor',
893
770
  'txFontHeightF', 'txFontOpacityF', 'txFontQuality',
894
771
  'txFontThicknessF', 'txFuncCode', 'txJust', 'txPerimColor',
@@ -969,53 +846,16 @@ class NCLLexer(RegexLexer):
969
846
  'vfYCEndSubsetV', 'vfYCEndV', 'vfYCStartIndex', 'vfYCStartSubsetV',
970
847
  'vfYCStartV', 'vfYCStride', 'vpAnnoManagerId', 'vpClipOn',
971
848
  'vpHeightF', 'vpKeepAspect', 'vpOn', 'vpUseSegments', 'vpWidthF',
972
- 'vpXF', 'vpYF', 'wkAntiAlias', 'wkAntiAlias_DocumentWorkstation',
973
- 'wkAntiAlias_ImageWorkstation', 'wkAntiAlias_XWorkstation',
974
- 'wkBackgroundColor', 'wkBackgroundColor_Workstation',
975
- 'wkBackgroundOpacityF', 'wkBackgroundOpacityF_DocumentWorkstation',
976
- 'wkBackgroundOpacityF_ImageWorkstation',
977
- 'wkBackgroundOpacityF_XWorkstation', 'wkColorMapLen',
978
- 'wkColorMapLen_Workstation', 'wkColorMap', 'wkColorMap_Workstation',
979
- 'wkColorModel', 'wkColorModel_PDFWorkstation',
980
- 'wkColorModel_PSWorkstation', 'wkDashTableLength',
981
- 'wkDashTableLength_Workstation', 'wkDefGraphicStyleId',
982
- 'wkDefGraphicStyleId_Workstation', 'wkDeviceLowerX',
983
- 'wkDeviceLowerX_DocumentWorkstation', 'wkDeviceLowerX_PDFWorkstation',
984
- 'wkDeviceLowerX_PSWorkstation', 'wkDeviceLowerY',
985
- 'wkDeviceLowerY_DocumentWorkstation', 'wkDeviceLowerY_PDFWorkstation',
986
- 'wkDeviceLowerY_PSWorkstation', 'wkDeviceUpperX',
987
- 'wkDeviceUpperX_DocumentWorkstation', 'wkDeviceUpperX_PDFWorkstation',
988
- 'wkDeviceUpperX_PSWorkstation', 'wkDeviceUpperY',
989
- 'wkDeviceUpperY_DocumentWorkstation', 'wkDeviceUpperY_PDFWorkstation',
990
- 'wkDeviceUpperY_PSWorkstation', 'wkFileName',
991
- 'wkFileName_DocumentWorkstation', 'wkFileName_ImageWorkstation',
992
- 'wkFillTableLength', 'wkFillTableLength_Workstation',
993
- 'wkForegroundColor', 'wkForegroundColor_Workstation', 'wkFormat',
994
- 'wkFormat_DocumentWorkstation', 'wkFormat_ImageWorkstation',
995
- 'wkFullBackground', 'wkFullBackground_PDFWorkstation',
996
- 'wkFullBackground_PSWorkstation', 'wkGksWorkId',
997
- 'wkGksWorkId_Workstation', 'wkHeight', 'wkHeight_ImageWorkstation',
998
- 'wkHeight_XWorkstation', 'wkMarkerTableLength',
999
- 'wkMarkerTableLength_Workstation', 'wkMetaName',
1000
- 'wkMetaName_NcgmWorkstation', 'wkOrientation',
1001
- 'wkOrientation_PDFWorkstation', 'wkOrientation_PSWorkstation',
1002
- 'wkPDFFileName', 'wkPDFFileName_PDFWorkstation', 'wkPDFFormat',
1003
- 'wkPDFFormat_PDFWorkstation', 'wkPDFResolution',
1004
- 'wkPDFResolution_PDFWorkstation', 'wkPSFileName',
1005
- 'wkPSFileName_PSWorkstation', 'wkPSFormat',
1006
- 'wkPSFormat_PSWorkstation', 'wkPSResolution',
1007
- 'wkPSResolution_PSWorkstation', 'wkPaperHeightF',
1008
- 'wkPaperHeightF_DocumentWorkstation', 'wkPaperHeightF_PDFWorkstation',
1009
- 'wkPaperHeightF_PSWorkstation', 'wkPaperSize',
1010
- 'wkPaperSize_DocumentWorkstation', 'wkPaperSize_PDFWorkstation',
1011
- 'wkPaperSize_PSWorkstation', 'wkPaperWidthF',
1012
- 'wkPaperWidthF_DocumentWorkstation', 'wkPaperWidthF_PDFWorkstation',
1013
- 'wkPaperWidthF_PSWorkstation', 'wkPause', 'wkPause_XWorkstation',
1014
- 'wkTopLevelViews', 'wkTopLevelViews_Workstation', 'wkViews',
1015
- 'wkViews_Workstation', 'wkVisualType', 'wkVisualType_PDFWorkstation',
1016
- 'wkVisualType_PSWorkstation', 'wkWidth', 'wkWidth_ImageWorkstation',
1017
- 'wkWidth_XWorkstation', 'wkWindowId', 'wkWindowId_XWorkstation',
1018
- 'wkXColorMode', 'wkXColorMode_XWorkstation', 'wsCurrentSize',
849
+ 'vpXF', 'vpYF', 'wkAntiAlias', 'wkBackgroundColor', 'wkBackgroundOpacityF',
850
+ 'wkColorMapLen', 'wkColorMap', 'wkColorModel', 'wkDashTableLength',
851
+ 'wkDefGraphicStyleId', 'wkDeviceLowerX', 'wkDeviceLowerY',
852
+ 'wkDeviceUpperX', 'wkDeviceUpperY', 'wkFileName', 'wkFillTableLength',
853
+ 'wkForegroundColor', 'wkFormat', 'wkFullBackground', 'wkGksWorkId',
854
+ 'wkHeight', 'wkMarkerTableLength', 'wkMetaName', 'wkOrientation',
855
+ 'wkPDFFileName', 'wkPDFFormat', 'wkPDFResolution', 'wkPSFileName',
856
+ 'wkPSFormat', 'wkPSResolution', 'wkPaperHeightF', 'wkPaperSize',
857
+ 'wkPaperWidthF', 'wkPause', 'wkTopLevelViews', 'wkViews',
858
+ 'wkVisualType', 'wkWidth', 'wkWindowId', 'wkXColorMode', 'wsCurrentSize',
1019
859
  'wsMaximumSize', 'wsThresholdSize', 'xyComputeXMax',
1020
860
  'xyComputeXMin', 'xyComputeYMax', 'xyComputeYMin', 'xyCoordData',
1021
861
  'xyCoordDataSpec', 'xyCurveDrawOrder', 'xyDashPattern',
@@ -1037,7 +877,8 @@ class NCLLexer(RegexLexer):
1037
877
  Name.Builtin),
1038
878
 
1039
879
  # Booleans
1040
- (r'True|False', Name.Builtin), # Comparing Operators
880
+ (r'\.(True|False)\.', Name.Builtin),
881
+ # Comparing Operators
1041
882
  (r'\.(eq|ne|lt|le|gt|ge|not|and|or|xor)\.', Operator.Word),
1042
883
  ],
1043
884