bedrock_sass 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (534) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/assets/_vendor/ace/ace.js +21635 -0
  4. data/assets/_vendor/ace/ext-beautify.js +318 -0
  5. data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
  6. data/assets/_vendor/ace/ext-emmet.js +1226 -0
  7. data/assets/_vendor/ace/ext-error_marker.js +10 -0
  8. data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
  9. data/assets/_vendor/ace/ext-language_tools.js +1997 -0
  10. data/assets/_vendor/ace/ext-linking.js +65 -0
  11. data/assets/_vendor/ace/ext-modelist.js +228 -0
  12. data/assets/_vendor/ace/ext-options.js +750 -0
  13. data/assets/_vendor/ace/ext-rtl.js +110 -0
  14. data/assets/_vendor/ace/ext-searchbox.js +512 -0
  15. data/assets/_vendor/ace/ext-settings_menu.js +771 -0
  16. data/assets/_vendor/ace/ext-spellcheck.js +75 -0
  17. data/assets/_vendor/ace/ext-split.js +208 -0
  18. data/assets/_vendor/ace/ext-static_highlight.js +226 -0
  19. data/assets/_vendor/ace/ext-statusbar.js +57 -0
  20. data/assets/_vendor/ace/ext-textarea.js +567 -0
  21. data/assets/_vendor/ace/ext-themelist.js +67 -0
  22. data/assets/_vendor/ace/ext-whitespace.js +210 -0
  23. data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
  24. data/assets/_vendor/ace/keybinding-vim.js +5673 -0
  25. data/assets/_vendor/ace/mode-abap.js +222 -0
  26. data/assets/_vendor/ace/mode-abc.js +267 -0
  27. data/assets/_vendor/ace/mode-actionscript.js +274 -0
  28. data/assets/_vendor/ace/mode-ada.js +138 -0
  29. data/assets/_vendor/ace/mode-apache_conf.js +363 -0
  30. data/assets/_vendor/ace/mode-applescript.js +279 -0
  31. data/assets/_vendor/ace/mode-asciidoc.js +349 -0
  32. data/assets/_vendor/ace/mode-asl.js +422 -0
  33. data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
  34. data/assets/_vendor/ace/mode-autohotkey.js +243 -0
  35. data/assets/_vendor/ace/mode-batchfile.js +230 -0
  36. data/assets/_vendor/ace/mode-bro.js +334 -0
  37. data/assets/_vendor/ace/mode-c9search.js +294 -0
  38. data/assets/_vendor/ace/mode-c_cpp.js +502 -0
  39. data/assets/_vendor/ace/mode-cirru.js +211 -0
  40. data/assets/_vendor/ace/mode-clojure.js +314 -0
  41. data/assets/_vendor/ace/mode-cobol.js +102 -0
  42. data/assets/_vendor/ace/mode-coffee.js +400 -0
  43. data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
  44. data/assets/_vendor/ace/mode-csharp.js +502 -0
  45. data/assets/_vendor/ace/mode-csound_document.js +3749 -0
  46. data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
  47. data/assets/_vendor/ace/mode-csound_score.js +454 -0
  48. data/assets/_vendor/ace/mode-csp.js +60 -0
  49. data/assets/_vendor/ace/mode-css.js +723 -0
  50. data/assets/_vendor/ace/mode-curly.js +2564 -0
  51. data/assets/_vendor/ace/mode-d.js +520 -0
  52. data/assets/_vendor/ace/mode-dart.js +703 -0
  53. data/assets/_vendor/ace/mode-diff.js +146 -0
  54. data/assets/_vendor/ace/mode-django.js +2594 -0
  55. data/assets/_vendor/ace/mode-dockerfile.js +498 -0
  56. data/assets/_vendor/ace/mode-dot.js +418 -0
  57. data/assets/_vendor/ace/mode-drools.js +496 -0
  58. data/assets/_vendor/ace/mode-edifact.js +165 -0
  59. data/assets/_vendor/ace/mode-eiffel.js +136 -0
  60. data/assets/_vendor/ace/mode-ejs.js +3026 -0
  61. data/assets/_vendor/ace/mode-elixir.js +501 -0
  62. data/assets/_vendor/ace/mode-elm.js +307 -0
  63. data/assets/_vendor/ace/mode-erlang.js +1009 -0
  64. data/assets/_vendor/ace/mode-forth.js +297 -0
  65. data/assets/_vendor/ace/mode-fortran.js +431 -0
  66. data/assets/_vendor/ace/mode-fsharp.js +314 -0
  67. data/assets/_vendor/ace/mode-ftl.js +1192 -0
  68. data/assets/_vendor/ace/mode-gcode.js +94 -0
  69. data/assets/_vendor/ace/mode-gherkin.js +172 -0
  70. data/assets/_vendor/ace/mode-gitignore.js +60 -0
  71. data/assets/_vendor/ace/mode-glsl.js +579 -0
  72. data/assets/_vendor/ace/mode-gobstones.js +929 -0
  73. data/assets/_vendor/ace/mode-golang.js +414 -0
  74. data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
  75. data/assets/_vendor/ace/mode-groovy.js +986 -0
  76. data/assets/_vendor/ace/mode-haml.js +1555 -0
  77. data/assets/_vendor/ace/mode-handlebars.js +2622 -0
  78. data/assets/_vendor/ace/mode-haskell.js +379 -0
  79. data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
  80. data/assets/_vendor/ace/mode-haxe.js +386 -0
  81. data/assets/_vendor/ace/mode-hjson.js +353 -0
  82. data/assets/_vendor/ace/mode-html.js +2509 -0
  83. data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
  84. data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
  85. data/assets/_vendor/ace/mode-ini.js +163 -0
  86. data/assets/_vendor/ace/mode-io.js +253 -0
  87. data/assets/_vendor/ace/mode-jack.js +347 -0
  88. data/assets/_vendor/ace/mode-jade.js +2126 -0
  89. data/assets/_vendor/ace/mode-java.js +975 -0
  90. data/assets/_vendor/ace/mode-javascript.js +797 -0
  91. data/assets/_vendor/ace/mode-json.js +327 -0
  92. data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
  93. data/assets/_vendor/ace/mode-jsp.js +1430 -0
  94. data/assets/_vendor/ace/mode-jssm.js +325 -0
  95. data/assets/_vendor/ace/mode-jsx.js +412 -0
  96. data/assets/_vendor/ace/mode-julia.js +303 -0
  97. data/assets/_vendor/ace/mode-kotlin.js +795 -0
  98. data/assets/_vendor/ace/mode-latex.js +297 -0
  99. data/assets/_vendor/ace/mode-less.js +841 -0
  100. data/assets/_vendor/ace/mode-liquid.js +1193 -0
  101. data/assets/_vendor/ace/mode-lisp.js +112 -0
  102. data/assets/_vendor/ace/mode-livescript.js +280 -0
  103. data/assets/_vendor/ace/mode-logiql.js +317 -0
  104. data/assets/_vendor/ace/mode-lsl.js +343 -0
  105. data/assets/_vendor/ace/mode-lua.js +432 -0
  106. data/assets/_vendor/ace/mode-luapage.js +3007 -0
  107. data/assets/_vendor/ace/mode-lucene.js +87 -0
  108. data/assets/_vendor/ace/mode-makefile.js +410 -0
  109. data/assets/_vendor/ace/mode-markdown.js +3189 -0
  110. data/assets/_vendor/ace/mode-mask.js +1802 -0
  111. data/assets/_vendor/ace/mode-matlab.js +264 -0
  112. data/assets/_vendor/ace/mode-maze.js +291 -0
  113. data/assets/_vendor/ace/mode-mel.js +263 -0
  114. data/assets/_vendor/ace/mode-mixal.js +123 -0
  115. data/assets/_vendor/ace/mode-mushcode.js +681 -0
  116. data/assets/_vendor/ace/mode-mysql.js +168 -0
  117. data/assets/_vendor/ace/mode-nix.js +646 -0
  118. data/assets/_vendor/ace/mode-nsis.js +312 -0
  119. data/assets/_vendor/ace/mode-objectivec.js +739 -0
  120. data/assets/_vendor/ace/mode-ocaml.js +422 -0
  121. data/assets/_vendor/ace/mode-pascal.js +205 -0
  122. data/assets/_vendor/ace/mode-perl.js +380 -0
  123. data/assets/_vendor/ace/mode-pgsql.js +1508 -0
  124. data/assets/_vendor/ace/mode-php.js +13088 -0
  125. data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
  126. data/assets/_vendor/ace/mode-pig.js +310 -0
  127. data/assets/_vendor/ace/mode-plain_text.js +33 -0
  128. data/assets/_vendor/ace/mode-powershell.js +418 -0
  129. data/assets/_vendor/ace/mode-praat.js +478 -0
  130. data/assets/_vendor/ace/mode-prolog.js +371 -0
  131. data/assets/_vendor/ace/mode-properties.js +81 -0
  132. data/assets/_vendor/ace/mode-protobuf.js +592 -0
  133. data/assets/_vendor/ace/mode-puppet.js +370 -0
  134. data/assets/_vendor/ace/mode-python.js +273 -0
  135. data/assets/_vendor/ace/mode-r.js +310 -0
  136. data/assets/_vendor/ace/mode-razor.js +2869 -0
  137. data/assets/_vendor/ace/mode-rdoc.js +243 -0
  138. data/assets/_vendor/ace/mode-red.js +450 -0
  139. data/assets/_vendor/ace/mode-redshift.js +361 -0
  140. data/assets/_vendor/ace/mode-rhtml.js +2806 -0
  141. data/assets/_vendor/ace/mode-rst.js +257 -0
  142. data/assets/_vendor/ace/mode-ruby.js +497 -0
  143. data/assets/_vendor/ace/mode-rust.js +279 -0
  144. data/assets/_vendor/ace/mode-sass.js +441 -0
  145. data/assets/_vendor/ace/mode-scad.js +414 -0
  146. data/assets/_vendor/ace/mode-scala.js +982 -0
  147. data/assets/_vendor/ace/mode-scheme.js +232 -0
  148. data/assets/_vendor/ace/mode-scss.js +606 -0
  149. data/assets/_vendor/ace/mode-sh.js +447 -0
  150. data/assets/_vendor/ace/mode-sjs.js +1014 -0
  151. data/assets/_vendor/ace/mode-slim.js +4736 -0
  152. data/assets/_vendor/ace/mode-smarty.js +2635 -0
  153. data/assets/_vendor/ace/mode-snippets.js +207 -0
  154. data/assets/_vendor/ace/mode-soy_template.js +2847 -0
  155. data/assets/_vendor/ace/mode-space.js +168 -0
  156. data/assets/_vendor/ace/mode-sparql.js +320 -0
  157. data/assets/_vendor/ace/mode-sql.js +111 -0
  158. data/assets/_vendor/ace/mode-sqlserver.js +444 -0
  159. data/assets/_vendor/ace/mode-stylus.js +471 -0
  160. data/assets/_vendor/ace/mode-svg.js +1581 -0
  161. data/assets/_vendor/ace/mode-swift.js +390 -0
  162. data/assets/_vendor/ace/mode-tcl.js +383 -0
  163. data/assets/_vendor/ace/mode-terraform.js +398 -0
  164. data/assets/_vendor/ace/mode-tex.js +159 -0
  165. data/assets/_vendor/ace/mode-text.js +10 -0
  166. data/assets/_vendor/ace/mode-textile.js +150 -0
  167. data/assets/_vendor/ace/mode-toml.js +154 -0
  168. data/assets/_vendor/ace/mode-tsx.js +887 -0
  169. data/assets/_vendor/ace/mode-turtle.js +296 -0
  170. data/assets/_vendor/ace/mode-twig.js +2693 -0
  171. data/assets/_vendor/ace/mode-typescript.js +868 -0
  172. data/assets/_vendor/ace/mode-vala.js +676 -0
  173. data/assets/_vendor/ace/mode-vbscript.js +207 -0
  174. data/assets/_vendor/ace/mode-velocity.js +2790 -0
  175. data/assets/_vendor/ace/mode-verilog.js +119 -0
  176. data/assets/_vendor/ace/mode-vhdl.js +118 -0
  177. data/assets/_vendor/ace/mode-wollok.js +911 -0
  178. data/assets/_vendor/ace/mode-xml.js +677 -0
  179. data/assets/_vendor/ace/mode-xquery.js +4922 -0
  180. data/assets/_vendor/ace/mode-yaml.js +300 -0
  181. data/assets/_vendor/ace/snippets/abap.js +15 -0
  182. data/assets/_vendor/ace/snippets/abc.js +46 -0
  183. data/assets/_vendor/ace/snippets/actionscript.js +172 -0
  184. data/assets/_vendor/ace/snippets/ada.js +15 -0
  185. data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
  186. data/assets/_vendor/ace/snippets/applescript.js +15 -0
  187. data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
  188. data/assets/_vendor/ace/snippets/asl.js +14 -0
  189. data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
  190. data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
  191. data/assets/_vendor/ace/snippets/batchfile.js +15 -0
  192. data/assets/_vendor/ace/snippets/bro.js +15 -0
  193. data/assets/_vendor/ace/snippets/c9search.js +15 -0
  194. data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
  195. data/assets/_vendor/ace/snippets/cirru.js +15 -0
  196. data/assets/_vendor/ace/snippets/clojure.js +105 -0
  197. data/assets/_vendor/ace/snippets/cobol.js +15 -0
  198. data/assets/_vendor/ace/snippets/coffee.js +110 -0
  199. data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
  200. data/assets/_vendor/ace/snippets/csharp.js +15 -0
  201. data/assets/_vendor/ace/snippets/csound_document.js +25 -0
  202. data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
  203. data/assets/_vendor/ace/snippets/csound_score.js +15 -0
  204. data/assets/_vendor/ace/snippets/csp.js +15 -0
  205. data/assets/_vendor/ace/snippets/css.js +982 -0
  206. data/assets/_vendor/ace/snippets/curly.js +15 -0
  207. data/assets/_vendor/ace/snippets/d.js +15 -0
  208. data/assets/_vendor/ace/snippets/dart.js +98 -0
  209. data/assets/_vendor/ace/snippets/diff.js +26 -0
  210. data/assets/_vendor/ace/snippets/django.js +123 -0
  211. data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
  212. data/assets/_vendor/ace/snippets/dot.js +15 -0
  213. data/assets/_vendor/ace/snippets/drools.js +34 -0
  214. data/assets/_vendor/ace/snippets/edifact.js +255 -0
  215. data/assets/_vendor/ace/snippets/eiffel.js +15 -0
  216. data/assets/_vendor/ace/snippets/ejs.js +15 -0
  217. data/assets/_vendor/ace/snippets/elixir.js +15 -0
  218. data/assets/_vendor/ace/snippets/elm.js +15 -0
  219. data/assets/_vendor/ace/snippets/erlang.js +175 -0
  220. data/assets/_vendor/ace/snippets/forth.js +15 -0
  221. data/assets/_vendor/ace/snippets/fortran.js +15 -0
  222. data/assets/_vendor/ace/snippets/fsharp.js +15 -0
  223. data/assets/_vendor/ace/snippets/ftl.js +15 -0
  224. data/assets/_vendor/ace/snippets/gcode.js +15 -0
  225. data/assets/_vendor/ace/snippets/gherkin.js +15 -0
  226. data/assets/_vendor/ace/snippets/gitignore.js +15 -0
  227. data/assets/_vendor/ace/snippets/glsl.js +15 -0
  228. data/assets/_vendor/ace/snippets/gobstones.js +49 -0
  229. data/assets/_vendor/ace/snippets/golang.js +15 -0
  230. data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
  231. data/assets/_vendor/ace/snippets/groovy.js +15 -0
  232. data/assets/_vendor/ace/snippets/haml.js +35 -0
  233. data/assets/_vendor/ace/snippets/handlebars.js +15 -0
  234. data/assets/_vendor/ace/snippets/haskell.js +97 -0
  235. data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
  236. data/assets/_vendor/ace/snippets/haxe.js +15 -0
  237. data/assets/_vendor/ace/snippets/hjson.js +15 -0
  238. data/assets/_vendor/ace/snippets/html.js +870 -0
  239. data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
  240. data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
  241. data/assets/_vendor/ace/snippets/ini.js +15 -0
  242. data/assets/_vendor/ace/snippets/io.js +77 -0
  243. data/assets/_vendor/ace/snippets/jack.js +15 -0
  244. data/assets/_vendor/ace/snippets/jade.js +15 -0
  245. data/assets/_vendor/ace/snippets/java.js +255 -0
  246. data/assets/_vendor/ace/snippets/javascript.js +210 -0
  247. data/assets/_vendor/ace/snippets/json.js +15 -0
  248. data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
  249. data/assets/_vendor/ace/snippets/jsp.js +114 -0
  250. data/assets/_vendor/ace/snippets/jssm.js +15 -0
  251. data/assets/_vendor/ace/snippets/jsx.js +15 -0
  252. data/assets/_vendor/ace/snippets/julia.js +15 -0
  253. data/assets/_vendor/ace/snippets/kotlin.js +15 -0
  254. data/assets/_vendor/ace/snippets/latex.js +15 -0
  255. data/assets/_vendor/ace/snippets/less.js +15 -0
  256. data/assets/_vendor/ace/snippets/liquid.js +15 -0
  257. data/assets/_vendor/ace/snippets/lisp.js +15 -0
  258. data/assets/_vendor/ace/snippets/livescript.js +15 -0
  259. data/assets/_vendor/ace/snippets/logiql.js +15 -0
  260. data/assets/_vendor/ace/snippets/lsl.js +1247 -0
  261. data/assets/_vendor/ace/snippets/lua.js +36 -0
  262. data/assets/_vendor/ace/snippets/luapage.js +15 -0
  263. data/assets/_vendor/ace/snippets/lucene.js +15 -0
  264. data/assets/_vendor/ace/snippets/makefile.js +19 -0
  265. data/assets/_vendor/ace/snippets/markdown.js +103 -0
  266. data/assets/_vendor/ace/snippets/mask.js +15 -0
  267. data/assets/_vendor/ace/snippets/matlab.js +15 -0
  268. data/assets/_vendor/ace/snippets/maze.js +24 -0
  269. data/assets/_vendor/ace/snippets/mel.js +15 -0
  270. data/assets/_vendor/ace/snippets/mixal.js +15 -0
  271. data/assets/_vendor/ace/snippets/mushcode.js +15 -0
  272. data/assets/_vendor/ace/snippets/mysql.js +15 -0
  273. data/assets/_vendor/ace/snippets/nix.js +15 -0
  274. data/assets/_vendor/ace/snippets/nsis.js +15 -0
  275. data/assets/_vendor/ace/snippets/objectivec.js +15 -0
  276. data/assets/_vendor/ace/snippets/ocaml.js +15 -0
  277. data/assets/_vendor/ace/snippets/pascal.js +15 -0
  278. data/assets/_vendor/ace/snippets/perl.js +362 -0
  279. data/assets/_vendor/ace/snippets/pgsql.js +15 -0
  280. data/assets/_vendor/ace/snippets/php.js +398 -0
  281. data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
  282. data/assets/_vendor/ace/snippets/pig.js +15 -0
  283. data/assets/_vendor/ace/snippets/plain_text.js +15 -0
  284. data/assets/_vendor/ace/snippets/powershell.js +15 -0
  285. data/assets/_vendor/ace/snippets/praat.js +15 -0
  286. data/assets/_vendor/ace/snippets/prolog.js +15 -0
  287. data/assets/_vendor/ace/snippets/properties.js +15 -0
  288. data/assets/_vendor/ace/snippets/protobuf.js +15 -0
  289. data/assets/_vendor/ace/snippets/puppet.js +15 -0
  290. data/assets/_vendor/ace/snippets/python.js +173 -0
  291. data/assets/_vendor/ace/snippets/r.js +136 -0
  292. data/assets/_vendor/ace/snippets/razor.js +18 -0
  293. data/assets/_vendor/ace/snippets/rdoc.js +15 -0
  294. data/assets/_vendor/ace/snippets/red.js +15 -0
  295. data/assets/_vendor/ace/snippets/redshift.js +15 -0
  296. data/assets/_vendor/ace/snippets/rhtml.js +15 -0
  297. data/assets/_vendor/ace/snippets/rst.js +37 -0
  298. data/assets/_vendor/ace/snippets/ruby.js +943 -0
  299. data/assets/_vendor/ace/snippets/rust.js +15 -0
  300. data/assets/_vendor/ace/snippets/sass.js +15 -0
  301. data/assets/_vendor/ace/snippets/scad.js +15 -0
  302. data/assets/_vendor/ace/snippets/scala.js +15 -0
  303. data/assets/_vendor/ace/snippets/scheme.js +15 -0
  304. data/assets/_vendor/ace/snippets/scss.js +15 -0
  305. data/assets/_vendor/ace/snippets/sh.js +98 -0
  306. data/assets/_vendor/ace/snippets/sjs.js +15 -0
  307. data/assets/_vendor/ace/snippets/slim.js +15 -0
  308. data/assets/_vendor/ace/snippets/smarty.js +15 -0
  309. data/assets/_vendor/ace/snippets/snippets.js +24 -0
  310. data/assets/_vendor/ace/snippets/soy_template.js +15 -0
  311. data/assets/_vendor/ace/snippets/space.js +15 -0
  312. data/assets/_vendor/ace/snippets/sparql.js +15 -0
  313. data/assets/_vendor/ace/snippets/sql.js +41 -0
  314. data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
  315. data/assets/_vendor/ace/snippets/stylus.js +15 -0
  316. data/assets/_vendor/ace/snippets/svg.js +15 -0
  317. data/assets/_vendor/ace/snippets/swift.js +15 -0
  318. data/assets/_vendor/ace/snippets/tcl.js +107 -0
  319. data/assets/_vendor/ace/snippets/terraform.js +15 -0
  320. data/assets/_vendor/ace/snippets/tex.js +205 -0
  321. data/assets/_vendor/ace/snippets/text.js +15 -0
  322. data/assets/_vendor/ace/snippets/textile.js +45 -0
  323. data/assets/_vendor/ace/snippets/toml.js +15 -0
  324. data/assets/_vendor/ace/snippets/tsx.js +15 -0
  325. data/assets/_vendor/ace/snippets/turtle.js +15 -0
  326. data/assets/_vendor/ace/snippets/twig.js +15 -0
  327. data/assets/_vendor/ace/snippets/typescript.js +15 -0
  328. data/assets/_vendor/ace/snippets/vala.js +201 -0
  329. data/assets/_vendor/ace/snippets/vbscript.js +15 -0
  330. data/assets/_vendor/ace/snippets/velocity.js +44 -0
  331. data/assets/_vendor/ace/snippets/verilog.js +15 -0
  332. data/assets/_vendor/ace/snippets/vhdl.js +15 -0
  333. data/assets/_vendor/ace/snippets/wollok.js +99 -0
  334. data/assets/_vendor/ace/snippets/xml.js +15 -0
  335. data/assets/_vendor/ace/snippets/xquery.js +76 -0
  336. data/assets/_vendor/ace/snippets/yaml.js +15 -0
  337. data/assets/_vendor/ace/theme-ambiance.js +185 -0
  338. data/assets/_vendor/ace/theme-chaos.js +164 -0
  339. data/assets/_vendor/ace/theme-chrome.js +136 -0
  340. data/assets/_vendor/ace/theme-clouds.js +103 -0
  341. data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
  342. data/assets/_vendor/ace/theme-cobalt.js +121 -0
  343. data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
  344. data/assets/_vendor/ace/theme-dawn.js +116 -0
  345. data/assets/_vendor/ace/theme-dracula.js +136 -0
  346. data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
  347. data/assets/_vendor/ace/theme-eclipse.js +106 -0
  348. data/assets/_vendor/ace/theme-github.js +110 -0
  349. data/assets/_vendor/ace/theme-gob.js +120 -0
  350. data/assets/_vendor/ace/theme-gruvbox.js +90 -0
  351. data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
  352. data/assets/_vendor/ace/theme-iplastic.js +129 -0
  353. data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
  354. data/assets/_vendor/ace/theme-kr_theme.js +112 -0
  355. data/assets/_vendor/ace/theme-kuroir.js +69 -0
  356. data/assets/_vendor/ace/theme-merbivore.js +103 -0
  357. data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
  358. data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
  359. data/assets/_vendor/ace/theme-monokai.js +113 -0
  360. data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
  361. data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
  362. data/assets/_vendor/ace/theme-solarized_light.js +99 -0
  363. data/assets/_vendor/ace/theme-sqlserver.js +146 -0
  364. data/assets/_vendor/ace/theme-terminal.js +122 -0
  365. data/assets/_vendor/ace/theme-textmate.js +138 -0
  366. data/assets/_vendor/ace/theme-tomorrow.js +116 -0
  367. data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
  368. data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
  369. data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
  370. data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
  371. data/assets/_vendor/ace/theme-twilight.js +117 -0
  372. data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
  373. data/assets/_vendor/ace/theme-xcode.js +96 -0
  374. data/assets/_vendor/ace/worker-coffee.js +2165 -0
  375. data/assets/_vendor/ace/worker-css.js +8764 -0
  376. data/assets/_vendor/ace/worker-html.js +11614 -0
  377. data/assets/_vendor/ace/worker-javascript.js +12491 -0
  378. data/assets/_vendor/ace/worker-json.js +2396 -0
  379. data/assets/_vendor/ace/worker-lua.js +3637 -0
  380. data/assets/_vendor/ace/worker-php.js +4313 -0
  381. data/assets/_vendor/ace/worker-xml.js +3899 -0
  382. data/assets/_vendor/ace/worker-xquery.js +70688 -0
  383. data/assets/_vendor/motion-ui/_settings.scss +1 -0
  384. data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
  385. data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
  386. data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
  387. data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
  388. data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
  389. data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
  390. data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
  391. data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
  392. data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
  393. data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
  394. data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
  395. data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
  396. data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
  397. data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
  398. data/assets/_vendor/motion-ui/util/_args.scss +2 -2
  399. data/assets/_vendor/motion-ui/util/_function.scss +94 -0
  400. data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
  401. data/assets/_vendor/motion-ui/util/_series.scss +20 -17
  402. data/assets/_vendor/motion-ui/util/_string.scss +36 -0
  403. data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
  404. data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
  405. data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
  406. data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
  407. data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
  408. data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
  409. data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
  410. data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
  411. data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
  412. data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
  413. data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
  414. data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
  415. data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
  416. data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
  417. data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
  418. data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
  419. data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
  420. data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
  421. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
  422. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
  423. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
  424. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
  425. data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
  426. data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
  427. data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
  428. data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
  429. data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
  430. data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
  431. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
  432. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  433. data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
  434. data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
  435. data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
  436. data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
  437. data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
  438. data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
  439. data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
  440. data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
  441. data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
  442. data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
  443. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
  444. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  445. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
  446. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
  447. data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
  448. data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
  449. data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
  450. data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
  451. data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
  452. data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
  453. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
  454. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  455. data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
  456. data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
  457. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
  458. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  459. data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
  460. data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
  461. data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
  462. data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
  463. data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
  464. data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
  465. data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
  466. data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
  467. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
  468. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  469. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
  470. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
  471. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
  472. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
  473. data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
  474. data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
  475. data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
  476. data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
  477. data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
  478. data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
  479. data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
  480. data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
  481. data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
  482. data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
  483. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
  484. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  485. data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
  486. data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
  487. data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
  488. data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
  489. data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
  490. data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
  491. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  492. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
  493. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  494. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  495. data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
  496. data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
  497. data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
  498. data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
  499. data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
  500. data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
  501. data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
  502. data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
  503. data/assets/_vendor/tinymce/tinymce.js +25087 -42606
  504. data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
  505. data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
  506. data/assets/bedrock/js/bedrock.js +1 -71697
  507. data/assets/bedrock/scss/_bedrock-components.scss +20 -0
  508. data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
  509. data/assets/bedrock/scss/_foundation-settings.scss +4 -2
  510. data/assets/bedrock/scss/components/ace-editor.scss +21 -0
  511. data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
  512. data/assets/bedrock/scss/components/date-picker.scss +146 -0
  513. data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
  514. data/assets/bedrock/scss/components/file-input.scss +7 -0
  515. data/assets/bedrock/scss/components/file-preview.scss +36 -0
  516. data/assets/bedrock/scss/components/frame-embed.scss +23 -0
  517. data/assets/bedrock/scss/components/global.scss +27 -0
  518. data/assets/bedrock/scss/components/helper-classes.scss +1 -0
  519. data/assets/bedrock/scss/components/icon-box.scss +38 -0
  520. data/assets/bedrock/scss/components/item-list.scss +66 -0
  521. data/assets/bedrock/scss/components/lists.scss +58 -0
  522. data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
  523. data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
  524. data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
  525. data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
  526. data/assets/bedrock/scss/components/select-box.scss +1 -0
  527. data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
  528. data/assets/bedrock/scss/components/textarea.scss +14 -2
  529. data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
  530. data/lib/bedrock_sass.rb +5 -0
  531. data/lib/bedrock_sass/version.rb +1 -1
  532. data/lib/tasks/before_assets_precompile.rake +1 -0
  533. metadata +395 -4
  534. data/CODE_OF_CONDUCT.md +0 -74
