gollum 2.4.4 → 2.4.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gollum might be problematic. Click here for more details.

Files changed (391) hide show
  1. data/gollum.gemspec +100 -19
  2. data/lib/gollum.rb +2 -3
  3. data/lib/gollum/frontend/public/gollum/css/gollum.css +3 -1
  4. data/lib/gollum/frontend/public/gollum/css/template.css +8 -12
  5. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ace.js +64 -60
  6. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor.js +56 -62
  7. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +25 -32
  8. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +56 -63
  9. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +25 -32
  10. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +11 -11
  11. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +59 -53
  12. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +46 -39
  13. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +32 -36
  14. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js +62 -47
  15. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config_test.js +71 -0
  16. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +82 -41
  17. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document.js +126 -145
  18. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document_test.js +25 -33
  19. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +484 -467
  20. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +30 -63
  21. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +29 -37
  22. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +27 -35
  23. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +47 -55
  24. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +61 -41
  25. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor.js +506 -517
  26. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +25 -32
  27. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +26 -34
  28. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +25 -32
  29. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +25 -32
  30. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +28 -38
  31. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +9 -14
  32. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +26 -36
  33. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +44 -36
  34. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +45 -52
  35. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +25 -34
  36. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +26 -33
  37. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +230 -165
  38. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +76 -49
  39. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +66 -61
  40. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +36 -43
  41. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +138 -156
  42. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +35 -32
  43. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +18 -18
  44. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +25 -32
  45. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +116 -101
  46. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +117 -83
  47. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +60 -71
  48. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +163 -102
  49. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +60 -41
  50. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +26 -36
  51. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +26 -36
  52. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +24 -1
  53. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +52 -54
  54. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +32 -39
  55. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +25 -32
  56. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +9 -1
  57. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +73 -33
  58. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +10 -3
  59. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +25 -32
  60. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +2 -2
  61. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +55 -58
  62. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json +8 -0
  63. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +144 -0
  64. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +52 -0
  65. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +175 -0
  66. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +124 -0
  67. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +248 -0
  68. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +188 -0
  69. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +41 -0
  70. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +42 -0
  71. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +231 -0
  72. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +732 -0
  73. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +185 -0
  74. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +362 -0
  75. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +529 -0
  76. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +195 -0
  77. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +150 -0
  78. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +139 -0
  79. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +555 -0
  80. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +611 -0
  81. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +79 -0
  82. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +196 -0
  83. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +292 -0
  84. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +698 -0
  85. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +451 -0
  86. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +824 -0
  87. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +1202 -0
  88. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +260 -0
  89. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +311 -0
  90. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +1020 -0
  91. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +238 -0
  92. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +255 -0
  93. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +205 -0
  94. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +104 -0
  95. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +267 -0
  96. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +748 -0
  97. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +181 -0
  98. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +434 -0
  99. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +73 -0
  100. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +931 -0
  101. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +536 -0
  102. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +58 -0
  103. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +195 -0
  104. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +705 -0
  105. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +64 -0
  106. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +260 -0
  107. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js +77 -0
  108. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +133 -0
  109. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +64 -0
  110. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +234 -0
  111. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +26 -34
  112. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +195 -55
  113. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +26 -34
  114. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +26 -34
  115. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +31 -31
  116. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +25 -32
  117. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +25 -32
  118. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +25 -33
  119. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +67 -60
  120. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +25 -34
  121. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +112 -130
  122. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +29 -36
  123. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +25 -32
  124. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +22 -7
  125. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +140 -64
  126. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +479 -237
  127. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +321 -230
  128. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +25 -32
  129. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +62 -28
  130. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +39 -20
  131. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +183 -82
  132. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +226 -32
  133. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +25 -32
  134. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +25 -32
  135. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +28 -35
  136. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +25 -32
  137. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +7 -21
  138. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +36 -47
  139. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +202 -697
  140. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +51 -84
  141. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +25 -32
  142. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +25 -32
  143. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +68 -40
  144. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +25 -32
  145. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js +62 -0
  146. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +192 -0
  147. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +25 -31
  148. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +27 -33
  149. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +25 -32
  150. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js +142 -0
  151. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +31 -37
  152. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +26 -33
  153. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +25 -32
  154. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +30 -51
  155. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +25 -32
  156. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +28 -35
  157. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +35 -30
  158. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +25 -32
  159. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +25 -32
  160. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +162 -0
  161. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +163 -0
  162. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js +125 -0
  163. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +25 -32
  164. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +25 -32
  165. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +26 -33
  166. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +25 -32
  167. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +25 -32
  168. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +52 -0
  169. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js +81 -0
  170. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +0 -1
  171. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +15 -22
  172. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +28 -36
  173. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js +62 -0
  174. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +132 -0
  175. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +20 -25
  176. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +11 -15
  177. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +25 -32
  178. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +32 -38
  179. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +162 -69
  180. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +25 -32
  181. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js +58 -0
  182. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +347 -0
  183. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +18 -29
  184. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +28 -51
  185. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +4838 -0
  186. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +98 -180
  187. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +26 -33
  188. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +25 -32
  189. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +163 -64
  190. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +38 -40
  191. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +26 -33
  192. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +26 -34
  193. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +25 -32
  194. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +25 -32
  195. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +56 -0
  196. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +85 -0
  197. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +3 -2
  198. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +1 -1
  199. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +25 -33
  200. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +25 -33
  201. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +25 -32
  202. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +146 -161
  203. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +25 -32
  204. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +60 -0
  205. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +127 -0
  206. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +116 -56
  207. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +75 -101
  208. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +16 -0
  209. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js +49 -0
  210. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +99 -0
  211. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +62 -0
  212. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +75 -0
  213. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +35 -41
  214. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +29 -37
  215. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +100 -0
  216. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +25 -32
  217. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +25 -32
  218. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +62 -0
  219. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +343 -0
  220. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +25 -32
  221. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +39 -53
  222. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +25 -32
  223. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +39 -52
  224. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +33 -24
  225. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +55 -51
  226. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +57 -36
  227. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +53 -153
  228. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +31 -21
  229. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +28 -36
  230. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +44 -61
  231. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +25 -32
  232. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r.js +135 -0
  233. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +190 -0
  234. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +36 -0
  235. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +99 -0
  236. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +67 -0
  237. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +49 -0
  238. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +27 -33
  239. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +102 -90
  240. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +29 -37
  241. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +25 -33
  242. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +32 -54
  243. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +18 -32
  244. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +25 -32
  245. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +25 -32
  246. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +28 -35
  247. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +48 -64
  248. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +28 -18
  249. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +41 -36
  250. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +62 -0
  251. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +175 -0
  252. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +25 -32
  253. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +26 -33
  254. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +110 -0
  255. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +180 -0
  256. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js +48 -0
  257. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +107 -0
  258. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +26 -36
  259. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +57 -46
  260. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +25 -32
  261. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +25 -32
  262. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +26 -33
  263. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +68 -0
  264. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +98 -0
  265. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +25 -32
  266. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +27 -34
  267. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +183 -78
  268. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +25 -32
  269. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +30 -38
  270. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +32 -37
  271. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js +92 -0
  272. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +32954 -42497
  273. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +316 -0
  274. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +31 -44
  275. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +48 -57
  276. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +30 -18
  277. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +48 -40
  278. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/model/editor.js +26 -34
  279. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +126 -40
  280. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +35 -43
  281. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +28 -35
  282. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +78 -39
  283. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +26 -34
  284. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +39 -36
  285. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +26 -34
  286. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +234 -103
  287. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +26 -34
  288. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +30 -39
  289. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +27 -35
  290. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js +190 -201
  291. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list.js +25 -32
  292. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +25 -32
  293. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_test.js +25 -32
  294. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +31 -49
  295. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +27 -34
  296. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +52 -55
  297. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search.js +91 -105
  298. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +31 -34
  299. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_test.js +47 -37
  300. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection.js +138 -153
  301. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +25 -32
  302. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/split.js +67 -105
  303. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all.js +25 -32
  304. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +3 -2
  305. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/assertions.js +25 -32
  306. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +25 -32
  307. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +30 -34
  308. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +217 -0
  309. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js +33 -0
  310. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +37 -38
  311. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +27 -34
  312. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +53 -47
  313. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +28 -35
  314. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +54 -48
  315. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +28 -35
  316. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +58 -59
  317. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +28 -35
  318. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +33 -33
  319. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +26 -33
  320. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +52 -64
  321. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +28 -35
  322. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +33 -36
  323. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +26 -33
  324. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +29 -25
  325. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +26 -33
  326. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +14 -21
  327. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.js +26 -33
  328. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +48 -60
  329. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +28 -35
  330. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +52 -57
  331. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +28 -35
  332. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +53 -71
  333. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +28 -35
  334. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +54 -77
  335. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +28 -35
  336. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +60 -70
  337. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +28 -35
  338. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +55 -72
  339. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +28 -35
  340. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +55 -64
  341. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +28 -35
  342. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +48 -66
  343. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +28 -35
  344. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +49 -61
  345. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +28 -35
  346. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +38 -44
  347. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +26 -33
  348. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +59 -87
  349. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +28 -35
  350. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +59 -87
  351. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +28 -35
  352. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +59 -90
  353. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +28 -35
  354. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +59 -87
  355. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +28 -35
  356. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +57 -85
  357. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +28 -35
  358. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +54 -78
  359. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +28 -35
  360. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +45 -68
  361. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +28 -35
  362. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +111 -0
  363. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +39 -0
  364. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +37 -50
  365. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +26 -33
  366. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +40 -41
  367. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +205 -0
  368. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +48 -55
  369. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +254 -277
  370. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +25 -32
  371. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +22 -4
  372. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +97 -56
  373. data/lib/gollum/frontend/public/gollum/livepreview/licenses/ace/LICENSE.txt +24 -476
  374. data/lib/gollum/frontend/public/gollum/livepreview/licenses/licenses.txt +2 -2
  375. data/lib/gollum/frontend/views/page.rb +3 -2
  376. metadata +102 -21
  377. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js +0 -59
  378. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js +0 -1686
  379. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js +0 -2993
  380. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js +0 -69
  381. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js +0 -63
  382. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js +0 -10363
  383. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js +0 -165
  384. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js +0 -6177
  385. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js +0 -55
  386. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js +0 -696
  387. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js +0 -598
  388. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js +0 -61
  389. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js +0 -2072
  390. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js +0 -4469
  391. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js +0 -6396
@@ -1,8 +1,8 @@
1
- Ajaxorg Ace is used under the MPL
1
+ Ajaxorg Ace is used under the New BSD License
2
2
  https://github.com/ajaxorg/ace/blob/master/LICENSE
3
3
 
4
4
  https://github.com/ajaxorg/ace (build folder in master)