@@ -0,0 +1,380 @@
1
+ define("ace/mode/perl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var PerlHighlightRules = function() {
8
+
9
+ var keywords = (
10
+ "base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|" +
11
+ "no|package|parent|redo|require|scalar|sub|unless|until|while|use|vars"
12
+ );
13
+
14
+ var buildinConstants = ("ARGV|ENV|INC|SIG");
15
+
16
+ var builtinFunctions = (
17
+ "getprotobynumber|getprotobyname|getservbyname|gethostbyaddr|" +
18
+ "gethostbyname|getservbyport|getnetbyaddr|getnetbyname|getsockname|" +
19
+ "getpeername|setpriority|getprotoent|setprotoent|getpriority|" +
20
+ "endprotoent|getservent|setservent|endservent|sethostent|socketpair|" +
21
+ "getsockopt|gethostent|endhostent|setsockopt|setnetent|quotemeta|" +
22
+ "localtime|prototype|getnetent|endnetent|rewinddir|wantarray|getpwuid|" +
23
+ "closedir|getlogin|readlink|endgrent|getgrgid|getgrnam|shmwrite|" +
24
+ "shutdown|readline|endpwent|setgrent|readpipe|formline|truncate|" +
25
+ "dbmclose|syswrite|setpwent|getpwnam|getgrent|getpwent|ucfirst|sysread|" +
26
+ "setpgrp|shmread|sysseek|sysopen|telldir|defined|opendir|connect|" +
27
+ "lcfirst|getppid|binmode|syscall|sprintf|getpgrp|readdir|seekdir|" +
28
+ "waitpid|reverse|unshift|symlink|dbmopen|semget|msgrcv|rename|listen|" +
29
+ "chroot|msgsnd|shmctl|accept|unpack|exists|fileno|shmget|system|" +
30
+ "unlink|printf|gmtime|msgctl|semctl|values|rindex|substr|splice|" +
31
+ "length|msgget|select|socket|return|caller|delete|alarm|ioctl|index|" +
32
+ "undef|lstat|times|srand|chown|fcntl|close|write|umask|rmdir|study|" +
33
+ "sleep|chomp|untie|print|utime|mkdir|atan2|split|crypt|flock|chmod|" +
34
+ "BEGIN|bless|chdir|semop|shift|reset|link|stat|chop|grep|fork|dump|" +
35
+ "join|open|tell|pipe|exit|glob|warn|each|bind|sort|pack|eval|push|" +
36
+ "keys|getc|kill|seek|sqrt|send|wait|rand|tied|read|time|exec|recv|" +
37
+ "eof|chr|int|ord|exp|pos|pop|sin|log|abs|oct|hex|tie|cos|vec|END|ref|" +
38
+ "map|die|uc|lc|do"
39
+ );
40
+
41
+ var keywordMapper = this.createKeywordMapper({
42
+ "keyword": keywords,
43
+ "constant.language": buildinConstants,
44
+ "support.function": builtinFunctions
45
+ }, "identifier");
46
+ this.$rules = {
47
+ "start" : [
48
+ {
49
+ token : "comment.doc",
50
+ regex : "^=(?:begin|item)\\b",
51
+ next : "block_comment"
52
+ }, {
53
+ token : "string.regexp",
54
+ regex : "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"
55
+ }, {
56
+ token : "string", // single line
57
+ regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
58
+ }, {
59
+ token : "string", // multi line string start
60
+ regex : '["].*\\\\$',
61
+ next : "qqstring"
62
+ }, {
63
+ token : "string", // single line
64
+ regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
65
+ }, {
66
+ token : "string", // multi line string start
67
+ regex : "['].*\\\\$",
68
+ next : "qstring"
69
+ }, {
70
+ token : "constant.numeric", // hex
71
+ regex : "0x[0-9a-fA-F]+\\b"
72
+ }, {
73
+ token : "constant.numeric", // float
74
+ regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
75
+ }, {
76
+ token : keywordMapper,
77
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
78
+ }, {
79
+ token : "keyword.operator",
80
+ regex : "%#|\\$#|\\.\\.\\.|\\|\\|=|>>=|<<=|<=>|&&=|=>|!~|\\^=|&=|\\|=|\\.=|x=|%=|\\/=|\\*=|\\-=|\\+=|=~|\\*\\*|\\-\\-|\\.\\.|\\|\\||&&|\\+\\+|\\->|!=|==|>=|<=|>>|<<|,|=|\\?\\:|\\^|\\||x|%|\\/|\\*|<|&|\\\\|~|!|>|\\.|\\-|\\+|\\-C|\\-b|\\-S|\\-u|\\-t|\\-p|\\-l|\\-d|\\-f|\\-g|\\-s|\\-z|\\-k|\\-e|\\-O|\\-T|\\-B|\\-M|\\-A|\\-X|\\-W|\\-c|\\-R|\\-o|\\-x|\\-w|\\-r|\\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)"
81
+ }, {
82
+ token : "comment",
83
+ regex : "#.*$"
84
+ }, {
85
+ token : "lparen",
86
+ regex : "[[({]"
87
+ }, {
88
+ token : "rparen",
89
+ regex : "[\\])}]"
90
+ }, {
91
+ token : "text",
92
+ regex : "\\s+"
93
+ }
94
+ ],
95
+ "qqstring" : [
96
+ {
97
+ token : "string",
98
+ regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"',
99
+ next : "start"
100
+ }, {
101
+ token : "string",
102
+ regex : '.+'
103
+ }
104
+ ],
105
+ "qstring" : [
106
+ {
107
+ token : "string",
108
+ regex : "(?:(?:\\\\.)|(?:[^'\\\\]))*?'",
109
+ next : "start"
110
+ }, {
111
+ token : "string",
112
+ regex : '.+'
113
+ }
114
+ ],
115
+ "block_comment": [
116
+ {
117
+ token: "comment.doc",
118
+ regex: "^=cut\\b",
119
+ next: "start"
120
+ },
121
+ {
122
+ defaultToken: "comment.doc"
123
+ }
124
+ ]
125
+ };
126
+ };
127
+
128
+ oop.inherits(PerlHighlightRules, TextHighlightRules);
129
+
130
+ exports.PerlHighlightRules = PerlHighlightRules;
131
+ });
132
+
133
+ define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module) {
134
+ "use strict";
135
+
136
+ var Range = require("../range").Range;
137
+
138
+ var MatchingBraceOutdent = function() {};
139
+
140
+ (function() {
141
+
142
+ this.checkOutdent = function(line, input) {
143
+ if (! /^\s+$/.test(line))
144
+ return false;
145
+
146
+ return /^\s*\}/.test(input);
147
+ };
148
+
149
+ this.autoOutdent = function(doc, row) {
150
+ var line = doc.getLine(row);
151
+ var match = line.match(/^(\s*\})/);
152
+
153
+ if (!match) return 0;
154
+
155
+ var column = match[1].length;
156
+ var openBracePos = doc.findMatchingBracket({row: row, column: column});
157
+
158
+ if (!openBracePos || openBracePos.row == row) return 0;
159
+
160
+ var indent = this.$getIndent(doc.getLine(openBracePos.row));
161
+ doc.replace(new Range(row, 0, row, column-1), indent);
162
+ };
163
+
164
+ this.$getIndent = function(line) {
165
+ return line.match(/^\s*/)[0];
166
+ };
167
+
168
+ }).call(MatchingBraceOutdent.prototype);
169
+
170
+ exports.MatchingBraceOutdent = MatchingBraceOutdent;
171
+ });
172
+
173
+ define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {
174
+ "use strict";
175
+
176
+ var oop = require("../../lib/oop");
177
+ var Range = require("../../range").Range;
178
+ var BaseFoldMode = require("./fold_mode").FoldMode;
179
+
180
+ var FoldMode = exports.FoldMode = function(commentRegex) {
181
+ if (commentRegex) {
182
+ this.foldingStartMarker = new RegExp(
183
+ this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
184
+ );
185
+ this.foldingStopMarker = new RegExp(
186
+ this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
187
+ );
188
+ }
189
+ };
190
+ oop.inherits(FoldMode, BaseFoldMode);
191
+
192
+ (function() {
193
+
194
+ this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
195
+ this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
196
+ this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
197
+ this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
198
+ this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
199
+ this._getFoldWidgetBase = this.getFoldWidget;
200
+ this.getFoldWidget = function(session, foldStyle, row) {
201
+ var line = session.getLine(row);
202
+
203
+ if (this.singleLineBlockCommentRe.test(line)) {
204
+ if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
205
+ return "";
206
+ }
207
+
208
+ var fw = this._getFoldWidgetBase(session, foldStyle, row);
209
+
210
+ if (!fw && this.startRegionRe.test(line))
211
+ return "start"; // lineCommentRegionStart
212
+
213
+ return fw;
214
+ };
215
+
216
+ this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
217
+ var line = session.getLine(row);
218
+
219
+ if (this.startRegionRe.test(line))
220
+ return this.getCommentRegionBlock(session, line, row);
221
+
222
+ var match = line.match(this.foldingStartMarker);
223
+ if (match) {
224
+ var i = match.index;
225
+
226
+ if (match[1])
227
+ return this.openingBracketBlock(session, match[1], row, i);
228
+
229
+ var range = session.getCommentFoldRange(row, i + match[0].length, 1);
230
+
231
+ if (range && !range.isMultiLine()) {
232
+ if (forceMultiline) {
233
+ range = this.getSectionRange(session, row);
234
+ } else if (foldStyle != "all")
235
+ range = null;
236
+ }
237
+
238
+ return range;
239
+ }
240
+
241
+ if (foldStyle === "markbegin")
242
+ return;
243
+
244
+ var match = line.match(this.foldingStopMarker);
245
+ if (match) {
246
+ var i = match.index + match[0].length;
247
+
248
+ if (match[1])
249
+ return this.closingBracketBlock(session, match[1], row, i);
250
+
251
+ return session.getCommentFoldRange(row, i, -1);
252
+ }
253
+ };
254
+
255
+ this.getSectionRange = function(session, row) {
256
+ var line = session.getLine(row);
257
+ var startIndent = line.search(/\S/);
258
+ var startRow = row;
259
+ var startColumn = line.length;
260
+ row = row + 1;
261
+ var endRow = row;
262
+ var maxRow = session.getLength();
263
+ while (++row < maxRow) {
264
+ line = session.getLine(row);
265
+ var indent = line.search(/\S/);
266
+ if (indent === -1)
267
+ continue;
268
+ if (startIndent > indent)
269
+ break;
270
+ var subRange = this.getFoldWidgetRange(session, "all", row);
271
+
272
+ if (subRange) {
273
+ if (subRange.start.row <= startRow) {
274
+ break;
275
+ } else if (subRange.isMultiLine()) {
276
+ row = subRange.end.row;
277
+ } else if (startIndent == indent) {
278
+ break;
279
+ }
280
+ }
281
+ endRow = row;
282
+ }
283
+
284
+ return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
285
+ };
286
+ this.getCommentRegionBlock = function(session, line, row) {
287
+ var startColumn = line.search(/\s*$/);
288
+ var maxRow = session.getLength();
289
+ var startRow = row;
290
+
291
+ var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
292
+ var depth = 1;
293
+ while (++row < maxRow) {
294
+ line = session.getLine(row);
295
+ var m = re.exec(line);
296
+ if (!m) continue;
297
+ if (m[1]) depth--;
298
+ else depth++;
299
+
300
+ if (!depth) break;
301
+ }
302
+
303
+ var endRow = row;
304
+ if (endRow > startRow) {
305
+ return new Range(startRow, startColumn, endRow, line.length);
306
+ }
307
+ };
308
+
309
+ }).call(FoldMode.prototype);
310
+
311
+ });
312
+
313
+ define("ace/mode/perl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/perl_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"], function(require, exports, module) {
314
+ "use strict";
315
+
316
+ var oop = require("../lib/oop");
317
+ var TextMode = require("./text").Mode;
318
+ var PerlHighlightRules = require("./perl_highlight_rules").PerlHighlightRules;
319
+ var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
320
+ var CStyleFoldMode = require("./folding/cstyle").FoldMode;
321
+
322
+ var Mode = function() {
323
+ this.HighlightRules = PerlHighlightRules;
324
+
325
+ this.$outdent = new MatchingBraceOutdent();
326
+ this.foldingRules = new CStyleFoldMode({start: "^=(begin|item)\\b", end: "^=(cut)\\b"});
327
+ this.$behaviour = this.$defaultBehaviour;
328
+ };
329
+ oop.inherits(Mode, TextMode);
330
+
331
+ (function() {
332
+
333
+ this.lineCommentStart = "#";
334
+ this.blockComment = [
335
+ {start: "=begin", end: "=cut", lineStartOnly: true},
336
+ {start: "=item", end: "=cut", lineStartOnly: true}
337
+ ];
338
+
339
+
340
+ this.getNextLineIndent = function(state, line, tab) {
341
+ var indent = this.$getIndent(line);
342
+
343
+ var tokenizedLine = this.getTokenizer().getLineTokens(line, state);
344
+ var tokens = tokenizedLine.tokens;
345
+
346
+ if (tokens.length && tokens[tokens.length-1].type == "comment") {
347
+ return indent;
348
+ }
349
+
350
+ if (state == "start") {
351
+ var match = line.match(/^.*[\{\(\[:]\s*$/);
352
+ if (match) {
353
+ indent += tab;
354
+ }
355
+ }
356
+
357
+ return indent;
358
+ };
359
+
360
+ this.checkOutdent = function(state, line, input) {
361
+ return this.$outdent.checkOutdent(line, input);
362
+ };
363
+
364
+ this.autoOutdent = function(state, doc, row) {
365
+ this.$outdent.autoOutdent(doc, row);
366
+ };
367
+
368
+ this.$id = "ace/mode/perl";
369
+ }).call(Mode.prototype);
370
+
371
+ exports.Mode = Mode;
372
+ });
373
+ (function() {
374
+ window.require(["ace/mode/perl"], function(m) {
375
+ if (typeof module == "object" && typeof exports == "object" && module) {
376
+ module.exports = m;
377
+ }
378
+ });
379
+ })();
380
+
@@ -0,0 +1,1508 @@
1
+ define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var DocCommentHighlightRules = function() {
8
+ this.$rules = {
9
+ "start" : [ {
10
+ token : "comment.doc.tag",
11
+ regex : "@[\\w\\d_]+" // TODO: fix email addresses
12
+ },
13
+ DocCommentHighlightRules.getTagRule(),
14
+ {
15
+ defaultToken : "comment.doc",
16
+ caseInsensitive: true
17
+ }]
18
+ };
19
+ };
20
+
21
+ oop.inherits(DocCommentHighlightRules, TextHighlightRules);
22
+
23
+ DocCommentHighlightRules.getTagRule = function(start) {
24
+ return {
25
+ token : "comment.doc.tag.storage.type",
26
+ regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
27
+ };
28
+ };
29
+
30
+ DocCommentHighlightRules.getStartRule = function(start) {
31
+ return {
32
+ token : "comment.doc", // doc comment
33
+ regex : "\\/\\*(?=\\*)",
34
+ next : start
35
+ };
36
+ };
37
+
38
+ DocCommentHighlightRules.getEndRule = function (start) {
39
+ return {
40
+ token : "comment.doc", // closing comment
41
+ regex : "\\*\\/",
42
+ next : start
43
+ };
44
+ };
45
+
46
+
47
+ exports.DocCommentHighlightRules = DocCommentHighlightRules;
48
+
49
+ });
50
+
51
+ define("ace/mode/perl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
52
+ "use strict";
53
+
54
+ var oop = require("../lib/oop");
55
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
56
+
57
+ var PerlHighlightRules = function() {
58
+
59
+ var keywords = (
60
+ "base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|" +
61
+ "no|package|parent|redo|require|scalar|sub|unless|until|while|use|vars"
62
+ );
63
+
64
+ var buildinConstants = ("ARGV|ENV|INC|SIG");
65
+
66
+ var builtinFunctions = (
67
+ "getprotobynumber|getprotobyname|getservbyname|gethostbyaddr|" +
68
+ "gethostbyname|getservbyport|getnetbyaddr|getnetbyname|getsockname|" +
69
+ "getpeername|setpriority|getprotoent|setprotoent|getpriority|" +
70
+ "endprotoent|getservent|setservent|endservent|sethostent|socketpair|" +
71
+ "getsockopt|gethostent|endhostent|setsockopt|setnetent|quotemeta|" +
72
+ "localtime|prototype|getnetent|endnetent|rewinddir|wantarray|getpwuid|" +
73
+ "closedir|getlogin|readlink|endgrent|getgrgid|getgrnam|shmwrite|" +
74
+ "shutdown|readline|endpwent|setgrent|readpipe|formline|truncate|" +
75
+ "dbmclose|syswrite|setpwent|getpwnam|getgrent|getpwent|ucfirst|sysread|" +
76
+ "setpgrp|shmread|sysseek|sysopen|telldir|defined|opendir|connect|" +
77
+ "lcfirst|getppid|binmode|syscall|sprintf|getpgrp|readdir|seekdir|" +
78
+ "waitpid|reverse|unshift|symlink|dbmopen|semget|msgrcv|rename|listen|" +
79
+ "chroot|msgsnd|shmctl|accept|unpack|exists|fileno|shmget|system|" +
80
+ "unlink|printf|gmtime|msgctl|semctl|values|rindex|substr|splice|" +
81
+ "length|msgget|select|socket|return|caller|delete|alarm|ioctl|index|" +
82
+ "undef|lstat|times|srand|chown|fcntl|close|write|umask|rmdir|study|" +
83
+ "sleep|chomp|untie|print|utime|mkdir|atan2|split|crypt|flock|chmod|" +
84
+ "BEGIN|bless|chdir|semop|shift|reset|link|stat|chop|grep|fork|dump|" +
85
+ "join|open|tell|pipe|exit|glob|warn|each|bind|sort|pack|eval|push|" +
86
+ "keys|getc|kill|seek|sqrt|send|wait|rand|tied|read|time|exec|recv|" +
87
+ "eof|chr|int|ord|exp|pos|pop|sin|log|abs|oct|hex|tie|cos|vec|END|ref|" +
88
+ "map|die|uc|lc|do"
89
+ );
90
+
91
+ var keywordMapper = this.createKeywordMapper({
92
+ "keyword": keywords,
93
+ "constant.language": buildinConstants,
94
+ "support.function": builtinFunctions
95
+ }, "identifier");
96
+ this.$rules = {
97
+ "start" : [
98
+ {
99
+ token : "comment.doc",
100
+ regex : "^=(?:begin|item)\\b",
101
+ next : "block_comment"
102
+ }, {
103
+ token : "string.regexp",
104
+ regex : "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"
105
+ }, {
106
+ token : "string", // single line
107
+ regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
108
+ }, {
109
+ token : "string", // multi line string start
110
+ regex : '["].*\\\\$',
111
+ next : "qqstring"
112
+ }, {
113
+ token : "string", // single line
114
+ regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
115
+ }, {
116
+ token : "string", // multi line string start
117
+ regex : "['].*\\\\$",
118
+ next : "qstring"
119
+ }, {
120
+ token : "constant.numeric", // hex
121
+ regex : "0x[0-9a-fA-F]+\\b"
122
+ }, {
123
+ token : "constant.numeric", // float
124
+ regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
125
+ }, {
126
+ token : keywordMapper,
127
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
128
+ }, {
129
+ token : "keyword.operator",
130
+ regex : "%#|\\$#|\\.\\.\\.|\\|\\|=|>>=|<<=|<=>|&&=|=>|!~|\\^=|&=|\\|=|\\.=|x=|%=|\\/=|\\*=|\\-=|\\+=|=~|\\*\\*|\\-\\-|\\.\\.|\\|\\||&&|\\+\\+|\\->|!=|==|>=|<=|>>|<<|,|=|\\?\\:|\\^|\\||x|%|\\/|\\*|<|&|\\\\|~|!|>|\\.|\\-|\\+|\\-C|\\-b|\\-S|\\-u|\\-t|\\-p|\\-l|\\-d|\\-f|\\-g|\\-s|\\-z|\\-k|\\-e|\\-O|\\-T|\\-B|\\-M|\\-A|\\-X|\\-W|\\-c|\\-R|\\-o|\\-x|\\-w|\\-r|\\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)"
131
+ }, {
132
+ token : "comment",
133
+ regex : "#.*$"
134
+ }, {
135
+ token : "lparen",
136
+ regex : "[[({]"
137
+ }, {
138
+ token : "rparen",
139
+ regex : "[\\])}]"
140
+ }, {
141
+ token : "text",
142
+ regex : "\\s+"
143
+ }
144
+ ],
145
+ "qqstring" : [
146
+ {
147
+ token : "string",
148
+ regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"',
149
+ next : "start"
150
+ }, {
151
+ token : "string",
152
+ regex : '.+'
153
+ }
154
+ ],
155
+ "qstring" : [
156
+ {
157
+ token : "string",
158
+ regex : "(?:(?:\\\\.)|(?:[^'\\\\]))*?'",
159
+ next : "start"
160
+ }, {
161
+ token : "string",
162
+ regex : '.+'
163
+ }
164
+ ],
165
+ "block_comment": [
166
+ {
167
+ token: "comment.doc",
168
+ regex: "^=cut\\b",
169
+ next: "start"
170
+ },
171
+ {
172
+ defaultToken: "comment.doc"
173
+ }
174
+ ]
175
+ };
176
+ };
177
+
178
+ oop.inherits(PerlHighlightRules, TextHighlightRules);
179
+
180
+ exports.PerlHighlightRules = PerlHighlightRules;
181
+ });
182
+
183
+ define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
184
+ "use strict";
185
+
186
+ var oop = require("../lib/oop");
187
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
188
+
189
+ var PythonHighlightRules = function() {
190
+
191
+ var keywords = (
192
+ "and|as|assert|break|class|continue|def|del|elif|else|except|exec|" +
193
+ "finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|" +
194
+ "raise|return|try|while|with|yield|async|await"
195
+ );
196
+
197
+ var builtinConstants = (
198
+ "True|False|None|NotImplemented|Ellipsis|__debug__"
199
+ );
200
+
201
+ var builtinFunctions = (
202
+ "abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|" +
203
+ "eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|" +
204
+ "binfile|iter|property|tuple|bool|filter|len|range|type|bytearray|" +
205
+ "float|list|raw_input|unichr|callable|format|locals|reduce|unicode|" +
206
+ "chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|" +
207
+ "cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|" +
208
+ "__import__|complex|hash|min|set|apply|delattr|help|next|setattr|" +
209
+ "buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern"
210
+ );
211
+ var keywordMapper = this.createKeywordMapper({
212
+ "invalid.deprecated": "debugger",
213
+ "support.function": builtinFunctions,
214
+ "variable.language": "self|cls",
215
+ "constant.language": builtinConstants,
216
+ "keyword": keywords
217
+ }, "identifier");
218
+
219
+ var strPre = "(?:r|u|ur|R|U|UR|Ur|uR)?";
220
+
221
+ var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
222
+ var octInteger = "(?:0[oO]?[0-7]+)";
223
+ var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
224
+ var binInteger = "(?:0[bB][01]+)";
225
+ var integer = "(?:" + decimalInteger + "|" + octInteger + "|" + hexInteger + "|" + binInteger + ")";
226
+
227
+ var exponent = "(?:[eE][+-]?\\d+)";
228
+ var fraction = "(?:\\.\\d+)";
229
+ var intPart = "(?:\\d+)";
230
+ var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
231
+ var exponentFloat = "(?:(?:" + pointFloat + "|" + intPart + ")" + exponent + ")";
232
+ var floatNumber = "(?:" + exponentFloat + "|" + pointFloat + ")";
233
+
234
+ var stringEscape = "\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";
235
+
236
+ this.$rules = {
237
+ "start" : [ {
238
+ token : "comment",
239
+ regex : "#.*$"
240
+ }, {
241
+ token : "string", // multi line """ string start
242
+ regex : strPre + '"{3}',
243
+ next : "qqstring3"
244
+ }, {
245
+ token : "string", // " string
246
+ regex : strPre + '"(?=.)',
247
+ next : "qqstring"
248
+ }, {
249
+ token : "string", // multi line ''' string start
250
+ regex : strPre + "'{3}",
251
+ next : "qstring3"
252
+ }, {
253
+ token : "string", // ' string
254
+ regex : strPre + "'(?=.)",
255
+ next : "qstring"
256
+ }, {
257
+ token : "constant.numeric", // imaginary
258
+ regex : "(?:" + floatNumber + "|\\d+)[jJ]\\b"
259
+ }, {
260
+ token : "constant.numeric", // float
261
+ regex : floatNumber
262
+ }, {
263
+ token : "constant.numeric", // long integer
264
+ regex : integer + "[lL]\\b"
265
+ }, {
266
+ token : "constant.numeric", // integer
267
+ regex : integer + "\\b"
268
+ }, {
269
+ token : keywordMapper,
270
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
271
+ }, {
272
+ token : "keyword.operator",
273
+ regex : "\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="
274
+ }, {
275
+ token : "paren.lparen",
276
+ regex : "[\\[\\(\\{]"
277
+ }, {
278
+ token : "paren.rparen",
279
+ regex : "[\\]\\)\\}]"
280
+ }, {
281
+ token : "text",
282
+ regex : "\\s+"
283
+ } ],
284
+ "qqstring3" : [ {
285
+ token : "constant.language.escape",
286
+ regex : stringEscape
287
+ }, {
288
+ token : "string", // multi line """ string end
289
+ regex : '"{3}',
290
+ next : "start"
291
+ }, {
292
+ defaultToken : "string"
293
+ } ],
294
+ "qstring3" : [ {
295
+ token : "constant.language.escape",
296
+ regex : stringEscape
297
+ }, {
298
+ token : "string", // multi line ''' string end
299
+ regex : "'{3}",
300
+ next : "start"
301
+ }, {
302
+ defaultToken : "string"
303
+ } ],
304
+ "qqstring" : [{
305
+ token : "constant.language.escape",
306
+ regex : stringEscape
307
+ }, {
308
+ token : "string",
309
+ regex : "\\\\$",
310
+ next : "qqstring"
311
+ }, {
312
+ token : "string",
313
+ regex : '"|$',
314
+ next : "start"
315
+ }, {
316
+ defaultToken: "string"
317
+ }],
318
+ "qstring" : [{
319
+ token : "constant.language.escape",
320
+ regex : stringEscape
321
+ }, {
322
+ token : "string",
323
+ regex : "\\\\$",
324
+ next : "qstring"
325
+ }, {
326
+ token : "string",
327
+ regex : "'|$",
328
+ next : "start"
329
+ }, {
330
+ defaultToken: "string"
331
+ }]
332
+ };
333
+ };
334
+
335
+ oop.inherits(PythonHighlightRules, TextHighlightRules);
336
+
337
+ exports.PythonHighlightRules = PythonHighlightRules;
338
+ });
339
+
340
+ define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
341
+ "use strict";
342
+
343
+ var oop = require("../lib/oop");
344
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
345
+
346
+ var JsonHighlightRules = function() {
347
+ this.$rules = {
348
+ "start" : [
349
+ {
350
+ token : "variable", // single line
351
+ regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'
352
+ }, {
353
+ token : "string", // single line
354
+ regex : '"',
355
+ next : "string"
356
+ }, {
357
+ token : "constant.numeric", // hex
358
+ regex : "0[xX][0-9a-fA-F]+\\b"
359
+ }, {
360
+ token : "constant.numeric", // float
361
+ regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
362
+ }, {
363
+ token : "constant.language.boolean",
364
+ regex : "(?:true|false)\\b"
365
+ }, {
366
+ token : "text", // single quoted strings are not allowed
367
+ regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
368
+ }, {
369
+ token : "comment", // comments are not allowed, but who cares?
370
+ regex : "\\/\\/.*$"
371
+ }, {
372
+ token : "comment.start", // comments are not allowed, but who cares?
373
+ regex : "\\/\\*",
374
+ next : "comment"
375
+ }, {
376
+ token : "paren.lparen",
377
+ regex : "[[({]"
378
+ }, {
379
+ token : "paren.rparen",
380
+ regex : "[\\])}]"
381
+ }, {
382
+ token : "text",
383
+ regex : "\\s+"
384
+ }
385
+ ],
386
+ "string" : [
387
+ {
388
+ token : "constant.language.escape",
389
+ regex : /\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/
390
+ }, {
391
+ token : "string",
392
+ regex : '"|$',
393
+ next : "start"
394
+ }, {
395
+ defaultToken : "string"
396
+ }
397
+ ],
398
+ "comment" : [
399
+ {
400
+ token : "comment.end", // comments are not allowed, but who cares?
401
+ regex : "\\*\\/",
402
+ next : "start"
403
+ }, {
404
+ defaultToken: "comment"
405
+ }
406
+ ]
407
+ };
408
+
409
+ };
410
+
411
+ oop.inherits(JsonHighlightRules, TextHighlightRules);
412
+
413
+ exports.JsonHighlightRules = JsonHighlightRules;
414
+ });
415
+
416
+ define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) {
417
+ "use strict";
418
+
419
+ var oop = require("../lib/oop");
420
+ var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
421
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
422
+ var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*";
423
+
424
+ var JavaScriptHighlightRules = function(options) {
425
+ var keywordMapper = this.createKeywordMapper({
426
+ "variable.language":
427
+ "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|" + // Constructors
428
+ "Namespace|QName|XML|XMLList|" + // E4X
429
+ "ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
430
+ "Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" +
431
+ "Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors
432
+ "SyntaxError|TypeError|URIError|" +
433
+ "decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
434
+ "isNaN|parseFloat|parseInt|" +
435
+ "JSON|Math|" + // Other
436
+ "this|arguments|prototype|window|document" , // Pseudo
437
+ "keyword":
438
+ "const|yield|import|get|set|async|await|" +
439
+ "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
440
+ "if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
441
+ "__parent__|__count__|escape|unescape|with|__proto__|" +
442
+ "class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
443
+ "storage.type":
444
+ "const|let|var|function",
445
+ "constant.language":
446
+ "null|Infinity|NaN|undefined",
447
+ "support.function":
448
+ "alert",
449
+ "constant.language.boolean": "true|false"
450
+ }, "identifier");
451
+ var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";
452
+
453
+ var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
454
+ "u[0-9a-fA-F]{4}|" + // unicode
455
+ "u{[0-9a-fA-F]{1,6}}|" + // es6 unicode
456
+ "[0-2][0-7]{0,2}|" + // oct
457
+ "3[0-7][0-7]?|" + // oct
458
+ "[4-7][0-7]?|" + //oct
459
+ ".)";
460
+ this.$rules = {
461
+ "no_regex" : [
462
+ DocCommentHighlightRules.getStartRule("doc-start"),
463
+ comments("no_regex"),
464
+ {
465
+ token : "string",
466
+ regex : "'(?=.)",
467
+ next : "qstring"
468
+ }, {
469
+ token : "string",
470
+ regex : '"(?=.)',
471
+ next : "qqstring"
472
+ }, {
473
+ token : "constant.numeric", // hexadecimal, octal and binary
474
+ regex : /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/
475
+ }, {
476
+ token : "constant.numeric", // decimal integers and floats
477
+ regex : /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/
478
+ }, {
479
+ token : [
480
+ "storage.type", "punctuation.operator", "support.function",
481
+ "punctuation.operator", "entity.name.function", "text","keyword.operator"
482
+ ],
483
+ regex : "(" + identifierRe + ")(\\.)(prototype)(\\.)(" + identifierRe +")(\\s*)(=)",
484
+ next: "function_arguments"
485
+ }, {
486
+ token : [
487
+ "storage.type", "punctuation.operator", "entity.name.function", "text",
488
+ "keyword.operator", "text", "storage.type", "text", "paren.lparen"
489
+ ],
490
+ regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
491
+ next: "function_arguments"
492
+ }, {
493
+ token : [
494
+ "entity.name.function", "text", "keyword.operator", "text", "storage.type",
495
+ "text", "paren.lparen"
496
+ ],
497
+ regex : "(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
498
+ next: "function_arguments"
499
+ }, {
500
+ token : [
501
+ "storage.type", "punctuation.operator", "entity.name.function", "text",
502
+ "keyword.operator", "text",
503
+ "storage.type", "text", "entity.name.function", "text", "paren.lparen"
504
+ ],
505
+ regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",
506
+ next: "function_arguments"
507
+ }, {
508
+ token : [
509
+ "storage.type", "text", "entity.name.function", "text", "paren.lparen"
510
+ ],
511
+ regex : "(function)(\\s+)(" + identifierRe + ")(\\s*)(\\()",
512
+ next: "function_arguments"
513
+ }, {
514
+ token : [
515
+ "entity.name.function", "text", "punctuation.operator",
516
+ "text", "storage.type", "text", "paren.lparen"
517
+ ],
518
+ regex : "(" + identifierRe + ")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",
519
+ next: "function_arguments"
520
+ }, {
521
+ token : [
522
+ "text", "text", "storage.type", "text", "paren.lparen"
523
+ ],
524
+ regex : "(:)(\\s*)(function)(\\s*)(\\()",
525
+ next: "function_arguments"
526
+ }, {
527
+ token : "keyword",
528
+ regex : "from(?=\\s*('|\"))"
529
+ }, {
530
+ token : "keyword",
531
+ regex : "(?:" + kwBeforeRe + ")\\b",
532
+ next : "start"
533
+ }, {
534
+ token : ["support.constant"],
535
+ regex : /that\b/
536
+ }, {
537
+ token : ["storage.type", "punctuation.operator", "support.function.firebug"],
538
+ regex : /(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/
539
+ }, {
540
+ token : keywordMapper,
541
+ regex : identifierRe
542
+ }, {
543
+ token : "punctuation.operator",
544
+ regex : /[.](?![.])/,
545
+ next : "property"
546
+ }, {
547
+ token : "storage.type",
548
+ regex : /=>/,
549
+ next : "start"
550
+ }, {
551
+ token : "keyword.operator",
552
+ regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
553
+ next : "start"
554
+ }, {
555
+ token : "punctuation.operator",
556
+ regex : /[?:,;.]/,
557
+ next : "start"
558
+ }, {
559
+ token : "paren.lparen",
560
+ regex : /[\[({]/,
561
+ next : "start"
562
+ }, {
563
+ token : "paren.rparen",
564
+ regex : /[\])}]/
565
+ }, {
566
+ token: "comment",
567
+ regex: /^#!.*$/
568
+ }
569
+ ],
570
+ property: [{
571
+ token : "text",
572
+ regex : "\\s+"
573
+ }, {
574
+ token : [
575
+ "storage.type", "punctuation.operator", "entity.name.function", "text",
576
+ "keyword.operator", "text",
577
+ "storage.type", "text", "entity.name.function", "text", "paren.lparen"
578
+ ],
579
+ regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",
580
+ next: "function_arguments"
581
+ }, {
582
+ token : "punctuation.operator",
583
+ regex : /[.](?![.])/
584
+ }, {
585
+ token : "support.function",
586
+ regex : /(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/
587
+ }, {
588
+ token : "support.function.dom",
589
+ regex : /(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/
590
+ }, {
591
+ token : "support.constant",
592
+ regex : /(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/
593
+ }, {
594
+ token : "identifier",
595
+ regex : identifierRe
596
+ }, {
597
+ regex: "",
598
+ token: "empty",
599
+ next: "no_regex"
600
+ }
601
+ ],
602
+ "start": [
603
+ DocCommentHighlightRules.getStartRule("doc-start"),
604
+ comments("start"),
605
+ {
606
+ token: "string.regexp",
607
+ regex: "\\/",
608
+ next: "regex"
609
+ }, {
610
+ token : "text",
611
+ regex : "\\s+|^$",
612
+ next : "start"
613
+ }, {
614
+ token: "empty",
615
+ regex: "",
616
+ next: "no_regex"
617
+ }
618
+ ],
619
+ "regex": [
620
+ {
621
+ token: "regexp.keyword.operator",
622
+ regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
623
+ }, {
624
+ token: "string.regexp",
625
+ regex: "/[sxngimy]*",
626
+ next: "no_regex"
627
+ }, {
628
+ token : "invalid",
629
+ regex: /\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/
630
+ }, {
631
+ token : "constant.language.escape",
632
+ regex: /\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/
633
+ }, {
634
+ token : "constant.language.delimiter",
635
+ regex: /\|/
636
+ }, {
637
+ token: "constant.language.escape",
638
+ regex: /\[\^?/,
639
+ next: "regex_character_class"
640
+ }, {
641
+ token: "empty",
642
+ regex: "$",
643
+ next: "no_regex"
644
+ }, {
645
+ defaultToken: "string.regexp"
646
+ }
647
+ ],
648
+ "regex_character_class": [
649
+ {
650
+ token: "regexp.charclass.keyword.operator",
651
+ regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
652
+ }, {
653
+ token: "constant.language.escape",
654
+ regex: "]",
655
+ next: "regex"
656
+ }, {
657
+ token: "constant.language.escape",
658
+ regex: "-"
659
+ }, {
660
+ token: "empty",
661
+ regex: "$",
662
+ next: "no_regex"
663
+ }, {
664
+ defaultToken: "string.regexp.charachterclass"
665
+ }
666
+ ],
667
+ "function_arguments": [
668
+ {
669
+ token: "variable.parameter",
670
+ regex: identifierRe
671
+ }, {
672
+ token: "punctuation.operator",
673
+ regex: "[, ]+"
674
+ }, {
675
+ token: "punctuation.operator",
676
+ regex: "$"
677
+ }, {
678
+ token: "empty",
679
+ regex: "",
680
+ next: "no_regex"
681
+ }
682
+ ],
683
+ "qqstring" : [
684
+ {
685
+ token : "constant.language.escape",
686
+ regex : escapedRe
687
+ }, {
688
+ token : "string",
689
+ regex : "\\\\$",
690
+ consumeLineEnd : true
691
+ }, {
692
+ token : "string",
693
+ regex : '"|$',
694
+ next : "no_regex"
695
+ }, {
696
+ defaultToken: "string"
697
+ }
698
+ ],
699
+ "qstring" : [
700
+ {
701
+ token : "constant.language.escape",
702
+ regex : escapedRe
703
+ }, {
704
+ token : "string",
705
+ regex : "\\\\$",
706
+ consumeLineEnd : true
707
+ }, {
708
+ token : "string",
709
+ regex : "'|$",
710
+ next : "no_regex"
711
+ }, {
712
+ defaultToken: "string"
713
+ }
714
+ ]
715
+ };
716
+
717
+
718
+ if (!options || !options.noES6) {
719
+ this.$rules.no_regex.unshift({
720
+ regex: "[{}]", onMatch: function(val, state, stack) {
721
+ this.next = val == "{" ? this.nextState : "";
722
+ if (val == "{" && stack.length) {
723
+ stack.unshift("start", state);
724
+ }
725
+ else if (val == "}" && stack.length) {
726
+ stack.shift();
727
+ this.next = stack.shift();
728
+ if (this.next.indexOf("string") != -1 || this.next.indexOf("jsx") != -1)
729
+ return "paren.quasi.end";
730
+ }
731
+ return val == "{" ? "paren.lparen" : "paren.rparen";
732
+ },
733
+ nextState: "start"
734
+ }, {
735
+ token : "string.quasi.start",
736
+ regex : /`/,
737
+ push : [{
738
+ token : "constant.language.escape",
739
+ regex : escapedRe
740
+ }, {
741
+ token : "paren.quasi.start",
742
+ regex : /\${/,
743
+ push : "start"
744
+ }, {
745
+ token : "string.quasi.end",
746
+ regex : /`/,
747
+ next : "pop"
748
+ }, {
749
+ defaultToken: "string.quasi"
750
+ }]
751
+ });
752
+
753
+ if (!options || options.jsx != false)
754
+ JSX.call(this);
755
+ }
756
+
757
+ this.embedRules(DocCommentHighlightRules, "doc-",
758
+ [ DocCommentHighlightRules.getEndRule("no_regex") ]);
759
+
760
+ this.normalizeRules();
761
+ };
762
+
763
+ oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
764
+
765
+ function JSX() {
766
+ var tagRegex = identifierRe.replace("\\d", "\\d\\-");
767
+ var jsxTag = {
768
+ onMatch : function(val, state, stack) {
769
+ var offset = val.charAt(1) == "/" ? 2 : 1;
770
+ if (offset == 1) {
771
+ if (state != this.nextState)
772
+ stack.unshift(this.next, this.nextState, 0);
773
+ else
774
+ stack.unshift(this.next);
775
+ stack[2]++;
776
+ } else if (offset == 2) {
777
+ if (state == this.nextState) {
778
+ stack[1]--;
779
+ if (!stack[1] || stack[1] < 0) {
780
+ stack.shift();
781
+ stack.shift();
782
+ }
783
+ }
784
+ }
785
+ return [{
786
+ type: "meta.tag.punctuation." + (offset == 1 ? "" : "end-") + "tag-open.xml",
787
+ value: val.slice(0, offset)
788
+ }, {
789
+ type: "meta.tag.tag-name.xml",
790
+ value: val.substr(offset)
791
+ }];
792
+ },
793
+ regex : "</?" + tagRegex + "",
794
+ next: "jsxAttributes",
795
+ nextState: "jsx"
796
+ };
797
+ this.$rules.start.unshift(jsxTag);
798
+ var jsxJsRule = {
799
+ regex: "{",
800
+ token: "paren.quasi.start",
801
+ push: "start"
802
+ };
803
+ this.$rules.jsx = [
804
+ jsxJsRule,
805
+ jsxTag,
806
+ {include : "reference"},
807
+ {defaultToken: "string"}
808
+ ];
809
+ this.$rules.jsxAttributes = [{
810
+ token : "meta.tag.punctuation.tag-close.xml",
811
+ regex : "/?>",
812
+ onMatch : function(value, currentState, stack) {
813
+ if (currentState == stack[0])
814
+ stack.shift();
815
+ if (value.length == 2) {
816
+ if (stack[0] == this.nextState)
817
+ stack[1]--;
818
+ if (!stack[1] || stack[1] < 0) {
819
+ stack.splice(0, 2);
820
+ }
821
+ }
822
+ this.next = stack[0] || "start";
823
+ return [{type: this.token, value: value}];
824
+ },
825
+ nextState: "jsx"
826
+ },
827
+ jsxJsRule,
828
+ comments("jsxAttributes"),
829
+ {
830
+ token : "entity.other.attribute-name.xml",
831
+ regex : tagRegex
832
+ }, {
833
+ token : "keyword.operator.attribute-equals.xml",
834
+ regex : "="
835
+ }, {
836
+ token : "text.tag-whitespace.xml",
837
+ regex : "\\s+"
838
+ }, {
839
+ token : "string.attribute-value.xml",
840
+ regex : "'",
841
+ stateName : "jsx_attr_q",
842
+ push : [
843
+ {token : "string.attribute-value.xml", regex: "'", next: "pop"},
844
+ {include : "reference"},
845
+ {defaultToken : "string.attribute-value.xml"}
846
+ ]
847
+ }, {
848
+ token : "string.attribute-value.xml",
849
+ regex : '"',
850
+ stateName : "jsx_attr_qq",
851
+ push : [
852
+ {token : "string.attribute-value.xml", regex: '"', next: "pop"},
853
+ {include : "reference"},
854
+ {defaultToken : "string.attribute-value.xml"}
855
+ ]
856
+ },
857
+ jsxTag
858
+ ];
859
+ this.$rules.reference = [{
860
+ token : "constant.language.escape.reference.xml",
861
+ regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
862
+ }];
863
+ }
864
+
865
+ function comments(next) {
866
+ return [
867
+ {
868
+ token : "comment", // multi line comment
869
+ regex : /\/\*/,
870
+ next: [
871
+ DocCommentHighlightRules.getTagRule(),
872
+ {token : "comment", regex : "\\*\\/", next : next || "pop"},
873
+ {defaultToken : "comment", caseInsensitive: true}
874
+ ]
875
+ }, {
876
+ token : "comment",
877
+ regex : "\\/\\/",
878
+ next: [
879
+ DocCommentHighlightRules.getTagRule(),
880
+ {token : "comment", regex : "$|^", next : next || "pop"},
881
+ {defaultToken : "comment", caseInsensitive: true}
882
+ ]
883
+ }
884
+ ];
885
+ }
886
+ exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
887
+ });
888
+
889
+ define("ace/mode/pgsql_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules","ace/mode/perl_highlight_rules","ace/mode/python_highlight_rules","ace/mode/json_highlight_rules","ace/mode/javascript_highlight_rules"], function(require, exports, module) {
890
+
891
+ var oop = require("../lib/oop");
892
+ var lang = require("../lib/lang");
893
+ var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
894
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
895
+ var PerlHighlightRules = require("./perl_highlight_rules").PerlHighlightRules;
896
+ var PythonHighlightRules = require("./python_highlight_rules").PythonHighlightRules;
897
+ var JsonHighlightRules = require("./json_highlight_rules").JsonHighlightRules;
898
+ var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
899
+
900
+ var PgsqlHighlightRules = function() {
901
+ var keywords = (
902
+ "abort|absolute|abstime|access|aclitem|action|add|admin|after|aggregate|all|also|alter|always|" +
903
+ "analyse|analyze|and|any|anyarray|anyelement|anyenum|anynonarray|anyrange|array|as|asc|" +
904
+ "assertion|assignment|asymmetric|at|attribute|authorization|backward|before|begin|between|" +
905
+ "bigint|binary|bit|bool|boolean|both|box|bpchar|by|bytea|cache|called|cascade|cascaded|case|cast|" +
906
+ "catalog|chain|char|character|characteristics|check|checkpoint|cid|cidr|circle|class|close|" +
907
+ "cluster|coalesce|collate|collation|column|comment|comments|commit|committed|concurrently|" +
908
+ "configuration|connection|constraint|constraints|content|continue|conversion|copy|cost|" +
909
+ "create|cross|cstring|csv|current|current_catalog|current_date|current_role|" +
910
+ "current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|" +
911
+ "date|daterange|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|" +
912
+ "definer|delete|delimiter|delimiters|desc|dictionary|disable|discard|distinct|do|document|" +
913
+ "domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|event_trigger|" +
914
+ "except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|" +
915
+ "family|fdw_handler|fetch|first|float|float4|float8|following|for|force|foreign|forward|" +
916
+ "freeze|from|full|function|functions|global|grant|granted|greatest|group|gtsvector|handler|" +
917
+ "having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|in|including|" +
918
+ "increment|index|indexes|inet|inherit|inherits|initially|inline|inner|inout|input|" +
919
+ "insensitive|insert|instead|int|int2|int2vector|int4|int4range|int8|int8range|integer|" +
920
+ "internal|intersect|interval|into|invoker|is|isnull|isolation|join|json|key|label|language|" +
921
+ "language_handler|large|last|lateral|lc_collate|lc_ctype|leading|leakproof|least|left|level|" +
922
+ "like|limit|line|listen|load|local|localtime|localtimestamp|location|lock|lseg|macaddr|" +
923
+ "mapping|match|materialized|maxvalue|minute|minvalue|mode|money|month|move|name|names|" +
924
+ "national|natural|nchar|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|" +
925
+ "numeric|numrange|object|of|off|offset|oid|oids|oidvector|on|only|opaque|operator|option|" +
926
+ "options|or|order|out|outer|over|overlaps|overlay|owned|owner|parser|partial|partition|passing|" +
927
+ "password|path|pg_attribute|pg_auth_members|pg_authid|pg_class|pg_database|pg_node_tree|" +
928
+ "pg_proc|pg_type|placing|plans|point|polygon|position|preceding|precision|prepare|prepared|" +
929
+ "preserve|primary|prior|privileges|procedural|procedure|program|quote|range|read|real|" +
930
+ "reassign|recheck|record|recursive|ref|refcursor|references|refresh|regclass|regconfig|" +
931
+ "regdictionary|regoper|regoperator|regproc|regprocedure|regtype|reindex|relative|release|" +
932
+ "reltime|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|" +
933
+ "right|role|rollback|row|rows|rule|savepoint|schema|scroll|search|second|security|select|" +
934
+ "sequence|sequences|serializable|server|session|session_user|set|setof|share|show|similar|" +
935
+ "simple|smallint|smgr|snapshot|some|stable|standalone|start|statement|statistics|stdin|" +
936
+ "stdout|storage|strict|strip|substring|symmetric|sysid|system|table|tables|tablespace|temp|" +
937
+ "template|temporary|text|then|tid|time|timestamp|timestamptz|timetz|tinterval|to|trailing|" +
938
+ "transaction|treat|trigger|trim|true|truncate|trusted|tsquery|tsrange|tstzrange|tsvector|" +
939
+ "txid_snapshot|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|" +
940
+ "unlogged|until|update|user|using|uuid|vacuum|valid|validate|validator|value|values|varbit|" +
941
+ "varchar|variadic|varying|verbose|version|view|void|volatile|when|where|whitespace|window|" +
942
+ "with|without|work|wrapper|write|xid|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|" +
943
+ "xmlforest|xmlparse|xmlpi|xmlroot|xmlserialize|year|yes|zone"
944
+ );
945
+
946
+
947
+ var builtinFunctions = (
948
+ "RI_FKey_cascade_del|RI_FKey_cascade_upd|RI_FKey_check_ins|RI_FKey_check_upd|" +
949
+ "RI_FKey_noaction_del|RI_FKey_noaction_upd|RI_FKey_restrict_del|RI_FKey_restrict_upd|" +
950
+ "RI_FKey_setdefault_del|RI_FKey_setdefault_upd|RI_FKey_setnull_del|" +
951
+ "RI_FKey_setnull_upd|abbrev|abs|abstime|abstimeeq|abstimege|abstimegt|abstimein|abstimele|" +
952
+ "abstimelt|abstimene|abstimeout|abstimerecv|abstimesend|aclcontains|acldefault|" +
953
+ "aclexplode|aclinsert|aclitemeq|aclitemin|aclitemout|aclremove|acos|age|any_in|any_out|" +
954
+ "anyarray_in|anyarray_out|anyarray_recv|anyarray_send|anyelement_in|anyelement_out|" +
955
+ "anyenum_in|anyenum_out|anynonarray_in|anynonarray_out|anyrange_in|anyrange_out|" +
956
+ "anytextcat|area|areajoinsel|areasel|array_agg|array_agg_finalfn|array_agg_transfn|" +
957
+ "array_append|array_cat|array_dims|array_eq|array_fill|array_ge|array_gt|array_in|" +
958
+ "array_larger|array_le|array_length|array_lower|array_lt|array_ndims|array_ne|array_out|" +
959
+ "array_prepend|array_recv|array_remove|array_replace|array_send|array_smaller|" +
960
+ "array_to_json|array_to_string|array_typanalyze|array_upper|arraycontained|" +
961
+ "arraycontains|arraycontjoinsel|arraycontsel|arrayoverlap|ascii|ascii_to_mic|" +
962
+ "ascii_to_utf8|asin|atan|atan2|avg|big5_to_euc_tw|big5_to_mic|big5_to_utf8|bit_and|bit_in|" +
963
+ "bit_length|bit_or|bit_out|bit_recv|bit_send|bitand|bitcat|bitcmp|biteq|bitge|bitgt|bitle|" +
964
+ "bitlt|bitne|bitnot|bitor|bitshiftleft|bitshiftright|bittypmodin|bittypmodout|bitxor|bool|" +
965
+ "bool_and|bool_or|booland_statefunc|booleq|boolge|boolgt|boolin|boolle|boollt|boolne|" +
966
+ "boolor_statefunc|boolout|boolrecv|boolsend|box|box_above|box_above_eq|box_add|box_below|" +
967
+ "box_below_eq|box_center|box_contain|box_contain_pt|box_contained|box_distance|box_div|" +
968
+ "box_eq|box_ge|box_gt|box_in|box_intersect|box_le|box_left|box_lt|box_mul|box_out|" +
969
+ "box_overabove|box_overbelow|box_overlap|box_overleft|box_overright|box_recv|box_right|" +
970
+ "box_same|box_send|box_sub|bpchar_larger|bpchar_pattern_ge|bpchar_pattern_gt|" +
971
+ "bpchar_pattern_le|bpchar_pattern_lt|bpchar_smaller|bpcharcmp|bpchareq|bpcharge|" +
972
+ "bpchargt|bpchariclike|bpcharicnlike|bpcharicregexeq|bpcharicregexne|bpcharin|bpcharle|" +
973
+ "bpcharlike|bpcharlt|bpcharne|bpcharnlike|bpcharout|bpcharrecv|bpcharregexeq|" +
974
+ "bpcharregexne|bpcharsend|bpchartypmodin|bpchartypmodout|broadcast|btabstimecmp|" +
975
+ "btarraycmp|btbeginscan|btboolcmp|btbpchar_pattern_cmp|btbuild|btbuildempty|" +
976
+ "btbulkdelete|btcanreturn|btcharcmp|btcostestimate|btendscan|btfloat48cmp|btfloat4cmp|" +
977
+ "btfloat4sortsupport|btfloat84cmp|btfloat8cmp|btfloat8sortsupport|btgetbitmap|" +
978
+ "btgettuple|btinsert|btint24cmp|btint28cmp|btint2cmp|btint2sortsupport|btint42cmp|" +
979
+ "btint48cmp|btint4cmp|btint4sortsupport|btint82cmp|btint84cmp|btint8cmp|" +
980
+ "btint8sortsupport|btmarkpos|btnamecmp|btnamesortsupport|btoidcmp|btoidsortsupport|" +
981
+ "btoidvectorcmp|btoptions|btrecordcmp|btreltimecmp|btrescan|btrestrpos|btrim|" +
982
+ "bttext_pattern_cmp|bttextcmp|bttidcmp|bttintervalcmp|btvacuumcleanup|" +
983
+ "bytea_string_agg_finalfn|bytea_string_agg_transfn|byteacat|byteacmp|byteaeq|byteage|" +
984
+ "byteagt|byteain|byteale|bytealike|bytealt|byteane|byteanlike|byteaout|bytearecv|byteasend|" +
985
+ "cash_cmp|cash_div_cash|cash_div_flt4|cash_div_flt8|cash_div_int2|cash_div_int4|cash_eq|" +
986
+ "cash_ge|cash_gt|cash_in|cash_le|cash_lt|cash_mi|cash_mul_flt4|cash_mul_flt8|" +
987
+ "cash_mul_int2|cash_mul_int4|cash_ne|cash_out|cash_pl|cash_recv|cash_send|cash_words|" +
988
+ "cashlarger|cashsmaller|cbrt|ceil|ceiling|center|char|char_length|character_length|chareq|" +
989
+ "charge|chargt|charin|charle|charlt|charne|charout|charrecv|charsend|chr|cideq|cidin|cidout|" +
990
+ "cidr|cidr_in|cidr_out|cidr_recv|cidr_send|cidrecv|cidsend|circle|circle_above|" +
991
+ "circle_add_pt|circle_below|circle_center|circle_contain|circle_contain_pt|" +
992
+ "circle_contained|circle_distance|circle_div_pt|circle_eq|circle_ge|circle_gt|circle_in|" +
993
+ "circle_le|circle_left|circle_lt|circle_mul_pt|circle_ne|circle_out|circle_overabove|" +
994
+ "circle_overbelow|circle_overlap|circle_overleft|circle_overright|circle_recv|" +
995
+ "circle_right|circle_same|circle_send|circle_sub_pt|clock_timestamp|close_lb|close_ls|" +
996
+ "close_lseg|close_pb|close_pl|close_ps|close_sb|close_sl|col_description|concat|concat_ws|" +
997
+ "contjoinsel|contsel|convert|convert_from|convert_to|corr|cos|cot|count|covar_pop|" +
998
+ "covar_samp|cstring_in|cstring_out|cstring_recv|cstring_send|cume_dist|current_database|" +
999
+ "current_query|current_schema|current_schemas|current_setting|current_user|currtid|" +
1000
+ "currtid2|currval|cursor_to_xml|cursor_to_xmlschema|database_to_xml|" +
1001
+ "database_to_xml_and_xmlschema|database_to_xmlschema|date|date_cmp|date_cmp_timestamp|" +
1002
+ "date_cmp_timestamptz|date_eq|date_eq_timestamp|date_eq_timestamptz|date_ge|" +
1003
+ "date_ge_timestamp|date_ge_timestamptz|date_gt|date_gt_timestamp|date_gt_timestamptz|" +
1004
+ "date_in|date_larger|date_le|date_le_timestamp|date_le_timestamptz|date_lt|" +
1005
+ "date_lt_timestamp|date_lt_timestamptz|date_mi|date_mi_interval|date_mii|date_ne|" +
1006
+ "date_ne_timestamp|date_ne_timestamptz|date_out|date_part|date_pl_interval|date_pli|" +
1007
+ "date_recv|date_send|date_smaller|date_sortsupport|date_trunc|daterange|" +
1008
+ "daterange_canonical|daterange_subdiff|datetime_pl|datetimetz_pl|dcbrt|decode|degrees|" +
1009
+ "dense_rank|dexp|diagonal|diameter|dispell_init|dispell_lexize|dist_cpoly|dist_lb|dist_pb|" +
1010
+ "dist_pc|dist_pl|dist_ppath|dist_ps|dist_sb|dist_sl|div|dlog1|dlog10|domain_in|domain_recv|" +
1011
+ "dpow|dround|dsimple_init|dsimple_lexize|dsnowball_init|dsnowball_lexize|dsqrt|" +
1012
+ "dsynonym_init|dsynonym_lexize|dtrunc|elem_contained_by_range|encode|enum_cmp|enum_eq|" +
1013
+ "enum_first|enum_ge|enum_gt|enum_in|enum_larger|enum_last|enum_le|enum_lt|enum_ne|enum_out|" +
1014
+ "enum_range|enum_recv|enum_send|enum_smaller|eqjoinsel|eqsel|euc_cn_to_mic|" +
1015
+ "euc_cn_to_utf8|euc_jis_2004_to_shift_jis_2004|euc_jis_2004_to_utf8|euc_jp_to_mic|" +
1016
+ "euc_jp_to_sjis|euc_jp_to_utf8|euc_kr_to_mic|euc_kr_to_utf8|euc_tw_to_big5|" +
1017
+ "euc_tw_to_mic|euc_tw_to_utf8|event_trigger_in|event_trigger_out|every|exp|factorial|" +
1018
+ "family|fdw_handler_in|fdw_handler_out|first_value|float4|float48div|float48eq|float48ge|" +
1019
+ "float48gt|float48le|float48lt|float48mi|float48mul|float48ne|float48pl|float4_accum|" +
1020
+ "float4abs|float4div|float4eq|float4ge|float4gt|float4in|float4larger|float4le|float4lt|" +
1021
+ "float4mi|float4mul|float4ne|float4out|float4pl|float4recv|float4send|float4smaller|" +
1022
+ "float4um|float4up|float8|float84div|float84eq|float84ge|float84gt|float84le|float84lt|" +
1023
+ "float84mi|float84mul|float84ne|float84pl|float8_accum|float8_avg|float8_corr|" +
1024
+ "float8_covar_pop|float8_covar_samp|float8_regr_accum|float8_regr_avgx|" +
1025
+ "float8_regr_avgy|float8_regr_intercept|float8_regr_r2|float8_regr_slope|" +
1026
+ "float8_regr_sxx|float8_regr_sxy|float8_regr_syy|float8_stddev_pop|float8_stddev_samp|" +
1027
+ "float8_var_pop|float8_var_samp|float8abs|float8div|float8eq|float8ge|float8gt|float8in|" +
1028
+ "float8larger|float8le|float8lt|float8mi|float8mul|float8ne|float8out|float8pl|float8recv|" +
1029
+ "float8send|float8smaller|float8um|float8up|floor|flt4_mul_cash|flt8_mul_cash|" +
1030
+ "fmgr_c_validator|fmgr_internal_validator|fmgr_sql_validator|format|format_type|" +
1031
+ "gb18030_to_utf8|gbk_to_utf8|generate_series|generate_subscripts|get_bit|get_byte|" +
1032
+ "get_current_ts_config|getdatabaseencoding|getpgusername|gin_cmp_prefix|" +
1033
+ "gin_cmp_tslexeme|gin_extract_tsquery|gin_extract_tsvector|gin_tsquery_consistent|" +
1034
+ "ginarrayconsistent|ginarrayextract|ginbeginscan|ginbuild|ginbuildempty|ginbulkdelete|" +
1035
+ "gincostestimate|ginendscan|gingetbitmap|gininsert|ginmarkpos|ginoptions|" +
1036
+ "ginqueryarrayextract|ginrescan|ginrestrpos|ginvacuumcleanup|gist_box_compress|" +
1037
+ "gist_box_consistent|gist_box_decompress|gist_box_penalty|gist_box_picksplit|" +
1038
+ "gist_box_same|gist_box_union|gist_circle_compress|gist_circle_consistent|" +
1039
+ "gist_point_compress|gist_point_consistent|gist_point_distance|gist_poly_compress|" +
1040
+ "gist_poly_consistent|gistbeginscan|gistbuild|gistbuildempty|gistbulkdelete|" +
1041
+ "gistcostestimate|gistendscan|gistgetbitmap|gistgettuple|gistinsert|gistmarkpos|" +
1042
+ "gistoptions|gistrescan|gistrestrpos|gistvacuumcleanup|gtsquery_compress|" +
1043
+ "gtsquery_consistent|gtsquery_decompress|gtsquery_penalty|gtsquery_picksplit|" +
1044
+ "gtsquery_same|gtsquery_union|gtsvector_compress|gtsvector_consistent|" +
1045
+ "gtsvector_decompress|gtsvector_penalty|gtsvector_picksplit|gtsvector_same|" +
1046
+ "gtsvector_union|gtsvectorin|gtsvectorout|has_any_column_privilege|" +
1047
+ "has_column_privilege|has_database_privilege|has_foreign_data_wrapper_privilege|" +
1048
+ "has_function_privilege|has_language_privilege|has_schema_privilege|" +
1049
+ "has_sequence_privilege|has_server_privilege|has_table_privilege|" +
1050
+ "has_tablespace_privilege|has_type_privilege|hash_aclitem|hash_array|hash_numeric|" +
1051
+ "hash_range|hashbeginscan|hashbpchar|hashbuild|hashbuildempty|hashbulkdelete|hashchar|" +
1052
+ "hashcostestimate|hashendscan|hashenum|hashfloat4|hashfloat8|hashgetbitmap|hashgettuple|" +
1053
+ "hashinet|hashinsert|hashint2|hashint2vector|hashint4|hashint8|hashmacaddr|hashmarkpos|" +
1054
+ "hashname|hashoid|hashoidvector|hashoptions|hashrescan|hashrestrpos|hashtext|" +
1055
+ "hashvacuumcleanup|hashvarlena|height|host|hostmask|iclikejoinsel|iclikesel|" +
1056
+ "icnlikejoinsel|icnlikesel|icregexeqjoinsel|icregexeqsel|icregexnejoinsel|icregexnesel|" +
1057
+ "inet_client_addr|inet_client_port|inet_in|inet_out|inet_recv|inet_send|" +
1058
+ "inet_server_addr|inet_server_port|inetand|inetmi|inetmi_int8|inetnot|inetor|inetpl|" +
1059
+ "initcap|int2|int24div|int24eq|int24ge|int24gt|int24le|int24lt|int24mi|int24mul|int24ne|" +
1060
+ "int24pl|int28div|int28eq|int28ge|int28gt|int28le|int28lt|int28mi|int28mul|int28ne|int28pl|" +
1061
+ "int2_accum|int2_avg_accum|int2_mul_cash|int2_sum|int2abs|int2and|int2div|int2eq|int2ge|" +
1062
+ "int2gt|int2in|int2larger|int2le|int2lt|int2mi|int2mod|int2mul|int2ne|int2not|int2or|int2out|" +
1063
+ "int2pl|int2recv|int2send|int2shl|int2shr|int2smaller|int2um|int2up|int2vectoreq|" +
1064
+ "int2vectorin|int2vectorout|int2vectorrecv|int2vectorsend|int2xor|int4|int42div|int42eq|" +
1065
+ "int42ge|int42gt|int42le|int42lt|int42mi|int42mul|int42ne|int42pl|int48div|int48eq|int48ge|" +
1066
+ "int48gt|int48le|int48lt|int48mi|int48mul|int48ne|int48pl|int4_accum|int4_avg_accum|" +
1067
+ "int4_mul_cash|int4_sum|int4abs|int4and|int4div|int4eq|int4ge|int4gt|int4in|int4inc|" +
1068
+ "int4larger|int4le|int4lt|int4mi|int4mod|int4mul|int4ne|int4not|int4or|int4out|int4pl|" +
1069
+ "int4range|int4range_canonical|int4range_subdiff|int4recv|int4send|int4shl|int4shr|" +
1070
+ "int4smaller|int4um|int4up|int4xor|int8|int82div|int82eq|int82ge|int82gt|int82le|int82lt|" +
1071
+ "int82mi|int82mul|int82ne|int82pl|int84div|int84eq|int84ge|int84gt|int84le|int84lt|int84mi|" +
1072
+ "int84mul|int84ne|int84pl|int8_accum|int8_avg|int8_avg_accum|int8_sum|int8abs|int8and|" +
1073
+ "int8div|int8eq|int8ge|int8gt|int8in|int8inc|int8inc_any|int8inc_float8_float8|int8larger|" +
1074
+ "int8le|int8lt|int8mi|int8mod|int8mul|int8ne|int8not|int8or|int8out|int8pl|int8pl_inet|" +
1075
+ "int8range|int8range_canonical|int8range_subdiff|int8recv|int8send|int8shl|int8shr|" +
1076
+ "int8smaller|int8um|int8up|int8xor|integer_pl_date|inter_lb|inter_sb|inter_sl|internal_in|" +
1077
+ "internal_out|interval_accum|interval_avg|interval_cmp|interval_div|interval_eq|" +
1078
+ "interval_ge|interval_gt|interval_hash|interval_in|interval_larger|interval_le|" +
1079
+ "interval_lt|interval_mi|interval_mul|interval_ne|interval_out|interval_pl|" +
1080
+ "interval_pl_date|interval_pl_time|interval_pl_timestamp|interval_pl_timestamptz|" +
1081
+ "interval_pl_timetz|interval_recv|interval_send|interval_smaller|interval_transform|" +
1082
+ "interval_um|intervaltypmodin|intervaltypmodout|intinterval|isclosed|isempty|isfinite|" +
1083
+ "ishorizontal|iso8859_1_to_utf8|iso8859_to_utf8|iso_to_koi8r|iso_to_mic|iso_to_win1251|" +
1084
+ "iso_to_win866|isopen|isparallel|isperp|isvertical|johab_to_utf8|json_agg|" +
1085
+ "json_agg_finalfn|json_agg_transfn|json_array_element|json_array_element_text|" +
1086
+ "json_array_elements|json_array_length|json_each|json_each_text|json_extract_path|" +
1087
+ "json_extract_path_op|json_extract_path_text|json_extract_path_text_op|json_in|" +
1088
+ "json_object_field|json_object_field_text|json_object_keys|json_out|" +
1089
+ "json_populate_record|json_populate_recordset|json_recv|json_send|justify_days|" +
1090
+ "justify_hours|justify_interval|koi8r_to_iso|koi8r_to_mic|koi8r_to_utf8|" +
1091
+ "koi8r_to_win1251|koi8r_to_win866|koi8u_to_utf8|lag|language_handler_in|" +
1092
+ "language_handler_out|last_value|lastval|latin1_to_mic|latin2_to_mic|latin2_to_win1250|" +
1093
+ "latin3_to_mic|latin4_to_mic|lead|left|length|like|like_escape|likejoinsel|likesel|line|" +
1094
+ "line_distance|line_eq|line_horizontal|line_in|line_interpt|line_intersect|line_out|" +
1095
+ "line_parallel|line_perp|line_recv|line_send|line_vertical|ln|lo_close|lo_creat|lo_create|" +
1096
+ "lo_export|lo_import|lo_lseek|lo_lseek64|lo_open|lo_tell|lo_tell64|lo_truncate|" +
1097
+ "lo_truncate64|lo_unlink|log|loread|lower|lower_inc|lower_inf|lowrite|lpad|lseg|lseg_center|" +
1098
+ "lseg_distance|lseg_eq|lseg_ge|lseg_gt|lseg_horizontal|lseg_in|lseg_interpt|" +
1099
+ "lseg_intersect|lseg_le|lseg_length|lseg_lt|lseg_ne|lseg_out|lseg_parallel|lseg_perp|" +
1100
+ "lseg_recv|lseg_send|lseg_vertical|ltrim|macaddr_and|macaddr_cmp|macaddr_eq|macaddr_ge|" +
1101
+ "macaddr_gt|macaddr_in|macaddr_le|macaddr_lt|macaddr_ne|macaddr_not|macaddr_or|" +
1102
+ "macaddr_out|macaddr_recv|macaddr_send|makeaclitem|masklen|max|md5|mic_to_ascii|" +
1103
+ "mic_to_big5|mic_to_euc_cn|mic_to_euc_jp|mic_to_euc_kr|mic_to_euc_tw|mic_to_iso|" +
1104
+ "mic_to_koi8r|mic_to_latin1|mic_to_latin2|mic_to_latin3|mic_to_latin4|mic_to_sjis|" +
1105
+ "mic_to_win1250|mic_to_win1251|mic_to_win866|min|mktinterval|mod|money|mul_d_interval|" +
1106
+ "name|nameeq|namege|namegt|nameiclike|nameicnlike|nameicregexeq|nameicregexne|namein|" +
1107
+ "namele|namelike|namelt|namene|namenlike|nameout|namerecv|nameregexeq|nameregexne|namesend|" +
1108
+ "neqjoinsel|neqsel|netmask|network|network_cmp|network_eq|network_ge|network_gt|" +
1109
+ "network_le|network_lt|network_ne|network_sub|network_subeq|network_sup|network_supeq|" +
1110
+ "nextval|nlikejoinsel|nlikesel|notlike|now|npoints|nth_value|ntile|numeric_abs|" +
1111
+ "numeric_accum|numeric_add|numeric_avg|numeric_avg_accum|numeric_cmp|numeric_div|" +
1112
+ "numeric_div_trunc|numeric_eq|numeric_exp|numeric_fac|numeric_ge|numeric_gt|numeric_in|" +
1113
+ "numeric_inc|numeric_larger|numeric_le|numeric_ln|numeric_log|numeric_lt|numeric_mod|" +
1114
+ "numeric_mul|numeric_ne|numeric_out|numeric_power|numeric_recv|numeric_send|" +
1115
+ "numeric_smaller|numeric_sqrt|numeric_stddev_pop|numeric_stddev_samp|numeric_sub|" +
1116
+ "numeric_transform|numeric_uminus|numeric_uplus|numeric_var_pop|numeric_var_samp|" +
1117
+ "numerictypmodin|numerictypmodout|numnode|numrange|numrange_subdiff|obj_description|" +
1118
+ "octet_length|oid|oideq|oidge|oidgt|oidin|oidlarger|oidle|oidlt|oidne|oidout|oidrecv|oidsend|" +
1119
+ "oidsmaller|oidvectoreq|oidvectorge|oidvectorgt|oidvectorin|oidvectorle|oidvectorlt|" +
1120
+ "oidvectorne|oidvectorout|oidvectorrecv|oidvectorsend|oidvectortypes|on_pb|on_pl|" +
1121
+ "on_ppath|on_ps|on_sb|on_sl|opaque_in|opaque_out|overlaps|overlay|path|path_add|path_add_pt|" +
1122
+ "path_center|path_contain_pt|path_distance|path_div_pt|path_in|path_inter|path_length|" +
1123
+ "path_mul_pt|path_n_eq|path_n_ge|path_n_gt|path_n_le|path_n_lt|path_npoints|path_out|" +
1124
+ "path_recv|path_send|path_sub_pt|pclose|percent_rank|pg_advisory_lock|" +
1125
+ "pg_advisory_lock_shared|pg_advisory_unlock|pg_advisory_unlock_all|" +
1126
+ "pg_advisory_unlock_shared|pg_advisory_xact_lock|pg_advisory_xact_lock_shared|" +
1127
+ "pg_available_extension_versions|pg_available_extensions|pg_backend_pid|" +
1128
+ "pg_backup_start_time|pg_cancel_backend|pg_char_to_encoding|pg_client_encoding|" +
1129
+ "pg_collation_for|pg_collation_is_visible|pg_column_is_updatable|pg_column_size|" +
1130
+ "pg_conf_load_time|pg_conversion_is_visible|pg_create_restore_point|" +
1131
+ "pg_current_xlog_insert_location|pg_current_xlog_location|pg_cursor|pg_database_size|" +
1132
+ "pg_describe_object|pg_encoding_max_length|pg_encoding_to_char|" +
1133
+ "pg_event_trigger_dropped_objects|pg_export_snapshot|pg_extension_config_dump|" +
1134
+ "pg_extension_update_paths|pg_function_is_visible|pg_get_constraintdef|pg_get_expr|" +
1135
+ "pg_get_function_arguments|pg_get_function_identity_arguments|" +
1136
+ "pg_get_function_result|pg_get_functiondef|pg_get_indexdef|pg_get_keywords|" +
1137
+ "pg_get_multixact_members|pg_get_ruledef|pg_get_serial_sequence|pg_get_triggerdef|" +
1138
+ "pg_get_userbyid|pg_get_viewdef|pg_has_role|pg_identify_object|pg_indexes_size|" +
1139
+ "pg_is_in_backup|pg_is_in_recovery|pg_is_other_temp_schema|pg_is_xlog_replay_paused|" +
1140
+ "pg_last_xact_replay_timestamp|pg_last_xlog_receive_location|" +
1141
+ "pg_last_xlog_replay_location|pg_listening_channels|pg_lock_status|pg_ls_dir|" +
1142
+ "pg_my_temp_schema|pg_node_tree_in|pg_node_tree_out|pg_node_tree_recv|" +
1143
+ "pg_node_tree_send|pg_notify|pg_opclass_is_visible|pg_operator_is_visible|" +
1144
+ "pg_opfamily_is_visible|pg_options_to_table|pg_postmaster_start_time|" +
1145
+ "pg_prepared_statement|pg_prepared_xact|pg_read_binary_file|pg_read_file|" +
1146
+ "pg_relation_filenode|pg_relation_filepath|pg_relation_is_updatable|pg_relation_size|" +
1147
+ "pg_reload_conf|pg_rotate_logfile|pg_sequence_parameters|pg_show_all_settings|" +
1148
+ "pg_size_pretty|pg_sleep|pg_start_backup|pg_stat_clear_snapshot|pg_stat_file|" +
1149
+ "pg_stat_get_activity|pg_stat_get_analyze_count|pg_stat_get_autoanalyze_count|" +
1150
+ "pg_stat_get_autovacuum_count|pg_stat_get_backend_activity|" +
1151
+ "pg_stat_get_backend_activity_start|pg_stat_get_backend_client_addr|" +
1152
+ "pg_stat_get_backend_client_port|pg_stat_get_backend_dbid|pg_stat_get_backend_idset|" +
1153
+ "pg_stat_get_backend_pid|pg_stat_get_backend_start|pg_stat_get_backend_userid|" +
1154
+ "pg_stat_get_backend_waiting|pg_stat_get_backend_xact_start|" +
1155
+ "pg_stat_get_bgwriter_buf_written_checkpoints|" +
1156
+ "pg_stat_get_bgwriter_buf_written_clean|pg_stat_get_bgwriter_maxwritten_clean|" +
1157
+ "pg_stat_get_bgwriter_requested_checkpoints|pg_stat_get_bgwriter_stat_reset_time|" +
1158
+ "pg_stat_get_bgwriter_timed_checkpoints|pg_stat_get_blocks_fetched|" +
1159
+ "pg_stat_get_blocks_hit|pg_stat_get_buf_alloc|pg_stat_get_buf_fsync_backend|" +
1160
+ "pg_stat_get_buf_written_backend|pg_stat_get_checkpoint_sync_time|" +
1161
+ "pg_stat_get_checkpoint_write_time|pg_stat_get_db_blk_read_time|" +
1162
+ "pg_stat_get_db_blk_write_time|pg_stat_get_db_blocks_fetched|" +
1163
+ "pg_stat_get_db_blocks_hit|pg_stat_get_db_conflict_all|" +
1164
+ "pg_stat_get_db_conflict_bufferpin|pg_stat_get_db_conflict_lock|" +
1165
+ "pg_stat_get_db_conflict_snapshot|pg_stat_get_db_conflict_startup_deadlock|" +
1166
+ "pg_stat_get_db_conflict_tablespace|pg_stat_get_db_deadlocks|" +
1167
+ "pg_stat_get_db_numbackends|pg_stat_get_db_stat_reset_time|" +
1168
+ "pg_stat_get_db_temp_bytes|pg_stat_get_db_temp_files|pg_stat_get_db_tuples_deleted|" +
1169
+ "pg_stat_get_db_tuples_fetched|pg_stat_get_db_tuples_inserted|" +
1170
+ "pg_stat_get_db_tuples_returned|pg_stat_get_db_tuples_updated|" +
1171
+ "pg_stat_get_db_xact_commit|pg_stat_get_db_xact_rollback|pg_stat_get_dead_tuples|" +
1172
+ "pg_stat_get_function_calls|pg_stat_get_function_self_time|" +
1173
+ "pg_stat_get_function_total_time|pg_stat_get_last_analyze_time|" +
1174
+ "pg_stat_get_last_autoanalyze_time|pg_stat_get_last_autovacuum_time|" +
1175
+ "pg_stat_get_last_vacuum_time|pg_stat_get_live_tuples|pg_stat_get_numscans|" +
1176
+ "pg_stat_get_tuples_deleted|pg_stat_get_tuples_fetched|" +
1177
+ "pg_stat_get_tuples_hot_updated|pg_stat_get_tuples_inserted|" +
1178
+ "pg_stat_get_tuples_returned|pg_stat_get_tuples_updated|pg_stat_get_vacuum_count|" +
1179
+ "pg_stat_get_wal_senders|pg_stat_get_xact_blocks_fetched|" +
1180
+ "pg_stat_get_xact_blocks_hit|pg_stat_get_xact_function_calls|" +
1181
+ "pg_stat_get_xact_function_self_time|pg_stat_get_xact_function_total_time|" +
1182
+ "pg_stat_get_xact_numscans|pg_stat_get_xact_tuples_deleted|" +
1183
+ "pg_stat_get_xact_tuples_fetched|pg_stat_get_xact_tuples_hot_updated|" +
1184
+ "pg_stat_get_xact_tuples_inserted|pg_stat_get_xact_tuples_returned|" +
1185
+ "pg_stat_get_xact_tuples_updated|pg_stat_reset|pg_stat_reset_shared|" +
1186
+ "pg_stat_reset_single_function_counters|pg_stat_reset_single_table_counters|" +
1187
+ "pg_stop_backup|pg_switch_xlog|pg_table_is_visible|pg_table_size|" +
1188
+ "pg_tablespace_databases|pg_tablespace_location|pg_tablespace_size|" +
1189
+ "pg_terminate_backend|pg_timezone_abbrevs|pg_timezone_names|pg_total_relation_size|" +
1190
+ "pg_trigger_depth|pg_try_advisory_lock|pg_try_advisory_lock_shared|" +
1191
+ "pg_try_advisory_xact_lock|pg_try_advisory_xact_lock_shared|pg_ts_config_is_visible|" +
1192
+ "pg_ts_dict_is_visible|pg_ts_parser_is_visible|pg_ts_template_is_visible|" +
1193
+ "pg_type_is_visible|pg_typeof|pg_xlog_location_diff|pg_xlog_replay_pause|" +
1194
+ "pg_xlog_replay_resume|pg_xlogfile_name|pg_xlogfile_name_offset|pi|plainto_tsquery|" +
1195
+ "plpgsql_call_handler|plpgsql_inline_handler|plpgsql_validator|point|point_above|" +
1196
+ "point_add|point_below|point_distance|point_div|point_eq|point_horiz|point_in|point_left|" +
1197
+ "point_mul|point_ne|point_out|point_recv|point_right|point_send|point_sub|point_vert|" +
1198
+ "poly_above|poly_below|poly_center|poly_contain|poly_contain_pt|poly_contained|" +
1199
+ "poly_distance|poly_in|poly_left|poly_npoints|poly_out|poly_overabove|poly_overbelow|" +
1200
+ "poly_overlap|poly_overleft|poly_overright|poly_recv|poly_right|poly_same|poly_send|" +
1201
+ "polygon|popen|position|positionjoinsel|positionsel|postgresql_fdw_validator|pow|power|" +
1202
+ "prsd_end|prsd_headline|prsd_lextype|prsd_nexttoken|prsd_start|pt_contained_circle|" +
1203
+ "pt_contained_poly|query_to_xml|query_to_xml_and_xmlschema|query_to_xmlschema|" +
1204
+ "querytree|quote_ident|quote_literal|quote_nullable|radians|radius|random|range_adjacent|" +
1205
+ "range_after|range_before|range_cmp|range_contained_by|range_contains|" +
1206
+ "range_contains_elem|range_eq|range_ge|range_gist_compress|range_gist_consistent|" +
1207
+ "range_gist_decompress|range_gist_penalty|range_gist_picksplit|range_gist_same|" +
1208
+ "range_gist_union|range_gt|range_in|range_intersect|range_le|range_lt|range_minus|" +
1209
+ "range_ne|range_out|range_overlaps|range_overleft|range_overright|range_recv|range_send|" +
1210
+ "range_typanalyze|range_union|rangesel|rank|record_eq|record_ge|record_gt|record_in|" +
1211
+ "record_le|record_lt|record_ne|record_out|record_recv|record_send|regclass|regclassin|" +
1212
+ "regclassout|regclassrecv|regclasssend|regconfigin|regconfigout|regconfigrecv|" +
1213
+ "regconfigsend|regdictionaryin|regdictionaryout|regdictionaryrecv|regdictionarysend|" +
1214
+ "regexeqjoinsel|regexeqsel|regexnejoinsel|regexnesel|regexp_matches|regexp_replace|" +
1215
+ "regexp_split_to_array|regexp_split_to_table|regoperatorin|regoperatorout|" +
1216
+ "regoperatorrecv|regoperatorsend|regoperin|regoperout|regoperrecv|regopersend|" +
1217
+ "regprocedurein|regprocedureout|regprocedurerecv|regproceduresend|regprocin|regprocout|" +
1218
+ "regprocrecv|regprocsend|regr_avgx|regr_avgy|regr_count|regr_intercept|regr_r2|" +
1219
+ "regr_slope|regr_sxx|regr_sxy|regr_syy|regtypein|regtypeout|regtyperecv|regtypesend|" +
1220
+ "reltime|reltimeeq|reltimege|reltimegt|reltimein|reltimele|reltimelt|reltimene|reltimeout|" +
1221
+ "reltimerecv|reltimesend|repeat|replace|reverse|right|round|row_number|row_to_json|rpad|" +
1222
+ "rtrim|scalargtjoinsel|scalargtsel|scalarltjoinsel|scalarltsel|schema_to_xml|" +
1223
+ "schema_to_xml_and_xmlschema|schema_to_xmlschema|session_user|set_bit|set_byte|" +
1224
+ "set_config|set_masklen|setseed|setval|setweight|shell_in|shell_out|" +
1225
+ "shift_jis_2004_to_euc_jis_2004|shift_jis_2004_to_utf8|shobj_description|sign|" +
1226
+ "similar_escape|sin|sjis_to_euc_jp|sjis_to_mic|sjis_to_utf8|slope|smgreq|smgrin|smgrne|" +
1227
+ "smgrout|spg_kd_choose|spg_kd_config|spg_kd_inner_consistent|spg_kd_picksplit|" +
1228
+ "spg_quad_choose|spg_quad_config|spg_quad_inner_consistent|spg_quad_leaf_consistent|" +
1229
+ "spg_quad_picksplit|spg_range_quad_choose|spg_range_quad_config|" +
1230
+ "spg_range_quad_inner_consistent|spg_range_quad_leaf_consistent|" +
1231
+ "spg_range_quad_picksplit|spg_text_choose|spg_text_config|spg_text_inner_consistent|" +
1232
+ "spg_text_leaf_consistent|spg_text_picksplit|spgbeginscan|spgbuild|spgbuildempty|" +
1233
+ "spgbulkdelete|spgcanreturn|spgcostestimate|spgendscan|spggetbitmap|spggettuple|" +
1234
+ "spginsert|spgmarkpos|spgoptions|spgrescan|spgrestrpos|spgvacuumcleanup|split_part|sqrt|" +
1235
+ "statement_timestamp|stddev|stddev_pop|stddev_samp|string_agg|string_agg_finalfn|" +
1236
+ "string_agg_transfn|string_to_array|strip|strpos|substr|substring|sum|" +
1237
+ "suppress_redundant_updates_trigger|table_to_xml|table_to_xml_and_xmlschema|" +
1238
+ "table_to_xmlschema|tan|text|text_ge|text_gt|text_larger|text_le|text_lt|text_pattern_ge|" +
1239
+ "text_pattern_gt|text_pattern_le|text_pattern_lt|text_smaller|textanycat|textcat|texteq|" +
1240
+ "texticlike|texticnlike|texticregexeq|texticregexne|textin|textlen|textlike|textne|" +
1241
+ "textnlike|textout|textrecv|textregexeq|textregexne|textsend|thesaurus_init|" +
1242
+ "thesaurus_lexize|tideq|tidge|tidgt|tidin|tidlarger|tidle|tidlt|tidne|tidout|tidrecv|tidsend|" +
1243
+ "tidsmaller|time_cmp|time_eq|time_ge|time_gt|time_hash|time_in|time_larger|time_le|time_lt|" +
1244
+ "time_mi_interval|time_mi_time|time_ne|time_out|time_pl_interval|time_recv|time_send|" +
1245
+ "time_smaller|time_transform|timedate_pl|timemi|timenow|timeofday|timepl|timestamp_cmp|" +
1246
+ "timestamp_cmp_date|timestamp_cmp_timestamptz|timestamp_eq|timestamp_eq_date|" +
1247
+ "timestamp_eq_timestamptz|timestamp_ge|timestamp_ge_date|timestamp_ge_timestamptz|" +
1248
+ "timestamp_gt|timestamp_gt_date|timestamp_gt_timestamptz|timestamp_hash|timestamp_in|" +
1249
+ "timestamp_larger|timestamp_le|timestamp_le_date|timestamp_le_timestamptz|" +
1250
+ "timestamp_lt|timestamp_lt_date|timestamp_lt_timestamptz|timestamp_mi|" +
1251
+ "timestamp_mi_interval|timestamp_ne|timestamp_ne_date|timestamp_ne_timestamptz|" +
1252
+ "timestamp_out|timestamp_pl_interval|timestamp_recv|timestamp_send|timestamp_smaller|" +
1253
+ "timestamp_sortsupport|timestamp_transform|timestamptypmodin|timestamptypmodout|" +
1254
+ "timestamptz_cmp|timestamptz_cmp_date|timestamptz_cmp_timestamp|timestamptz_eq|" +
1255
+ "timestamptz_eq_date|timestamptz_eq_timestamp|timestamptz_ge|timestamptz_ge_date|" +
1256
+ "timestamptz_ge_timestamp|timestamptz_gt|timestamptz_gt_date|" +
1257
+ "timestamptz_gt_timestamp|timestamptz_in|timestamptz_larger|timestamptz_le|" +
1258
+ "timestamptz_le_date|timestamptz_le_timestamp|timestamptz_lt|timestamptz_lt_date|" +
1259
+ "timestamptz_lt_timestamp|timestamptz_mi|timestamptz_mi_interval|timestamptz_ne|" +
1260
+ "timestamptz_ne_date|timestamptz_ne_timestamp|timestamptz_out|" +
1261
+ "timestamptz_pl_interval|timestamptz_recv|timestamptz_send|timestamptz_smaller|" +
1262
+ "timestamptztypmodin|timestamptztypmodout|timetypmodin|timetypmodout|timetz_cmp|" +
1263
+ "timetz_eq|timetz_ge|timetz_gt|timetz_hash|timetz_in|timetz_larger|timetz_le|timetz_lt|" +
1264
+ "timetz_mi_interval|timetz_ne|timetz_out|timetz_pl_interval|timetz_recv|timetz_send|" +
1265
+ "timetz_smaller|timetzdate_pl|timetztypmodin|timetztypmodout|timezone|tinterval|" +
1266
+ "tintervalct|tintervalend|tintervaleq|tintervalge|tintervalgt|tintervalin|tintervalle|" +
1267
+ "tintervalleneq|tintervallenge|tintervallengt|tintervallenle|tintervallenlt|" +
1268
+ "tintervallenne|tintervallt|tintervalne|tintervalout|tintervalov|tintervalrecv|" +
1269
+ "tintervalrel|tintervalsame|tintervalsend|tintervalstart|to_ascii|to_char|to_date|to_hex|" +
1270
+ "to_json|to_number|to_timestamp|to_tsquery|to_tsvector|transaction_timestamp|translate|" +
1271
+ "trigger_in|trigger_out|trunc|ts_debug|ts_headline|ts_lexize|ts_match_qv|ts_match_tq|" +
1272
+ "ts_match_tt|ts_match_vq|ts_parse|ts_rank|ts_rank_cd|ts_rewrite|ts_stat|ts_token_type|" +
1273
+ "ts_typanalyze|tsmatchjoinsel|tsmatchsel|tsq_mcontained|tsq_mcontains|tsquery_and|" +
1274
+ "tsquery_cmp|tsquery_eq|tsquery_ge|tsquery_gt|tsquery_le|tsquery_lt|tsquery_ne|" +
1275
+ "tsquery_not|tsquery_or|tsqueryin|tsqueryout|tsqueryrecv|tsquerysend|tsrange|" +
1276
+ "tsrange_subdiff|tstzrange|tstzrange_subdiff|tsvector_cmp|tsvector_concat|tsvector_eq|" +
1277
+ "tsvector_ge|tsvector_gt|tsvector_le|tsvector_lt|tsvector_ne|tsvector_update_trigger|" +
1278
+ "tsvector_update_trigger_column|tsvectorin|tsvectorout|tsvectorrecv|tsvectorsend|" +
1279
+ "txid_current|txid_current_snapshot|txid_snapshot_in|txid_snapshot_out|" +
1280
+ "txid_snapshot_recv|txid_snapshot_send|txid_snapshot_xip|txid_snapshot_xmax|" +
1281
+ "txid_snapshot_xmin|txid_visible_in_snapshot|uhc_to_utf8|unique_key_recheck|unknownin|" +
1282
+ "unknownout|unknownrecv|unknownsend|unnest|upper|upper_inc|upper_inf|utf8_to_ascii|" +
1283
+ "utf8_to_big5|utf8_to_euc_cn|utf8_to_euc_jis_2004|utf8_to_euc_jp|utf8_to_euc_kr|" +
1284
+ "utf8_to_euc_tw|utf8_to_gb18030|utf8_to_gbk|utf8_to_iso8859|utf8_to_iso8859_1|" +
1285
+ "utf8_to_johab|utf8_to_koi8r|utf8_to_koi8u|utf8_to_shift_jis_2004|utf8_to_sjis|" +
1286
+ "utf8_to_uhc|utf8_to_win|uuid_cmp|uuid_eq|uuid_ge|uuid_gt|uuid_hash|uuid_in|uuid_le|" +
1287
+ "uuid_lt|uuid_ne|uuid_out|uuid_recv|uuid_send|var_pop|var_samp|varbit_in|varbit_out|" +
1288
+ "varbit_recv|varbit_send|varbit_transform|varbitcmp|varbiteq|varbitge|varbitgt|varbitle|" +
1289
+ "varbitlt|varbitne|varbittypmodin|varbittypmodout|varchar_transform|varcharin|" +
1290
+ "varcharout|varcharrecv|varcharsend|varchartypmodin|varchartypmodout|variance|version|" +
1291
+ "void_in|void_out|void_recv|void_send|width|width_bucket|win1250_to_latin2|" +
1292
+ "win1250_to_mic|win1251_to_iso|win1251_to_koi8r|win1251_to_mic|win1251_to_win866|" +
1293
+ "win866_to_iso|win866_to_koi8r|win866_to_mic|win866_to_win1251|win_to_utf8|xideq|" +
1294
+ "xideqint4|xidin|xidout|xidrecv|xidsend|xml|xml_in|xml_is_well_formed|" +
1295
+ "xml_is_well_formed_content|xml_is_well_formed_document|xml_out|xml_recv|xml_send|" +
1296
+ "xmlagg|xmlcomment|xmlconcat2|xmlexists|xmlvalidate|xpath|xpath_exists"
1297
+ );
1298
+
1299
+ var keywordMapper = this.createKeywordMapper({
1300
+ "support.function": builtinFunctions,
1301
+ "keyword": keywords
1302
+ }, "identifier", true);
1303
+
1304
+
1305
+ var sqlRules = [{
1306
+ token : "string", // single line string -- assume dollar strings if multi-line for now
1307
+ regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
1308
+ }, {
1309
+ token : "variable.language", // pg identifier
1310
+ regex : '".*?"'
1311
+ }, {
1312
+ token : "constant.numeric", // float
1313
+ regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
1314
+ }, {
1315
+ token : keywordMapper,
1316
+ regex : "[a-zA-Z_][a-zA-Z0-9_$]*\\b" // TODO - Unicode in identifiers
1317
+ }, {
1318
+ token : "keyword.operator",
1319
+ regex : "!|!!|!~|!~\\*|!~~|!~~\\*|#|##|#<|#<=|#<>|#=|#>|#>=|%|\\&|\\&\\&|\\&<|\\&<\\||\\&>|\\*|\\+|" +
1320
+ "\\-|/|<|<#>|<\\->|<<|<<=|<<\\||<=|<>|<\\?>|<@|<\\^|=|>|>=|>>|>>=|>\\^|\\?#|\\?\\-|\\?\\-\\||" +
1321
+ "\\?\\||\\?\\|\\||@|@\\-@|@>|@@|@@@|\\^|\\||\\|\\&>|\\|/|\\|>>|\\|\\||\\|\\|/|~|~\\*|~<=~|~<~|" +
1322
+ "~=|~>=~|~>~|~~|~~\\*"
1323
+ }, {
1324
+ token : "paren.lparen",
1325
+ regex : "[\\(]"
1326
+ }, {
1327
+ token : "paren.rparen",
1328
+ regex : "[\\)]"
1329
+ }, {
1330
+ token : "text",
1331
+ regex : "\\s+"
1332
+ }
1333
+ ];
1334
+
1335
+
1336
+ this.$rules = {
1337
+ "start" : [{
1338
+ token : "comment",
1339
+ regex : "--.*$"
1340
+ },
1341
+ DocCommentHighlightRules.getStartRule("doc-start"),
1342
+ {
1343
+ token : "comment", // multi-line comment
1344
+ regex : "\\/\\*",
1345
+ next : "comment"
1346
+ },{
1347
+ token : "keyword.statementBegin",
1348
+ regex : "[a-zA-Z]+", // Could enumerate starting keywords but this allows things to work when new statements are added.
1349
+ next : "statement"
1350
+ },{
1351
+ token : "support.buildin", // psql directive
1352
+ regex : "^\\\\[\\S]+.*$"
1353
+ }
1354
+ ],
1355
+
1356
+ "statement" : [{
1357
+ token : "comment",
1358
+ regex : "--.*$"
1359
+ }, {
1360
+ token : "comment", // multi-line comment
1361
+ regex : "\\/\\*",
1362
+ next : "commentStatement"
1363
+ }, {
1364
+ token : "statementEnd",
1365
+ regex : ";",
1366
+ next : "start"
1367
+ }, {
1368
+ token : "string",
1369
+ regex : "\\$perl\\$",
1370
+ next : "perl-start"
1371
+ }, {
1372
+ token : "string",
1373
+ regex : "\\$python\\$",
1374
+ next : "python-start"
1375
+ }, {
1376
+ token : "string",
1377
+ regex : "\\$json\\$",
1378
+ next : "json-start"
1379
+ }, {
1380
+ token : "string",
1381
+ regex : "\\$(js|javascript)\\$",
1382
+ next : "javascript-start"
1383
+ }, {
1384
+ token : "string",
1385
+ regex : "\\$[\\w_0-9]*\\$$", // dollar quote at the end of a line
1386
+ next : "dollarSql"
1387
+ }, {
1388
+ token : "string",
1389
+ regex : "\\$[\\w_0-9]*\\$",
1390
+ next : "dollarStatementString"
1391
+ }
1392
+ ].concat(sqlRules),
1393
+
1394
+ "dollarSql" : [{
1395
+ token : "comment",
1396
+ regex : "--.*$"
1397
+ }, {
1398
+ token : "comment", // multi-line comment
1399
+ regex : "\\/\\*",
1400
+ next : "commentDollarSql"
1401
+ }, {
1402
+ token : "string", // end quoting with dollar at the start of a line
1403
+ regex : "^\\$[\\w_0-9]*\\$",
1404
+ next : "statement"
1405
+ }, {
1406
+ token : "string",
1407
+ regex : "\\$[\\w_0-9]*\\$",
1408
+ next : "dollarSqlString"
1409
+ }
1410
+ ].concat(sqlRules),
1411
+
1412
+ "comment" : [{
1413
+ token : "comment", // closing comment
1414
+ regex : "\\*\\/",
1415
+ next : "start"
1416
+ }, {
1417
+ defaultToken : "comment"
1418
+ }
1419
+ ],
1420
+
1421
+ "commentStatement" : [{
1422
+ token : "comment", // closing comment
1423
+ regex : "\\*\\/",
1424
+ next : "statement"
1425
+ }, {
1426
+ defaultToken : "comment"
1427
+ }
1428
+ ],
1429
+
1430
+ "commentDollarSql" : [{
1431
+ token : "comment", // closing comment
1432
+ regex : "\\*\\/",
1433
+ next : "dollarSql"
1434
+ }, {
1435
+ defaultToken : "comment"
1436
+ }
1437
+ ],
1438
+
1439
+ "dollarStatementString" : [{
1440
+ token : "string", // closing dollarstring
1441
+ regex : ".*?\\$[\\w_0-9]*\\$",
1442
+ next : "statement"
1443
+ }, {
1444
+ token : "string", // dollarstring spanning whole line
1445
+ regex : ".+"
1446
+ }
1447
+ ],
1448
+
1449
+ "dollarSqlString" : [{
1450
+ token : "string", // closing dollarstring
1451
+ regex : ".*?\\$[\\w_0-9]*\\$",
1452
+ next : "dollarSql"
1453
+ }, {
1454
+ token : "string", // dollarstring spanning whole line
1455
+ regex : ".+"
1456
+ }
1457
+ ]
1458
+ };
1459
+
1460
+ this.embedRules(DocCommentHighlightRules, "doc-", [ DocCommentHighlightRules.getEndRule("start") ]);
1461
+ this.embedRules(PerlHighlightRules, "perl-", [{token : "string", regex : "\\$perl\\$", next : "statement"}]);
1462
+ this.embedRules(PythonHighlightRules, "python-", [{token : "string", regex : "\\$python\\$", next : "statement"}]);
1463
+ this.embedRules(JsonHighlightRules, "json-", [{token : "string", regex : "\\$json\\$", next : "statement"}]);
1464
+ this.embedRules(JavaScriptHighlightRules, "javascript-", [{token : "string", regex : "\\$(js|javascript)\\$", next : "statement"}]);
1465
+ };
1466
+
1467
+ oop.inherits(PgsqlHighlightRules, TextHighlightRules);
1468
+
1469
+ exports.PgsqlHighlightRules = PgsqlHighlightRules;
1470
+ });
1471
+
1472
+ define("ace/mode/pgsql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/pgsql_highlight_rules"], function(require, exports, module) {
1473
+
1474
+ var oop = require("../lib/oop");
1475
+ var TextMode = require("../mode/text").Mode;
1476
+ var PgsqlHighlightRules = require("./pgsql_highlight_rules").PgsqlHighlightRules;
1477
+
1478
+ var Mode = function() {
1479
+ this.HighlightRules = PgsqlHighlightRules;
1480
+ this.$behaviour = this.$defaultBehaviour;
1481
+ };
1482
+ oop.inherits(Mode, TextMode);
1483
+
1484
+ (function() {
1485
+ this.lineCommentStart = "--";
1486
+ this.blockComment = {start: "/*", end: "*/"};
1487
+
1488
+ this.getNextLineIndent = function(state, line, tab) {
1489
+ if (state == "start" || state == "keyword.statementEnd") {
1490
+ return "";
1491
+ } else {
1492
+ return this.$getIndent(line); // Keep whatever indent the previous line has
1493
+ }
1494
+ };
1495
+
1496
+ this.$id = "ace/mode/pgsql";
1497
+ }).call(Mode.prototype);
1498
+
1499
+ exports.Mode = Mode;
1500
+ });
1501
+ (function() {
1502
+ window.require(["ace/mode/pgsql"], function(m) {
1503
+ if (typeof module == "object" && typeof exports == "object" && module) {
1504
+ module.exports = m;
1505
+ }
1506
+ });
1507
+ })();
1508
+