5
- lib/gollum/frontend/public/src/*
5
+ lib/gollum/frontend/public/gollum/livepreview/js/ace/*
6
6
  ---
7
7
 
8
8
  Fivesixty Notepages (MIT license)
@@ -6,6 +6,7 @@ module Precious
6
6
  attr_reader :content, :page, :header, :footer
7
7
  DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
8
8
  DEFAULT_AUTHOR = 'you'
9
+ @@to_xml = { :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML ^ 1, :indent => 0, :encoding => 'UTF-8' }
9
10
 
10
11
  def title
11
12
  h1 = @h1_title ? page_header_from_content(@content) : false
@@ -134,7 +135,7 @@ module Precious
134
135
  def page_header_from_content(content)
135
136
  doc = build_document(content)
136
137
  title = find_header_node(doc)
137
- Sanitize.clean(title.to_xhtml(:encoding => 'UTF-8')).strip unless title.empty?
138
+ Sanitize.clean(title.to_xml( @@to_xml )).strip unless title.empty?
138
139
  end
139
140
 
140
141
  # Returns page content without title if it was extracted.
@@ -144,7 +145,7 @@ module Precious
144
145
  title = find_header_node(doc)
145
146
  title.remove unless title.empty?
146
147
  # .inner_html will cause href escaping on UTF-8
147
- doc.css("div#gollum-root").children.to_xhtml(:encoding => 'UTF-8')
148
+ doc.css("div#gollum-root").children.to_xml( @@to_xml )
148
149
  end
149
150
  end
150
151
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-30 00:00:00.000000000 Z
13
+ date: 2012-12-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grit
@@ -159,7 +159,7 @@ dependencies:
159
159
  requirements:
160
160
  - - ~>
161
161
  - !ruby/object:Gem::Version
162
- version: 0.4.13
162
+ version: 0.4.15
163
163
  type: :runtime
164
164
  prerelease: false
165
165
  version_requirements: !ruby/object:Gem::Requirement
@@ -167,7 +167,7 @@ dependencies:
167
167
  requirements:
168
168
  - - ~>
169
169
  - !ruby/object:Gem::Version
170
- version: 0.4.13
170
+ version: 0.4.15
171
171
  - !ruby/object:Gem::Dependency
172
172
  name: stringex
173
173
  requirement: !ruby/object:Gem::Requirement
@@ -175,7 +175,7 @@ dependencies:
175
175
  requirements:
176
176
  - - ~>
177
177
  - !ruby/object:Gem::Version
178
- version: 1.5.0
178
+ version: 1.5.1
179
179
  type: :runtime
180
180
  prerelease: false
181
181
  version_requirements: !ruby/object:Gem::Requirement
@@ -183,7 +183,7 @@ dependencies:
183
183
  requirements:
184
184
  - - ~>
185
185
  - !ruby/object:Gem::Version
186
- version: 1.5.0
186
+ version: 1.5.1
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: RedCloth
189
189
  requirement: !ruby/object:Gem::Requirement
@@ -403,6 +403,7 @@ files:
403
403
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js
404
404
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js
405
405
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js
406
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config_test.js
406
407
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/codefolding-fold-button-states.png
407
408
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css
408
409
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/expand-marker.png
@@ -453,6 +454,55 @@ files:
453
454
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js
454
455
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js
455
456
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js
457
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json
458
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js
459
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt
460
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json
461
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json
462
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json
463
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json
464
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json
465
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json
466
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json
467
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json
468
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json
469
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json
470
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json
471
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json
472
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json
473
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json
474
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json
475
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json
476
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json
477
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json
478
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json
479
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json
480
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json
481
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json
482
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json
483
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json
484
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json
485
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json
486
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json
487
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json
488
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json
489
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json
490
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json
491
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json
492
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json
493
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json
494
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json
495
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json
496
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json
497
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json
498
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json
499
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json
500
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json
501
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json
502
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js
503
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js
504
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js
505
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js
456
506
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js
457
507
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js
458
508
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js
@@ -488,9 +538,12 @@ files:
488
538
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js
489
539
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js
490
540
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js
541
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js
542
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js
491
543
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js
492
544
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js
493
545
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js
546
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js
494
547
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js
495
548
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js
496
549
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js
@@ -500,24 +553,34 @@ files:
500
553
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js
501
554
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js
502
555
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js
556
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js
557
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js
558
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js
503
559
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js
504
560
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js
505
561
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js
506
562
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js
507
563
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js
564
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js
565
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js
508
566
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js
509
567
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js
510
568
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy.js
511
569
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js
570
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js
571
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js
512
572
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js
513
573
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js
514
574
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js
515
575
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js
516
576
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js
517
577
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js
578
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js
579
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js
518
580
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java.js
519
581
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js
520
582
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js
583
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js
521
584
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js
522
585
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js
523
586
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js
@@ -528,6 +591,8 @@ files:
528
591
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js
529
592
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js
530
593
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js
594
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js
595
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js
531
596
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsx.js
532
597
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsx_highlight_rules.js
533
598
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js
@@ -537,14 +602,24 @@ files:
537
602
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js
538
603
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js
539
604
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js
605
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js
606
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js
540
607
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js
541
608
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js
542
609
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/luapage.js
543
610
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/luapage_highlight_rules.js
611
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js
612
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js
613
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js
614
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js
615
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js
544
616
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js
545
617
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js
618
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js
546
619
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js
547
620
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js
621
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js
622
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js
548
623
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js
549
624
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js
550
625
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js
@@ -558,6 +633,12 @@ files:
558
633
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js
559
634
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js
560
635
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js
636
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r.js
637
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js
638
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js
639
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js
640
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js
641
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js
561
642
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js
562
643
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js
563
644
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js
@@ -571,30 +652,31 @@ files:
571
652
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js
572
653
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js
573
654
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js
655
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js
656
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js
574
657
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js
575
658
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js
659
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js
660
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js
661
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js
662
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js
576
663
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js
577
664
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js
578
665
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js
579
666
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js
580
667
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js
668
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js
669
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js
581
670
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js
582
671
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js
583
672
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js
584
673
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js
585
674
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js
586
675
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js
587
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js
676
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js
588
677
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Readme.md
589
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js
590
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js
591
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js
592
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js
593
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js
594
678
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js
595
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js
596
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js
597
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js
679
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js
598
680
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js
599
681
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js
600
682
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js
@@ -609,10 +691,6 @@ files:
609
691
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js
610
692
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js
611
693
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js
612
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js
613
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js
614
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js
615
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js
616
694
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js
617
695
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js
618
696
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js
@@ -640,6 +718,8 @@ files:
640
718
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockdom.js
641
719
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js
642
720
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/tests.html
721
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css
722
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js
643
723
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css
644
724
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js
645
725
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css
@@ -692,15 +772,16 @@ files:
692
772
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js
693
773
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css
694
774
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js
775
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css
776
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js
695
777
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js
696
778
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js
697
779
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js
780
+ - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js
698
781
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js
699
782
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/unicode.js
700
783
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js
701
784
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js
702
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js
703
- - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js
704
785
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/mirror.js
705
786
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js
706
787
  - lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js
@@ -1,59 +0,0 @@
1
- /* ***** BEGIN LICENSE BLOCK *****
2
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3
- *
4
- * The contents of this file are subject to the Mozilla Public License Version
5
- * 1.1 (the "License"); you may not use this file except in compliance with
6
- * the License. You may obtain a copy of the License at
7
- * http://www.mozilla.org/MPL/
8
- *
9
- * Software distributed under the License is distributed on an "AS IS" basis,
10
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
- * for the specific language governing rights and limitations under the
12
- * License.
13
- *
14
- * The Original Code is Ajax.org Code Editor (ACE).
15
- *
16
- * The Initial Developer of the Original Code is
17
- * Ajax.org B.V.
18
- * Portions created by the Initial Developer are Copyright (C) 2010
19
- * the Initial Developer. All Rights Reserved.
20
- *
21
- * Contributor(s):
22
- * William Candillon <wcandillon AT gmail DOT com>
23
- *
24
- * Alternatively, the contents of this file may be used under the terms of
25
- * either the GNU General Public License Version 2 or later (the "GPL"), or
26
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
- * in which case the provisions of the GPL or the LGPL are applicable instead
28
- * of those above. If you wish to allow use of your version of this file only
29
- * under the terms of either the GPL or the LGPL, and not to allow others to
30
- * use your version of this file under the terms of the MPL, indicate your
31
- * decision by deleting the provisions above and replace them with the notice
32
- * and other provisions required by the GPL or the LGPL. If you do not delete
33
- * the provisions above, a recipient may use your version of this file under
34
- * the terms of any one of the MPL, the GPL or the LGPL. *
35
- * ***** END LICENSE BLOCK ***** */
36
- define(function(require, exports, module){
37
- var Position = exports.Position = function(line, offset, length)
38
- {
39
- this.line = line;
40
- this.offset = offset;
41
- this.length = length;
42
-
43
- this.getLine = function()
44
- {
45
- return this.line;
46
- };
47
-
48
- this.getOffset = function()
49
- {
50
- return this.offset;
51
- };
52
-
53
- this.getLength = function()
54
- {
55
- return this.length;
56
- };
57
- };
58
-
59
- });
@@ -1,1686 +0,0 @@
1
- define(function(require, exports, module) {
2
- // $ANTLR 3.3 Nov 30, 2010 12:50:56 xquery/StringLexer.g 2012-05-25 02:35:38
3
-
4
- /* ***** BEGIN LICENSE BLOCK *****
5
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6
- *
7
- * The contents of this file are subject to the Mozilla Public License Version
8
- * 1.1 (the "License"); you may not use this file except in compliance with
9
- * the License. You may obtain a copy of the License at
10
- * http://www.mozilla.org/MPL/
11
- *
12
- * Software distributed under the License is distributed on an "AS IS" basis,
13
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14
- * for the specific language governing rights and limitations under the
15
- * License.
16
- *
17
- * The Original Code is Ajax.org Code Editor (ACE).
18
- *
19
- * The Initial Developer of the Original Code is
20
- * Ajax.org B.V.
21
- * Portions created by the Initial Developer are Copyright (C) 2010
22
- * the Initial Developer. All Rights Reserved.
23
- *
24
- * Contributor(s):
25
- * William Candillon <wcandillon AT gmail DOT com>
26
- *
27
- * Alternatively, the contents of this file may be used under the terms of
28
- * either the GNU General Public License Version 2 or later (the "GPL"), or
29
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30
- * in which case the provisions of the GPL or the LGPL are applicable instead
31
- * of those above. If you wish to allow use of your version of this file only
32
- * under the terms of either the GPL or the LGPL, and not to allow others to
33
- * use your version of this file under the terms of the MPL, indicate your
34
- * decision by deleting the provisions above and replace them with the notice
35
- * and other provisions required by the GPL or the LGPL. If you do not delete
36
- * the provisions above, a recipient may use your version of this file under
37
- * the terms of any one of the MPL, the GPL or the LGPL. *
38
- * ***** END LICENSE BLOCK ***** */
39
- var org = require("./antlr3-all").org;
40
- var XQDTLexer = require("./XQDTLexer").XQDTLexer;
41
-
42
-
43
- var StringLexer = function(input, state) {
44
- // alternate constructor @todo
45
- // public StringLexer(CharStream input)
46
- // public StringLexer(CharStream input, RecognizerSharedState state) {
47
- if (!state) {
48
- state = new org.antlr.runtime.RecognizerSharedState();
49
- }
50
-
51
- (function(){
52
-
53
-
54
- this.inQuotStr = false;
55
- this.inAposStr = false;
56
-
57
- //boolean inQuotStr = false;
58
- //boolean inAposStr = false;
59
-
60
- //public StringLexer(CharStream input, boolean isAposStr) {
61
- // this(input, new RecognizerSharedState());
62
- // this.inAposStr = isAposStr;
63
- // this.inQuotStr = !isAposStr;
64
- // setIsWsExplicit(true);
65
- //}
66
-
67
- }).call(this);
68
-
69
- this.dfa8 = new StringLexer.DFA8(this);
70
- StringLexer.superclass.constructor.call(this, input, state);
71
-
72
-
73
- };
74
-
75
- org.antlr.lang.augmentObject(StringLexer, {
76
- EOF: -1,
77
- L_QuotAttrContentChar: 4,
78
- L_AposAttrContentChar: 5,
79
- L_ElementContentChar: 6,
80
- L_CDataSection: 7,
81
- L_PredefinedEntityRef: 8,
82
- L_CharRef: 9,
83
- ESCAPE_LBRACKET: 10,
84
- ESCAPE_RBRACKET: 11,
85
- ESCAPE_APOS: 12,
86
- ESCAPE_QUOT: 13,
87
- CDATA_START: 14,
88
- CDATA_END: 15,
89
- ANCESTOR: 16,
90
- ANCESTOR_OR_SELF: 17,
91
- AND: 18,
92
- AS: 19,
93
- ASCENDING: 20,
94
- AT: 21,
95
- ATTRIBUTE: 22,
96
- BASE_URI: 23,
97
- BOUNDARY_SPACE: 24,
98
- BY: 25,
99
- CASE: 26,
100
- CAST: 27,
101
- CASTABLE: 28,
102
- CHILD: 29,
103
- COLLATION: 30,
104
- COMMENT: 31,
105
- CONSTRUCTION: 32,
106
- COPY_NAMESPACES: 33,
107
- DECLARE: 34,
108
- DEFAULT: 35,
109
- DESCENDANT: 36,
110
- DESCENDANT_OR_SELF: 37,
111
- DESCENDING: 38,
112
- DIV: 39,
113
- DOCUMENT: 40,
114
- DOCUMENT_NODE: 41,
115
- ELEMENT: 42,
116
- ELSE: 43,
117
- EMPTY: 44,
118
- EMPTY_SEQUENCE: 45,
119
- ENCODING: 46,
120
- EQ: 47,
121
- EVERY: 48,
122
- EXCEPT: 49,
123
- EXTERNAL: 50,
124
- FOLLOWING: 51,
125
- FOLLOWING_SIBLING: 52,
126
- FOR: 53,
127
- FUNCTION: 54,
128
- GE: 55,
129
- GREATEST: 56,
130
- GT: 57,
131
- IDIV: 58,
132
- IF: 59,
133
- IMPORT: 60,
134
- IN: 61,
135
- INHERIT: 62,
136
- INSTANCE: 63,
137
- INTERSECT: 64,
138
- IS: 65,
139
- ITEM: 66,
140
- LAX: 67,
141
- LE: 68,
142
- LEAST: 69,
143
- LET: 70,
144
- LT: 71,
145
- MOD: 72,
146
- MODULE: 73,
147
- NAMESPACE: 74,
148
- NE: 75,
149
- NO_INHERIT: 76,
150
- NO_PRESERVE: 77,
151
- NODE: 78,
152
- OF: 79,
153
- OPTION: 80,
154
- OR: 81,
155
- ORDER: 82,
156
- ORDERED: 83,
157
- ORDERING: 84,
158
- PARENT: 85,
159
- PRECEDING: 86,
160
- PRECEDING_SIBLING: 87,
161
- PRESERVE: 88,
162
- PROCESSING_INSTRUCTION: 89,
163
- RETURN: 90,
164
- SATISFIES: 91,
165
- SCHEMA: 92,
166
- SCHEMA_ATTRIBUTE: 93,
167
- SCHEMA_ELEMENT: 94,
168
- SELF: 95,
169
- SOME: 96,
170
- STABLE: 97,
171
- STRICT: 98,
172
- STRIP: 99,
173
- TEXT: 100,
174
- THEN: 101,
175
- TO: 102,
176
- TREAT: 103,
177
- TYPESWITCH: 104,
178
- UNION: 105,
179
- UNORDERED: 106,
180
- VALIDATE: 107,
181
- VARIABLE: 108,
182
- VERSION: 109,
183
- WHERE: 110,
184
- XQUERY: 111,
185
- ALLOWING: 112,
186
- CATCH: 113,
187
- CONTEXT: 114,
188
- COUNT: 115,
189
- DECIMAL_FORMAT: 116,
190
- DECIMAL_SEPARATOR: 117,
191
- DIGIT: 118,
192
- END: 119,
193
- GROUP: 120,
194
- GROUPING_SEPARATOR: 121,
195
- INFINITY: 122,
196
- MINUS_SIGN: 123,
197
- NAMESPACE_NODE: 124,
198
- NAN: 125,
199
- NEXT: 126,
200
- ONLY: 127,
201
- PATTERN_SEPARATOR: 128,
202
- PERCENT: 129,
203
- PER_MILLE: 130,
204
- PREVIOUS: 131,
205
- SLIDING: 132,
206
- START: 133,
207
- SWITCH: 134,
208
- TRY: 135,
209
- TUMBLING: 136,
210
- TYPE: 137,
211
- WHEN: 138,
212
- WINDOW: 139,
213
- ZERO_DIGIT: 140,
214
- AFTER: 141,
215
- BEFORE: 142,
216
- COPY: 143,
217
- DELETE: 144,
218
- FIRST: 145,
219
- INSERT: 146,
220
- INTO: 147,
221
- LAST: 148,
222
- MODIFY: 149,
223
- NODES: 150,
224
- RENAME: 151,
225
- REPLACE: 152,
226
- REVALIDATION: 153,
227
- SKIP: 154,
228
- UPDATING: 155,
229
- VALUE: 156,
230
- WITH: 157,
231
- ALL: 158,
232
- ANY: 159,
233
- CONTAINS: 160,
234
- CONTENT: 161,
235
- DIACRITICS: 162,
236
- DIFFERENT: 163,
237
- DISTANCE: 164,
238
- ENTIRE: 165,
239
- EXACTLY: 166,
240
- FROM: 167,
241
- FT_OPTION: 168,
242
- FTAND: 169,
243
- FTNOT: 170,
244
- FTOR: 171,
245
- INSENSITIVE: 172,
246
- LANGUAGE: 173,
247
- LEVELS: 174,
248
- LOWERCASE: 175,
249
- MOST: 176,
250
- NO: 177,
251
- NOT: 178,
252
- OCCURS: 179,
253
- PARAGRAPH: 180,
254
- PARAGRAPHS: 181,
255
- PHRASE: 182,
256
- RELATIONSHIP: 183,
257
- SAME: 184,
258
- SCORE: 185,
259
- SENSITIVE: 186,
260
- SENTENCE: 187,
261
- SENTENCES: 188,
262
- STEMMING: 189,
263
- STOP: 190,
264
- THESAURUS: 191,
265
- TIMES: 192,
266
- UPPERCASE: 193,
267
- USING: 194,
268
- WEIGHT: 195,
269
- WILDCARDS: 196,
270
- WITHOUT: 197,
271
- WORD: 198,
272
- WORDS: 199,
273
- BREAK: 200,
274
- CONTINUE: 201,
275
- EXIT: 202,
276
- LOOP: 203,
277
- RETURNING: 204,
278
- WHILE: 205,
279
- CHECK: 206,
280
- COLLECTION: 207,
281
- CONSTRAINT: 208,
282
- FOREACH: 209,
283
- FOREIGN: 210,
284
- INDEX: 211,
285
- INTEGRITY: 212,
286
- KEY: 213,
287
- ON: 214,
288
- UNIQUE: 215,
289
- BINARY: 216,
290
- AMP_ER: 217,
291
- APOS_ER: 218,
292
- QUOT_ER: 219,
293
- CONCAT: 220,
294
- LPAREN: 221,
295
- RPAREN: 222,
296
- DOLLAR: 223,
297
- LBRACKET: 224,
298
- RBRACKET: 225,
299
- LSQUARE: 226,
300
- RSQUARE: 227,
301
- EQUAL: 228,
302
- BIND: 229,
303
- NOTEQUAL: 230,
304
- ANN_PERCENT: 231,
305
- HASH: 232,
306
- AMP: 233,
307
- COMMA: 234,
308
- QUESTION: 235,
309
- STAR: 236,
310
- PLUS: 237,
311
- MINUS: 238,
312
- SMALLER: 239,
313
- GREATER: 240,
314
- SMALLEREQ: 241,
315
- GREATEREQ: 242,
316
- SMALLER_SMALLER: 243,
317
- GREATER_GREATER: 244,
318
- SLASH: 245,
319
- SLASH_SLASH: 246,
320
- DOT: 247,
321
- DOT_DOT: 248,
322
- COLON: 249,
323
- COLON_COLON: 250,
324
- EMPTY_CLOSE_TAG: 251,
325
- CLOSE_TAG: 252,
326
- SEMICOLON: 253,
327
- VBAR: 254,
328
- PRAGMA_START: 255,
329
- PRAGMA_END: 256,
330
- XML_COMMENT_START: 257,
331
- XML_COMMENT_END: 258,
332
- PI_START: 259,
333
- PI_END: 260,
334
- ATTR_SIGN: 261,
335
- CHARREF_DEC: 262,
336
- CHARREF_HEX: 263,
337
- APOS: 264,
338
- QUOT: 265,
339
- NCNameStartChar: 266,
340
- NCNameChar: 267,
341
- L_NCName: 268,
342
- Letter: 269,
343
- HexLetter: 270,
344
- Digit: 271,
345
- Digits: 272,
346
- S: 273,
347
- SU: 274,
348
- L_Pragma: 275,
349
- L_DirCommentConstructor: 276,
350
- L_DirPIConstructor: 277,
351
- L_IntegerLiteral: 278,
352
- L_DecimalLiteral: 279,
353
- L_DoubleLiteral: 280,
354
- L_Comment: 281,
355
- L_AnyChar: 282,
356
- L_QuotStringLiteralChar: 283,
357
- L_AposStringLiteralChar: 284
358
- });
359
-
360
- (function(){
361
- var HIDDEN = org.antlr.runtime.Token.HIDDEN_CHANNEL,
362
- EOF = org.antlr.runtime.Token.EOF;
363
- org.antlr.lang.extend(StringLexer, XQDTLexer, {
364
- EOF : -1,
365
- L_QuotAttrContentChar : 4,
366
- L_AposAttrContentChar : 5,
367
- L_ElementContentChar : 6,
368
- L_CDataSection : 7,
369
- L_PredefinedEntityRef : 8,
370
- L_CharRef : 9,
371
- ESCAPE_LBRACKET : 10,
372
- ESCAPE_RBRACKET : 11,
373
- ESCAPE_APOS : 12,
374
- ESCAPE_QUOT : 13,
375
- CDATA_START : 14,
376
- CDATA_END : 15,
377
- ANCESTOR : 16,
378
- ANCESTOR_OR_SELF : 17,
379
- AND : 18,
380
- AS : 19,
381
- ASCENDING : 20,
382
- AT : 21,
383
- ATTRIBUTE : 22,
384
- BASE_URI : 23,
385
- BOUNDARY_SPACE : 24,
386
- BY : 25,
387
- CASE : 26,
388
- CAST : 27,
389
- CASTABLE : 28,
390
- CHILD : 29,
391
- COLLATION : 30,
392
- COMMENT : 31,
393
- CONSTRUCTION : 32,
394
- COPY_NAMESPACES : 33,
395
- DECLARE : 34,
396
- DEFAULT : 35,
397
- DESCENDANT : 36,
398
- DESCENDANT_OR_SELF : 37,
399
- DESCENDING : 38,
400
- DIV : 39,
401
- DOCUMENT : 40,
402
- DOCUMENT_NODE : 41,
403
- ELEMENT : 42,
404
- ELSE : 43,
405
- EMPTY : 44,
406
- EMPTY_SEQUENCE : 45,
407
- ENCODING : 46,
408
- EQ : 47,
409
- EVERY : 48,
410
- EXCEPT : 49,
411
- EXTERNAL : 50,
412
- FOLLOWING : 51,
413
- FOLLOWING_SIBLING : 52,
414
- FOR : 53,
415
- FUNCTION : 54,
416
- GE : 55,
417
- GREATEST : 56,
418
- GT : 57,
419
- IDIV : 58,
420
- IF : 59,
421
- IMPORT : 60,
422
- IN : 61,
423
- INHERIT : 62,
424
- INSTANCE : 63,
425
- INTERSECT : 64,
426
- IS : 65,
427
- ITEM : 66,
428
- LAX : 67,
429
- LE : 68,
430
- LEAST : 69,
431
- LET : 70,
432
- LT : 71,
433
- MOD : 72,
434
- MODULE : 73,
435
- NAMESPACE : 74,
436
- NE : 75,
437
- NO_INHERIT : 76,
438
- NO_PRESERVE : 77,
439
- NODE : 78,
440
- OF : 79,
441
- OPTION : 80,
442
- OR : 81,
443
- ORDER : 82,
444
- ORDERED : 83,
445
- ORDERING : 84,
446
- PARENT : 85,
447
- PRECEDING : 86,
448
- PRECEDING_SIBLING : 87,
449
- PRESERVE : 88,
450
- PROCESSING_INSTRUCTION : 89,
451
- RETURN : 90,
452
- SATISFIES : 91,
453
- SCHEMA : 92,
454
- SCHEMA_ATTRIBUTE : 93,
455
- SCHEMA_ELEMENT : 94,
456
- SELF : 95,
457
- SOME : 96,
458
- STABLE : 97,
459
- STRICT : 98,
460
- STRIP : 99,
461
- TEXT : 100,
462
- THEN : 101,
463
- TO : 102,
464
- TREAT : 103,
465
- TYPESWITCH : 104,
466
- UNION : 105,
467
- UNORDERED : 106,
468
- VALIDATE : 107,
469
- VARIABLE : 108,
470
- VERSION : 109,
471
- WHERE : 110,
472
- XQUERY : 111,
473
- ALLOWING : 112,
474
- CATCH : 113,
475
- CONTEXT : 114,
476
- COUNT : 115,
477
- DECIMAL_FORMAT : 116,
478
- DECIMAL_SEPARATOR : 117,
479
- DIGIT : 118,
480
- END : 119,
481
- GROUP : 120,
482
- GROUPING_SEPARATOR : 121,
483
- INFINITY : 122,
484
- MINUS_SIGN : 123,
485
- NAMESPACE_NODE : 124,
486
- NAN : 125,
487
- NEXT : 126,
488
- ONLY : 127,
489
- PATTERN_SEPARATOR : 128,
490
- PERCENT : 129,
491
- PER_MILLE : 130,
492
- PREVIOUS : 131,
493
- SLIDING : 132,
494
- START : 133,
495
- SWITCH : 134,
496
- TRY : 135,
497
- TUMBLING : 136,
498
- TYPE : 137,
499
- WHEN : 138,
500
- WINDOW : 139,
501
- ZERO_DIGIT : 140,
502
- AFTER : 141,
503
- BEFORE : 142,
504
- COPY : 143,
505
- DELETE : 144,
506
- FIRST : 145,
507
- INSERT : 146,
508
- INTO : 147,
509
- LAST : 148,
510
- MODIFY : 149,
511
- NODES : 150,
512
- RENAME : 151,
513
- REPLACE : 152,
514
- REVALIDATION : 153,
515
- SKIP : 154,
516
- UPDATING : 155,
517
- VALUE : 156,
518
- WITH : 157,
519
- ALL : 158,
520
- ANY : 159,
521
- CONTAINS : 160,
522
- CONTENT : 161,
523
- DIACRITICS : 162,
524
- DIFFERENT : 163,
525
- DISTANCE : 164,
526
- ENTIRE : 165,
527
- EXACTLY : 166,
528
- FROM : 167,
529
- FT_OPTION : 168,
530
- FTAND : 169,
531
- FTNOT : 170,
532
- FTOR : 171,
533
- INSENSITIVE : 172,
534
- LANGUAGE : 173,
535
- LEVELS : 174,
536
- LOWERCASE : 175,
537
- MOST : 176,
538
- NO : 177,
539
- NOT : 178,
540
- OCCURS : 179,
541
- PARAGRAPH : 180,
542
- PARAGRAPHS : 181,
543
- PHRASE : 182,
544
- RELATIONSHIP : 183,
545
- SAME : 184,
546
- SCORE : 185,
547
- SENSITIVE : 186,
548
- SENTENCE : 187,
549
- SENTENCES : 188,
550
- STEMMING : 189,
551
- STOP : 190,
552
- THESAURUS : 191,
553
- TIMES : 192,
554
- UPPERCASE : 193,
555
- USING : 194,
556
- WEIGHT : 195,
557
- WILDCARDS : 196,
558
- WITHOUT : 197,
559
- WORD : 198,
560
- WORDS : 199,
561
- BREAK : 200,
562
- CONTINUE : 201,
563
- EXIT : 202,
564
- LOOP : 203,
565
- RETURNING : 204,
566
- WHILE : 205,
567
- CHECK : 206,
568
- COLLECTION : 207,
569
- CONSTRAINT : 208,
570
- FOREACH : 209,
571
- FOREIGN : 210,
572
- INDEX : 211,
573
- INTEGRITY : 212,
574
- KEY : 213,
575
- ON : 214,
576
- UNIQUE : 215,
577
- BINARY : 216,
578
- AMP_ER : 217,
579
- APOS_ER : 218,
580
- QUOT_ER : 219,
581
- CONCAT : 220,
582
- LPAREN : 221,
583
- RPAREN : 222,
584
- DOLLAR : 223,
585
- LBRACKET : 224,
586
- RBRACKET : 225,
587
- LSQUARE : 226,
588
- RSQUARE : 227,
589
- EQUAL : 228,
590
- BIND : 229,
591
- NOTEQUAL : 230,
592
- ANN_PERCENT : 231,
593
- HASH : 232,
594
- AMP : 233,
595
- COMMA : 234,
596
- QUESTION : 235,
597
- STAR : 236,
598
- PLUS : 237,
599
- MINUS : 238,
600
- SMALLER : 239,
601
- GREATER : 240,
602
- SMALLEREQ : 241,
603
- GREATEREQ : 242,
604
- SMALLER_SMALLER : 243,
605
- GREATER_GREATER : 244,
606
- SLASH : 245,
607
- SLASH_SLASH : 246,
608
- DOT : 247,
609
- DOT_DOT : 248,
610
- COLON : 249,
611
- COLON_COLON : 250,
612
- EMPTY_CLOSE_TAG : 251,
613
- CLOSE_TAG : 252,
614
- SEMICOLON : 253,
615
- VBAR : 254,
616
- PRAGMA_START : 255,
617
- PRAGMA_END : 256,
618
- XML_COMMENT_START : 257,
619
- XML_COMMENT_END : 258,
620
- PI_START : 259,
621
- PI_END : 260,
622
- ATTR_SIGN : 261,
623
- CHARREF_DEC : 262,
624
- CHARREF_HEX : 263,
625
- APOS : 264,
626
- QUOT : 265,
627
- NCNameStartChar : 266,
628
- NCNameChar : 267,
629
- L_NCName : 268,
630
- Letter : 269,
631
- HexLetter : 270,
632
- Digit : 271,
633
- Digits : 272,
634
- S : 273,
635
- SU : 274,
636
- L_Pragma : 275,
637
- L_DirCommentConstructor : 276,
638
- L_DirPIConstructor : 277,
639
- L_IntegerLiteral : 278,
640
- L_DecimalLiteral : 279,
641
- L_DoubleLiteral : 280,
642
- L_Comment : 281,
643
- L_AnyChar : 282,
644
- L_QuotStringLiteralChar : 283,
645
- L_AposStringLiteralChar : 284,
646
- getGrammarFileName: function() { return "xquery/StringLexer.g"; }
647
- });
648
- org.antlr.lang.augmentObject(StringLexer.prototype, {
649
- // $ANTLR start QUOT
650
- mQUOT: function() {
651
- try {
652
- var _type = this.QUOT;
653
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
654
- // xquery/StringLexer.g:66:6: ({...}? => '\"' )
655
- // xquery/StringLexer.g:66:8: {...}? => '\"'
656
- if ( !(( this.inQuotStr )) ) {
657
- throw new org.antlr.runtime.FailedPredicateException(this.input, "QUOT", " this.inQuotStr ");
658
- }
659
- this.match('\"');
660
- this.inQuotStr = !this.inQuotStr;
661
-
662
-
663
-
664
- this.state.type = _type;
665
- this.state.channel = _channel;
666
- }
667
- finally {
668
- }
669
- },
670
- // $ANTLR end "QUOT",
671
-
672
- // $ANTLR start APOS
673
- mAPOS: function() {
674
- try {
675
- var _type = this.APOS;
676
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
677
- // xquery/StringLexer.g:67:6: ({...}? => '\\'' )
678
- // xquery/StringLexer.g:67:8: {...}? => '\\''
679
- if ( !(( this.inAposStr )) ) {
680
- throw new org.antlr.runtime.FailedPredicateException(this.input, "APOS", " this.inAposStr ");
681
- }
682
- this.match('\'');
683
- this.inAposStr = !this.inAposStr;
684
-
685
-
686
-
687
- this.state.type = _type;
688
- this.state.channel = _channel;
689
- }
690
- finally {
691
- }
692
- },
693
- // $ANTLR end "APOS",
694
-
695
- // $ANTLR start ESCAPE_QUOT
696
- mESCAPE_QUOT: function() {
697
- try {
698
- var _type = this.ESCAPE_QUOT;
699
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
700
- // xquery/StringLexer.g:68:13: ({...}? => '\"\"' )
701
- // xquery/StringLexer.g:68:15: {...}? => '\"\"'
702
- if ( !(( this.inQuotStr )) ) {
703
- throw new org.antlr.runtime.FailedPredicateException(this.input, "ESCAPE_QUOT", " this.inQuotStr ");
704
- }
705
- this.match("\"\"");
706
-
707
-
708
-
709
-
710
- this.state.type = _type;
711
- this.state.channel = _channel;
712
- }
713
- finally {
714
- }
715
- },
716
- // $ANTLR end "ESCAPE_QUOT",
717
-
718
- // $ANTLR start ESCAPE_APOS
719
- mESCAPE_APOS: function() {
720
- try {
721
- var _type = this.ESCAPE_APOS;
722
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
723
- // xquery/StringLexer.g:69:13: ({...}? => '\\'\\'' )
724
- // xquery/StringLexer.g:69:15: {...}? => '\\'\\''
725
- if ( !(( this.inAposStr )) ) {
726
- throw new org.antlr.runtime.FailedPredicateException(this.input, "ESCAPE_APOS", " this.inAposStr ");
727
- }
728
- this.match("''");
729
-
730
-
731
-
732
-
733
- this.state.type = _type;
734
- this.state.channel = _channel;
735
- }
736
- finally {
737
- }
738
- },
739
- // $ANTLR end "ESCAPE_APOS",
740
-
741
- // $ANTLR start L_PredefinedEntityRef
742
- mL_PredefinedEntityRef: function() {
743
- try {
744
- var _type = this.L_PredefinedEntityRef;
745
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
746
- // xquery/StringLexer.g:73:2: ({...}? => '&' ( 'lt' | 'gt' | 'apos' | 'quot' | 'amp' ) ';' )
747
- // xquery/StringLexer.g:73:4: {...}? => '&' ( 'lt' | 'gt' | 'apos' | 'quot' | 'amp' ) ';'
748
- if ( !(( this.inQuotStr | this.inAposStr )) ) {
749
- throw new org.antlr.runtime.FailedPredicateException(this.input, "L_PredefinedEntityRef", " this.inQuotStr | this.inAposStr ");
750
- }
751
- this.match('&');
752
- // xquery/StringLexer.g:73:48: ( 'lt' | 'gt' | 'apos' | 'quot' | 'amp' )
753
- var alt1=5;
754
- switch ( this.input.LA(1) ) {
755
- case 'l':
756
- alt1=1;
757
- break;
758
- case 'g':
759
- alt1=2;
760
- break;
761
- case 'a':
762
- var LA1_3 = this.input.LA(2);
763
-
764
- if ( (LA1_3=='p') ) {
765
- alt1=3;
766
- }
767
- else if ( (LA1_3=='m') ) {
768
- alt1=5;
769
- }
770
- else {
771
- var nvae =
772
- new org.antlr.runtime.NoViableAltException("", 1, 3, this.input);
773
-
774
- throw nvae;
775
- }
776
- break;
777
- case 'q':
778
- alt1=4;
779
- break;
780
- default:
781
- var nvae =
782
- new org.antlr.runtime.NoViableAltException("", 1, 0, this.input);
783
-
784
- throw nvae;
785
- }
786
-
787
- switch (alt1) {
788
- case 1 :
789
- // xquery/StringLexer.g:73:49: 'lt'
790
- this.match("lt");
791
-
792
-
793
-
794
- break;
795
- case 2 :
796
- // xquery/StringLexer.g:73:56: 'gt'
797
- this.match("gt");
798
-
799
-
800
-
801
- break;
802
- case 3 :
803
- // xquery/StringLexer.g:73:63: 'apos'
804
- this.match("apos");
805
-
806
-
807
-
808
- break;
809
- case 4 :
810
- // xquery/StringLexer.g:73:72: 'quot'
811
- this.match("quot");
812
-
813
-
814
-
815
- break;
816
- case 5 :
817
- // xquery/StringLexer.g:73:81: 'amp'
818
- this.match("amp");
819
-
820
-
821
-
822
- break;
823
-
824
- }
825
-
826
- this.match(';');
827
-
828
-
829
-
830
- this.state.type = _type;
831
- this.state.channel = _channel;
832
- }
833
- finally {
834
- }
835
- },
836
- // $ANTLR end "L_PredefinedEntityRef",
837
-
838
- // $ANTLR start L_CharRef
839
- mL_CharRef: function() {
840
- try {
841
- var _type = this.L_CharRef;
842
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
843
- // xquery/StringLexer.g:78:2: ({...}? => '&#' ( '0' .. '9' )+ ';' | '&#x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ';' )
844
- var alt4=2;
845
- var LA4_0 = this.input.LA(1);
846
-
847
- if ( (LA4_0=='&') ) {
848
- var LA4_1 = this.input.LA(2);
849
-
850
- if ( (LA4_1=='#') ) {
851
- var LA4_2 = this.input.LA(3);
852
-
853
- if ( (LA4_2=='x') ) {
854
- alt4=2;
855
- }
856
- else if ( ((LA4_2>='0' && LA4_2<='9')) && (( this.inQuotStr | this.inAposStr ))) {
857
- alt4=1;
858
- }
859
- else {
860
- var nvae =
861
- new org.antlr.runtime.NoViableAltException("", 4, 2, this.input);
862
-
863
- throw nvae;
864
- }
865
- }
866
- else {
867
- var nvae =
868
- new org.antlr.runtime.NoViableAltException("", 4, 1, this.input);
869
-
870
- throw nvae;
871
- }
872
- }
873
- else {
874
- var nvae =
875
- new org.antlr.runtime.NoViableAltException("", 4, 0, this.input);
876
-
877
- throw nvae;
878
- }
879
- switch (alt4) {
880
- case 1 :
881
- // xquery/StringLexer.g:78:4: {...}? => '&#' ( '0' .. '9' )+ ';'
882
- if ( !(( this.inQuotStr | this.inAposStr )) ) {
883
- throw new org.antlr.runtime.FailedPredicateException(this.input, "L_CharRef", " this.inQuotStr | this.inAposStr ");
884
- }
885
- this.match("&#");
886
-
887
- // xquery/StringLexer.g:78:49: ( '0' .. '9' )+
888
- var cnt2=0;
889
- loop2:
890
- do {
891
- var alt2=2;
892
- var LA2_0 = this.input.LA(1);
893
-
894
- if ( ((LA2_0>='0' && LA2_0<='9')) ) {
895
- alt2=1;
896
- }
897
-
898
-
899
- switch (alt2) {
900
- case 1 :
901
- // xquery/StringLexer.g:78:49: '0' .. '9'
902
- this.matchRange('0','9');
903
-
904
-
905
- break;
906
-
907
- default :
908
- if ( cnt2 >= 1 ) {
909
- break loop2;
910
- }
911
- var eee = new org.antlr.runtime.EarlyExitException(2, this.input);
912
- throw eee;
913
- }
914
- cnt2++;
915
- } while (true);
916
-
917
- this.match(';');
918
-
919
-
920
- break;
921
- case 2 :
922
- // xquery/StringLexer.g:78:65: '&#x' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ';'
923
- this.match("&#x");
924
-
925
- // xquery/StringLexer.g:78:71: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
926
- var cnt3=0;
927
- loop3:
928
- do {
929
- var alt3=2;
930
- var LA3_0 = this.input.LA(1);
931
-
932
- if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='F')||(LA3_0>='a' && LA3_0<='f')) ) {
933
- alt3=1;
934
- }
935
-
936
-
937
- switch (alt3) {
938
- case 1 :
939
- // xquery/StringLexer.g:
940
- if ( (this.input.LA(1)>='0' && this.input.LA(1)<='9')||(this.input.LA(1)>='A' && this.input.LA(1)<='F')||(this.input.LA(1)>='a' && this.input.LA(1)<='f') ) {
941
- this.input.consume();
942
-
943
- }
944
- else {
945
- var mse = new org.antlr.runtime.MismatchedSetException(null,this.input);
946
- this.recover(mse);
947
- throw mse;}
948
-
949
-
950
-
951
- break;
952
-
953
- default :
954
- if ( cnt3 >= 1 ) {
955
- break loop3;
956
- }
957
- var eee = new org.antlr.runtime.EarlyExitException(3, this.input);
958
- throw eee;
959
- }
960
- cnt3++;
961
- } while (true);
962
-
963
- this.match(';');
964
-
965
-
966
- break;
967
-
968
- }
969
- this.state.type = _type;
970
- this.state.channel = _channel;
971
- }
972
- finally {
973
- }
974
- },
975
- // $ANTLR end "L_CharRef",
976
-
977
- // $ANTLR start L_QuotStringLiteralChar
978
- mL_QuotStringLiteralChar: function() {
979
- try {
980
- var _type = this.L_QuotStringLiteralChar;
981
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
982
- // xquery/StringLexer.g:82:2: ({...}? => ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0021' | '\\u0023' .. '\\u0025' | '\\u0027' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+ )
983
- // xquery/StringLexer.g:82:4: {...}? => ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0021' | '\\u0023' .. '\\u0025' | '\\u0027' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+
984
- if ( !(( this.inQuotStr )) ) {
985
- throw new org.antlr.runtime.FailedPredicateException(this.input, "L_QuotStringLiteralChar", " this.inQuotStr ");
986
- }
987
- // xquery/StringLexer.g:83:3: ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0021' | '\\u0023' .. '\\u0025' | '\\u0027' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+
988
- var cnt5=0;
989
- loop5:
990
- do {
991
- var alt5=2;
992
- var LA5_0 = this.input.LA(1);
993
-
994
- if ( ((LA5_0>='\t' && LA5_0<='\n')||LA5_0=='\r'||(LA5_0>=' ' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='%')||(LA5_0>='\'' && LA5_0<='\uD7FF')||(LA5_0>='\uE000' && LA5_0<='\uFFFD')) ) {
995
- alt5=1;
996
- }
997
-
998
-
999
- switch (alt5) {
1000
- case 1 :
1001
- // xquery/StringLexer.g:
1002
- if ( (this.input.LA(1)>='\t' && this.input.LA(1)<='\n')||this.input.LA(1)=='\r'||(this.input.LA(1)>=' ' && this.input.LA(1)<='!')||(this.input.LA(1)>='#' && this.input.LA(1)<='%')||(this.input.LA(1)>='\'' && this.input.LA(1)<='\uD7FF')||(this.input.LA(1)>='\uE000' && this.input.LA(1)<='\uFFFD') ) {
1003
- this.input.consume();
1004
-
1005
- }
1006
- else {
1007
- var mse = new org.antlr.runtime.MismatchedSetException(null,this.input);
1008
- this.recover(mse);
1009
- throw mse;}
1010
-
1011
-
1012
-
1013
- break;
1014
-
1015
- default :
1016
- if ( cnt5 >= 1 ) {
1017
- break loop5;
1018
- }
1019
- var eee = new org.antlr.runtime.EarlyExitException(5, this.input);
1020
- throw eee;
1021
- }
1022
- cnt5++;
1023
- } while (true);
1024
-
1025
-
1026
-
1027
-
1028
- this.state.type = _type;
1029
- this.state.channel = _channel;
1030
- }
1031
- finally {
1032
- }
1033
- },
1034
- // $ANTLR end "L_QuotStringLiteralChar",
1035
-
1036
- // $ANTLR start L_AposStringLiteralChar
1037
- mL_AposStringLiteralChar: function() {
1038
- try {
1039
- var _type = this.L_AposStringLiteralChar;
1040
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
1041
- // xquery/StringLexer.g:88:2: ({...}? => ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0025' | '\\u0028' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+ )
1042
- // xquery/StringLexer.g:88:4: {...}? => ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0025' | '\\u0028' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+
1043
- if ( !(( this.inAposStr )) ) {
1044
- throw new org.antlr.runtime.FailedPredicateException(this.input, "L_AposStringLiteralChar", " this.inAposStr ");
1045
- }
1046
- // xquery/StringLexer.g:89:3: ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0025' | '\\u0028' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+
1047
- var cnt6=0;
1048
- loop6:
1049
- do {
1050
- var alt6=2;
1051
- var LA6_0 = this.input.LA(1);
1052
-
1053
- if ( ((LA6_0>='\t' && LA6_0<='\n')||LA6_0=='\r'||(LA6_0>=' ' && LA6_0<='%')||(LA6_0>='(' && LA6_0<='\uD7FF')||(LA6_0>='\uE000' && LA6_0<='\uFFFD')) ) {
1054
- alt6=1;
1055
- }
1056
-
1057
-
1058
- switch (alt6) {
1059
- case 1 :
1060
- // xquery/StringLexer.g:
1061
- if ( (this.input.LA(1)>='\t' && this.input.LA(1)<='\n')||this.input.LA(1)=='\r'||(this.input.LA(1)>=' ' && this.input.LA(1)<='%')||(this.input.LA(1)>='(' && this.input.LA(1)<='\uD7FF')||(this.input.LA(1)>='\uE000' && this.input.LA(1)<='\uFFFD') ) {
1062
- this.input.consume();
1063
-
1064
- }
1065
- else {
1066
- var mse = new org.antlr.runtime.MismatchedSetException(null,this.input);
1067
- this.recover(mse);
1068
- throw mse;}
1069
-
1070
-
1071
-
1072
- break;
1073
-
1074
- default :
1075
- if ( cnt6 >= 1 ) {
1076
- break loop6;
1077
- }
1078
- var eee = new org.antlr.runtime.EarlyExitException(6, this.input);
1079
- throw eee;
1080
- }
1081
- cnt6++;
1082
- } while (true);
1083
-
1084
-
1085
-
1086
-
1087
- this.state.type = _type;
1088
- this.state.channel = _channel;
1089
- }
1090
- finally {
1091
- }
1092
- },
1093
- // $ANTLR end "L_AposStringLiteralChar",
1094
-
1095
- // $ANTLR start L_AnyChar
1096
- mL_AnyChar: function() {
1097
- try {
1098
- var _type = this.L_AnyChar;
1099
- var _channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL;
1100
- // xquery/StringLexer.g:98:5: ({...}? => ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0025' | '\\u0027' .. '\\u003B' | '\\u003D' .. '\\u007A' | '\\u007C' | '\\u007E' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+ )
1101
- // xquery/StringLexer.g:98:9: {...}? => ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0025' | '\\u0027' .. '\\u003B' | '\\u003D' .. '\\u007A' | '\\u007C' | '\\u007E' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+
1102
- if ( !(( !this.inQuotStr && !this.inAposStr )) ) {
1103
- throw new org.antlr.runtime.FailedPredicateException(this.input, "L_AnyChar", " !this.inQuotStr && !this.inAposStr ");
1104
- }
1105
- // xquery/StringLexer.g:99:9: ( '\\u0009' | '\\u000A' | '\\u000D' | '\\u0020' .. '\\u0025' | '\\u0027' .. '\\u003B' | '\\u003D' .. '\\u007A' | '\\u007C' | '\\u007E' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )+
1106
- var cnt7=0;
1107
- loop7:
1108
- do {
1109
- var alt7=2;
1110
- var LA7_0 = this.input.LA(1);
1111
-
1112
- if ( ((LA7_0>='\t' && LA7_0<='\n')||LA7_0=='\r'||(LA7_0>=' ' && LA7_0<='%')||(LA7_0>='\'' && LA7_0<=';')||(LA7_0>='=' && LA7_0<='z')||LA7_0=='|'||(LA7_0>='~' && LA7_0<='\uD7FF')||(LA7_0>='\uE000' && LA7_0<='\uFFFD')) ) {
1113
- alt7=1;
1114
- }
1115
-
1116
-
1117
- switch (alt7) {
1118
- case 1 :
1119
- // xquery/StringLexer.g:
1120
- if ( (this.input.LA(1)>='\t' && this.input.LA(1)<='\n')||this.input.LA(1)=='\r'||(this.input.LA(1)>=' ' && this.input.LA(1)<='%')||(this.input.LA(1)>='\'' && this.input.LA(1)<=';')||(this.input.LA(1)>='=' && this.input.LA(1)<='z')||this.input.LA(1)=='|'||(this.input.LA(1)>='~' && this.input.LA(1)<='\uD7FF')||(this.input.LA(1)>='\uE000' && this.input.LA(1)<='\uFFFD') ) {
1121
- this.input.consume();
1122
-
1123
- }
1124
- else {
1125
- var mse = new org.antlr.runtime.MismatchedSetException(null,this.input);
1126
- this.recover(mse);
1127
- throw mse;}
1128
-
1129
-
1130
-
1131
- break;
1132
-
1133
- default :
1134
- if ( cnt7 >= 1 ) {
1135
- break loop7;
1136
- }
1137
- var eee = new org.antlr.runtime.EarlyExitException(7, this.input);
1138
- throw eee;
1139
- }
1140
- cnt7++;
1141
- } while (true);
1142
-
1143
-
1144
-
1145
-
1146
- this.state.type = _type;
1147
- this.state.channel = _channel;
1148
- }
1149
- finally {
1150
- }
1151
- },
1152
- // $ANTLR end "L_AnyChar",
1153
-
1154
- mTokens: function() {
1155
- // xquery/StringLexer.g:1:8: ( QUOT | APOS | ESCAPE_QUOT | ESCAPE_APOS | L_PredefinedEntityRef | L_CharRef | L_QuotStringLiteralChar | L_AposStringLiteralChar | L_AnyChar )
1156
- var alt8=9;
1157
- alt8 = this.dfa8.predict(this.input);
1158
- switch (alt8) {
1159
- case 1 :
1160
- // xquery/StringLexer.g:1:10: QUOT
1161
- this.mQUOT();
1162
-
1163
-
1164
- break;
1165
- case 2 :
1166
- // xquery/StringLexer.g:1:15: APOS
1167
- this.mAPOS();
1168
-
1169
-
1170
- break;
1171
- case 3 :
1172
- // xquery/StringLexer.g:1:20: ESCAPE_QUOT
1173
- this.mESCAPE_QUOT();
1174
-
1175
-
1176
- break;
1177
- case 4 :
1178
- // xquery/StringLexer.g:1:32: ESCAPE_APOS
1179
- this.mESCAPE_APOS();
1180
-
1181
-
1182
- break;
1183
- case 5 :
1184
- // xquery/StringLexer.g:1:44: L_PredefinedEntityRef
1185
- this.mL_PredefinedEntityRef();
1186
-
1187
-
1188
- break;
1189
- case 6 :
1190
- // xquery/StringLexer.g:1:66: L_CharRef
1191
- this.mL_CharRef();
1192
-
1193
-
1194
- break;
1195
- case 7 :
1196
- // xquery/StringLexer.g:1:76: L_QuotStringLiteralChar
1197
- this.mL_QuotStringLiteralChar();
1198
-
1199
-
1200
- break;
1201
- case 8 :
1202
- // xquery/StringLexer.g:1:100: L_AposStringLiteralChar
1203
- this.mL_AposStringLiteralChar();
1204
-
1205
-
1206
- break;
1207
- case 9 :
1208
- // xquery/StringLexer.g:1:124: L_AnyChar
1209
- this.mL_AnyChar();
1210
-
1211
-
1212
- break;
1213
-
1214
- }
1215
-
1216
- }
1217
-
1218
- }, true); // important to pass true to overwrite default implementations
1219
-
1220
- org.antlr.lang.augmentObject(StringLexer, {
1221
- DFA8_eotS:
1222
- "\u0001\uffff\u0001\u0007\u0001\u000c\u0001\uffff\u0001\u0011\u0001"+
1223
- "\u0012\u0001\u0013\u0001\uffff\u0001\u0015\u0002\uffff\u0001\u0016\u0001"+
1224
- "\uffff\u0001\u0018\u000d\uffff",
1225
- DFA8_eofS:
1226
- "\u001b\uffff",
1227
- DFA8_minS:
1228
- "\u0003\u0009\u0001\u0023\u0003\u0009\u0001\u0000\u0001\u0009\u0002"+
1229
- "\uffff\u0001\u0009\u0001\u0000\u0001\u0009\u0003\uffff\u0003\u0000\u0001"+
1230
- "\uffff\u0002\u0000\u0001\uffff\u0001\u0000\u0002\uffff",
1231
- DFA8_maxS:
1232
- "\u0003\ufffd\u0001\u0071\u0003\ufffd\u0001\u0000\u0001\ufffd\u0002"+
1233
- "\uffff\u0001\ufffd\u0001\u0000\u0001\ufffd\u0003\uffff\u0003\u0000\u0001"+
1234
- "\uffff\u0002\u0000\u0001\uffff\u0001\u0000\u0002\uffff",
1235
- DFA8_acceptS:
1236
- "\u0009\uffff\u0001\u0008\u0001\u0009\u0003\uffff\u0001\u0007\u0001"+
1237
- "\u0006\u0001\u0005\u0003\uffff\u0001\u0001\u0002\uffff\u0001\u0002\u0001"+
1238
- "\uffff\u0001\u0003\u0001\u0004",
1239
- DFA8_specialS:
1240
- "\u0001\u0007\u0001\u000e\u0001\u0000\u0001\u0004\u0001\u0011\u0001"+
1241
- "\u000a\u0001\u0005\u0001\u0009\u0001\u0010\u0002\uffff\u0001\u000f\u0001"+
1242
- "\u0008\u0001\u0006\u0003\uffff\u0001\u000d\u0001\u0003\u0001\u000b\u0001"+
1243
- "\uffff\u0001\u0001\u0001\u000c\u0001\uffff\u0001\u0002\u0002\uffff}>",
1244
- DFA8_transitionS: [
1245
- "\u0002\u0004\u0002\uffff\u0001\u0004\u0012\uffff\u0002\u0004"+
1246
- "\u0001\u0001\u0003\u0004\u0001\u0003\u0001\u0002\u0014\u0004"+
1247
- "\u0001\u0005\u003e\u0004\u0001\u0005\u0001\u0004\u0001\u0005"+
1248
- "\ud782\u0004\u0800\uffff\u1ffe\u0004",
1249
- "\u0002\u0008\u0002\uffff\u0001\u0008\u0012\uffff\u0002\u0008"+
1250
- "\u0001\u0006\u0003\u0008\u0001\uffff\u0001\u000a\u0014\u0008"+
1251
- "\u0001\u0009\u003e\u0008\u0001\u0009\u0001\u0008\u0001\u0009"+
1252
- "\ud782\u0008\u0800\uffff\u1ffe\u0008",
1253
- "\u0002\u000d\u0002\uffff\u0001\u000d\u0012\uffff\u0002\u000d"+
1254
- "\u0001\u000a\u0003\u000d\u0001\uffff\u0001\u000b\u0014\u000d"+
1255
- "\u0001\u000e\u003e\u000d\u0001\u000e\u0001\u000d\u0001\u000e"+
1256
- "\ud782\u000d\u0800\uffff\u1ffe\u000d",
1257
- "\u0001\u000f\u003d\uffff\u0001\u0010\u0005\uffff\u0001\u0010"+
1258
- "\u0004\uffff\u0001\u0010\u0004\uffff\u0001\u0010",
1259
- "\u0002\u0004\u0002\uffff\u0001\u0004\u0012\uffff\u0002\u0004"+
1260
- "\u0001\u0008\u0003\u0004\u0001\uffff\u0001\u000d\u0014\u0004"+
1261
- "\u0001\u0005\u003e\u0004\u0001\u0005\u0001\u0004\u0001\u0005"+
1262
- "\ud782\u0004\u0800\uffff\u1ffe\u0004",
1263
- "\u0002\u0005\u0002\uffff\u0001\u0005\u0012\uffff\u0002\u0005"+
1264
- "\u0001\u0009\u0003\u0005\u0001\uffff\u0001\u000e\ud7d8\u0005"+
1265
- "\u0800\uffff\u1ffe\u0005",
1266
- "\u0002\u0008\u0002\uffff\u0001\u0008\u0012\uffff\u0006\u0008"+
1267
- "\u0001\uffff\u0001\u000a\u0014\u0008\u0001\u0009\u003e\u0008"+
1268
- "\u0001\u0009\u0001\u0008\u0001\u0009\ud782\u0008\u0800\uffff"+
1269
- "\u1ffe\u0008",
1270
- "\u0001\uffff",
1271
- "\u0002\u0008\u0002\uffff\u0001\u0008\u0012\uffff\u0006\u0008"+
1272
- "\u0001\uffff\u0001\u000a\u0014\u0008\u0001\u0009\u003e\u0008"+
1273
- "\u0001\u0009\u0001\u0008\u0001\u0009\ud782\u0008\u0800\uffff"+
1274
- "\u1ffe\u0008",
1275
- "",
1276
- "",
1277
- "\u0002\u000d\u0002\uffff\u0001\u000d\u0012\uffff\u0002\u000d"+
1278
- "\u0001\u000a\u0003\u000d\u0001\uffff\u0015\u000d\u0001\u000e"+
1279
- "\u003e\u000d\u0001\u000e\u0001\u000d\u0001\u000e\ud782\u000d"+
1280
- "\u0800\uffff\u1ffe\u000d",
1281
- "\u0001\uffff",
1282
- "\u0002\u000d\u0002\uffff\u0001\u000d\u0012\uffff\u0002\u000d"+
1283
- "\u0001\u000a\u0003\u000d\u0001\uffff\u0015\u000d\u0001\u000e"+
1284
- "\u003e\u000d\u0001\u000e\u0001\u000d\u0001\u000e\ud782\u000d"+
1285
- "\u0800\uffff\u1ffe\u000d",
1286
- "",
1287
- "",
1288
- "",
1289
- "\u0001\uffff",
1290
- "\u0001\uffff",
1291
- "\u0001\uffff",
1292
- "",
1293
- "\u0001\uffff",
1294
- "\u0001\uffff",
1295
- "",
1296
- "\u0001\uffff",
1297
- "",
1298
- ""
1299
- ]
1300
- });
1301
-
1302
- org.antlr.lang.augmentObject(StringLexer, {
1303
- DFA8_eot:
1304
- org.antlr.runtime.DFA.unpackEncodedString(StringLexer.DFA8_eotS),
1305
- DFA8_eof:
1306
- org.antlr.runtime.DFA.unpackEncodedString(StringLexer.DFA8_eofS),
1307
- DFA8_min:
1308
- org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(StringLexer.DFA8_minS),
1309
- DFA8_max:
1310
- org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(StringLexer.DFA8_maxS),
1311
- DFA8_accept:
1312
- org.antlr.runtime.DFA.unpackEncodedString(StringLexer.DFA8_acceptS),
1313
- DFA8_special:
1314
- org.antlr.runtime.DFA.unpackEncodedString(StringLexer.DFA8_specialS),
1315
- DFA8_transition: (function() {
1316
- var a = [],
1317
- i,
1318
- numStates = StringLexer.DFA8_transitionS.length;
1319
- for (i=0; i<numStates; i++) {
1320
- a.push(org.antlr.runtime.DFA.unpackEncodedString(StringLexer.DFA8_transitionS[i]));
1321
- }
1322
- return a;
1323
- })()
1324
- });
1325
-
1326
- StringLexer.DFA8 = function(recognizer) {
1327
- this.recognizer = recognizer;
1328
- this.decisionNumber = 8;
1329
- this.eot = StringLexer.DFA8_eot;
1330
- this.eof = StringLexer.DFA8_eof;
1331
- this.min = StringLexer.DFA8_min;
1332
- this.max = StringLexer.DFA8_max;
1333
- this.accept = StringLexer.DFA8_accept;
1334
- this.special = StringLexer.DFA8_special;
1335
- this.transition = StringLexer.DFA8_transition;
1336
- };
1337
-
1338
- org.antlr.lang.extend(StringLexer.DFA8, org.antlr.runtime.DFA, {
1339
- getDescription: function() {
1340
- return "1:1: Tokens : ( QUOT | APOS | ESCAPE_QUOT | ESCAPE_APOS | L_PredefinedEntityRef | L_CharRef | L_QuotStringLiteralChar | L_AposStringLiteralChar | L_AnyChar );";
1341
- },
1342
- specialStateTransition: function(s, input) {
1343
- var _s = s;
1344
- /* bind to recognizer so semantic predicates can be evaluated */
1345
- var retval = (function(s, input) {
1346
- switch ( s ) {
1347
- case 0 :
1348
- var LA8_2 = input.LA(1);
1349
-
1350
-
1351
- var index8_2 = input.index();
1352
- input.rewind();
1353
- s = -1;
1354
- if ( (LA8_2=='\'') && ((( this.inAposStr )||( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 11;}
1355
-
1356
- else if ( ((LA8_2>='\t' && LA8_2<='\n')||LA8_2=='\r'||(LA8_2>=' ' && LA8_2<='!')||(LA8_2>='#' && LA8_2<='%')||(LA8_2>='(' && LA8_2<=';')||(LA8_2>='=' && LA8_2<='z')||LA8_2=='|'||(LA8_2>='~' && LA8_2<='\uD7FF')||(LA8_2>='\uE000' && LA8_2<='\uFFFD')) && ((( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 13;}
1357
-
1358
- else if ( (LA8_2=='<'||LA8_2=='{'||LA8_2=='}') && (( this.inQuotStr ))) {s = 14;}
1359
-
1360
- else if ( (LA8_2=='\"') && (( !this.inQuotStr && !this.inAposStr ))) {s = 10;}
1361
-
1362
- else s = 12;
1363
-
1364
-
1365
- input.seek(index8_2);
1366
- if ( s>=0 ) return s;
1367
- break;
1368
- case 1 :
1369
- var LA8_21 = input.LA(1);
1370
-
1371
-
1372
- var index8_21 = input.index();
1373
- input.rewind();
1374
- s = -1;
1375
- if ( (( this.inAposStr )) ) {s = 9;}
1376
-
1377
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1378
-
1379
-
1380
- input.seek(index8_21);
1381
- if ( s>=0 ) return s;
1382
- break;
1383
- case 2 :
1384
- var LA8_24 = input.LA(1);
1385
-
1386
-
1387
- var index8_24 = input.index();
1388
- input.rewind();
1389
- s = -1;
1390
- if ( (( this.inQuotStr )) ) {s = 14;}
1391
-
1392
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1393
-
1394
-
1395
- input.seek(index8_24);
1396
- if ( s>=0 ) return s;
1397
- break;
1398
- case 3 :
1399
- var LA8_18 = input.LA(1);
1400
-
1401
-
1402
- var index8_18 = input.index();
1403
- input.rewind();
1404
- s = -1;
1405
- if ( (( this.inQuotStr )) ) {s = 14;}
1406
-
1407
- else if ( (( this.inAposStr )) ) {s = 9;}
1408
-
1409
-
1410
- input.seek(index8_18);
1411
- if ( s>=0 ) return s;
1412
- break;
1413
- case 4 :
1414
- var LA8_3 = input.LA(1);
1415
-
1416
-
1417
- var index8_3 = input.index();
1418
- input.rewind();
1419
- s = -1;
1420
- if ( (LA8_3=='#') ) {s = 15;}
1421
-
1422
- else if ( (LA8_3=='a'||LA8_3=='g'||LA8_3=='l'||LA8_3=='q') && (( this.inQuotStr | this.inAposStr ))) {s = 16;}
1423
-
1424
-
1425
- input.seek(index8_3);
1426
- if ( s>=0 ) return s;
1427
- break;
1428
- case 5 :
1429
- var LA8_6 = input.LA(1);
1430
-
1431
-
1432
- var index8_6 = input.index();
1433
- input.rewind();
1434
- s = -1;
1435
- if ( ((LA8_6>='\t' && LA8_6<='\n')||LA8_6=='\r'||(LA8_6>=' ' && LA8_6<='%')||(LA8_6>='(' && LA8_6<=';')||(LA8_6>='=' && LA8_6<='z')||LA8_6=='|'||(LA8_6>='~' && LA8_6<='\uD7FF')||(LA8_6>='\uE000' && LA8_6<='\uFFFD')) && ((( this.inAposStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 8;}
1436
-
1437
- else if ( (LA8_6=='<'||LA8_6=='{'||LA8_6=='}') && (( this.inAposStr ))) {s = 9;}
1438
-
1439
- else if ( (LA8_6=='\'') && (( !this.inQuotStr && !this.inAposStr ))) {s = 10;}
1440
-
1441
- else s = 19;
1442
-
1443
-
1444
- input.seek(index8_6);
1445
- if ( s>=0 ) return s;
1446
- break;
1447
- case 6 :
1448
- var LA8_13 = input.LA(1);
1449
-
1450
-
1451
- var index8_13 = input.index();
1452
- input.rewind();
1453
- s = -1;
1454
- if ( ((LA8_13>='\t' && LA8_13<='\n')||LA8_13=='\r'||(LA8_13>=' ' && LA8_13<='!')||(LA8_13>='#' && LA8_13<='%')||(LA8_13>='\'' && LA8_13<=';')||(LA8_13>='=' && LA8_13<='z')||LA8_13=='|'||(LA8_13>='~' && LA8_13<='\uD7FF')||(LA8_13>='\uE000' && LA8_13<='\uFFFD')) && ((( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 13;}
1455
-
1456
- else if ( (LA8_13=='<'||LA8_13=='{'||LA8_13=='}') && (( this.inQuotStr ))) {s = 14;}
1457
-
1458
- else if ( (LA8_13=='\"') && (( !this.inQuotStr && !this.inAposStr ))) {s = 10;}
1459
-
1460
- else s = 24;
1461
-
1462
-
1463
- input.seek(index8_13);
1464
- if ( s>=0 ) return s;
1465
- break;
1466
- case 7 :
1467
- var LA8_0 = input.LA(1);
1468
-
1469
-
1470
- var index8_0 = input.index();
1471
- input.rewind();
1472
- s = -1;
1473
- if ( (LA8_0=='\"') && ((( this.inAposStr )||( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 1;}
1474
-
1475
- else if ( (LA8_0=='\'') && ((( this.inAposStr )||( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 2;}
1476
-
1477
- else if ( (LA8_0=='&') ) {s = 3;}
1478
-
1479
- else if ( ((LA8_0>='\t' && LA8_0<='\n')||LA8_0=='\r'||(LA8_0>=' ' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='%')||(LA8_0>='(' && LA8_0<=';')||(LA8_0>='=' && LA8_0<='z')||LA8_0=='|'||(LA8_0>='~' && LA8_0<='\uD7FF')||(LA8_0>='\uE000' && LA8_0<='\uFFFD')) && ((( this.inAposStr )||( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 4;}
1480
-
1481
- else if ( (LA8_0=='<'||LA8_0=='{'||LA8_0=='}') && ((( this.inAposStr )||( this.inQuotStr )))) {s = 5;}
1482
-
1483
-
1484
- input.seek(index8_0);
1485
- if ( s>=0 ) return s;
1486
- break;
1487
- case 8 :
1488
- var LA8_12 = input.LA(1);
1489
-
1490
-
1491
- var index8_12 = input.index();
1492
- input.rewind();
1493
- s = -1;
1494
- if ( (( this.inAposStr )) ) {s = 23;}
1495
-
1496
- else if ( (( this.inQuotStr )) ) {s = 14;}
1497
-
1498
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1499
-
1500
-
1501
- input.seek(index8_12);
1502
- if ( s>=0 ) return s;
1503
- break;
1504
- case 9 :
1505
- var LA8_7 = input.LA(1);
1506
-
1507
-
1508
- var index8_7 = input.index();
1509
- input.rewind();
1510
- s = -1;
1511
- if ( (( this.inQuotStr )) ) {s = 20;}
1512
-
1513
- else if ( (( this.inAposStr )) ) {s = 9;}
1514
-
1515
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1516
-
1517
-
1518
- input.seek(index8_7);
1519
- if ( s>=0 ) return s;
1520
- break;
1521
- case 10 :
1522
- var LA8_5 = input.LA(1);
1523
-
1524
-
1525
- var index8_5 = input.index();
1526
- input.rewind();
1527
- s = -1;
1528
- if ( ((LA8_5>='\t' && LA8_5<='\n')||LA8_5=='\r'||(LA8_5>=' ' && LA8_5<='!')||(LA8_5>='#' && LA8_5<='%')||(LA8_5>='(' && LA8_5<='\uD7FF')||(LA8_5>='\uE000' && LA8_5<='\uFFFD')) && ((( this.inAposStr )||( this.inQuotStr )))) {s = 5;}
1529
-
1530
- else if ( (LA8_5=='\'') && (( this.inQuotStr ))) {s = 14;}
1531
-
1532
- else if ( (LA8_5=='\"') && (( this.inAposStr ))) {s = 9;}
1533
-
1534
- else s = 18;
1535
-
1536
-
1537
- input.seek(index8_5);
1538
- if ( s>=0 ) return s;
1539
- break;
1540
- case 11 :
1541
- var LA8_19 = input.LA(1);
1542
-
1543
-
1544
- var index8_19 = input.index();
1545
- input.rewind();
1546
- s = -1;
1547
- if ( (( this.inQuotStr )) ) {s = 25;}
1548
-
1549
- else if ( (( this.inAposStr )) ) {s = 9;}
1550
-
1551
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1552
-
1553
-
1554
- input.seek(index8_19);
1555
- if ( s>=0 ) return s;
1556
- break;
1557
- case 12 :
1558
- var LA8_22 = input.LA(1);
1559
-
1560
-
1561
- var index8_22 = input.index();
1562
- input.rewind();
1563
- s = -1;
1564
- if ( (( this.inAposStr )) ) {s = 26;}
1565
-
1566
- else if ( (( this.inQuotStr )) ) {s = 14;}
1567
-
1568
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1569
-
1570
-
1571
- input.seek(index8_22);
1572
- if ( s>=0 ) return s;
1573
- break;
1574
- case 13 :
1575
- var LA8_17 = input.LA(1);
1576
-
1577
-
1578
- var index8_17 = input.index();
1579
- input.rewind();
1580
- s = -1;
1581
- if ( (( this.inQuotStr )) ) {s = 14;}
1582
-
1583
- else if ( (( this.inAposStr )) ) {s = 9;}
1584
-
1585
- else if ( (( !this.inQuotStr && !this.inAposStr )) ) {s = 10;}
1586
-
1587
-
1588
- input.seek(index8_17);
1589
- if ( s>=0 ) return s;
1590
- break;
1591
- case 14 :
1592
- var LA8_1 = input.LA(1);
1593
-
1594
-
1595
- var index8_1 = input.index();
1596
- input.rewind();
1597
- s = -1;
1598
- if ( (LA8_1=='\"') && ((( this.inAposStr )||( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 6;}
1599
-
1600
- else if ( ((LA8_1>='\t' && LA8_1<='\n')||LA8_1=='\r'||(LA8_1>=' ' && LA8_1<='!')||(LA8_1>='#' && LA8_1<='%')||(LA8_1>='(' && LA8_1<=';')||(LA8_1>='=' && LA8_1<='z')||LA8_1=='|'||(LA8_1>='~' && LA8_1<='\uD7FF')||(LA8_1>='\uE000' && LA8_1<='\uFFFD')) && ((( this.inAposStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 8;}
1601
-
1602
- else if ( (LA8_1=='<'||LA8_1=='{'||LA8_1=='}') && (( this.inAposStr ))) {s = 9;}
1603
-
1604
- else if ( (LA8_1=='\'') && (( !this.inQuotStr && !this.inAposStr ))) {s = 10;}
1605
-
1606
- else s = 7;
1607
-
1608
-
1609
- input.seek(index8_1);
1610
- if ( s>=0 ) return s;
1611
- break;
1612
- case 15 :
1613
- var LA8_11 = input.LA(1);
1614
-
1615
-
1616
- var index8_11 = input.index();
1617
- input.rewind();
1618
- s = -1;
1619
- if ( ((LA8_11>='\t' && LA8_11<='\n')||LA8_11=='\r'||(LA8_11>=' ' && LA8_11<='!')||(LA8_11>='#' && LA8_11<='%')||(LA8_11>='\'' && LA8_11<=';')||(LA8_11>='=' && LA8_11<='z')||LA8_11=='|'||(LA8_11>='~' && LA8_11<='\uD7FF')||(LA8_11>='\uE000' && LA8_11<='\uFFFD')) && ((( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 13;}
1620
-
1621
- else if ( (LA8_11=='<'||LA8_11=='{'||LA8_11=='}') && (( this.inQuotStr ))) {s = 14;}
1622
-
1623
- else if ( (LA8_11=='\"') && (( !this.inQuotStr && !this.inAposStr ))) {s = 10;}
1624
-
1625
- else s = 22;
1626
-
1627
-
1628
- input.seek(index8_11);
1629
- if ( s>=0 ) return s;
1630
- break;
1631
- case 16 :
1632
- var LA8_8 = input.LA(1);
1633
-
1634
-
1635
- var index8_8 = input.index();
1636
- input.rewind();
1637
- s = -1;
1638
- if ( ((LA8_8>='\t' && LA8_8<='\n')||LA8_8=='\r'||(LA8_8>=' ' && LA8_8<='%')||(LA8_8>='(' && LA8_8<=';')||(LA8_8>='=' && LA8_8<='z')||LA8_8=='|'||(LA8_8>='~' && LA8_8<='\uD7FF')||(LA8_8>='\uE000' && LA8_8<='\uFFFD')) && ((( this.inAposStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 8;}
1639
-
1640
- else if ( (LA8_8=='<'||LA8_8=='{'||LA8_8=='}') && (( this.inAposStr ))) {s = 9;}
1641
-
1642
- else if ( (LA8_8=='\'') && (( !this.inQuotStr && !this.inAposStr ))) {s = 10;}
1643
-
1644
- else s = 21;
1645
-
1646
-
1647
- input.seek(index8_8);
1648
- if ( s>=0 ) return s;
1649
- break;
1650
- case 17 :
1651
- var LA8_4 = input.LA(1);
1652
-
1653
-
1654
- var index8_4 = input.index();
1655
- input.rewind();
1656
- s = -1;
1657
- if ( ((LA8_4>='\t' && LA8_4<='\n')||LA8_4=='\r'||(LA8_4>=' ' && LA8_4<='!')||(LA8_4>='#' && LA8_4<='%')||(LA8_4>='(' && LA8_4<=';')||(LA8_4>='=' && LA8_4<='z')||LA8_4=='|'||(LA8_4>='~' && LA8_4<='\uD7FF')||(LA8_4>='\uE000' && LA8_4<='\uFFFD')) && ((( this.inAposStr )||( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 4;}
1658
-
1659
- else if ( (LA8_4=='\'') && ((( this.inQuotStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 13;}
1660
-
1661
- else if ( (LA8_4=='\"') && ((( this.inAposStr )||( !this.inQuotStr && !this.inAposStr )))) {s = 8;}
1662
-
1663
- else if ( (LA8_4=='<'||LA8_4=='{'||LA8_4=='}') && ((( this.inAposStr )||( this.inQuotStr )))) {s = 5;}
1664
-
1665
- else s = 17;
1666
-
1667
-
1668
- input.seek(index8_4);
1669
- if ( s>=0 ) return s;
1670
- break;
1671
- }
1672
- }).call(this.recognizer, s, input);
1673
- if (!org.antlr.lang.isUndefined(retval)) {
1674
- return retval;
1675
- }
1676
- var nvae =
1677
- new org.antlr.runtime.NoViableAltException(this.getDescription(), 8, _s, input);
1678
- this.error(nvae);
1679
- throw nvae;
1680
- },
1681
- dummy: null
1682
- });
1683
-
1684
- })();
1685
- exports.StringLexer = StringLexer;
1686
- });