pygments.rb 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +40 -0
  3. data/README.md +3 -0
  4. data/lexers +0 -0
  5. data/lib/pygments/popen.rb +3 -2
  6. data/lib/pygments/version.rb +1 -1
  7. data/pygments.rb.gemspec +2 -1
  8. data/vendor/pygments-main/AUTHORS +20 -1
  9. data/vendor/pygments-main/CHANGES +55 -3
  10. data/vendor/pygments-main/LICENSE +1 -1
  11. data/vendor/pygments-main/MANIFEST.in +1 -1
  12. data/vendor/pygments-main/Makefile +5 -8
  13. data/vendor/pygments-main/REVISION +1 -1
  14. data/vendor/pygments-main/doc/Makefile +153 -0
  15. data/vendor/pygments-main/doc/_static/favicon.ico +0 -0
  16. data/vendor/pygments-main/doc/_static/logo_new.png +0 -0
  17. data/vendor/pygments-main/doc/_static/logo_only.png +0 -0
  18. data/vendor/pygments-main/doc/_templates/docssidebar.html +3 -0
  19. data/vendor/pygments-main/doc/_templates/indexsidebar.html +25 -0
  20. data/vendor/pygments-main/doc/_themes/pygments14/layout.html +98 -0
  21. data/vendor/pygments-main/doc/_themes/pygments14/static/bodybg.png +0 -0
  22. data/vendor/pygments-main/doc/_themes/pygments14/static/docbg.png +0 -0
  23. data/vendor/pygments-main/doc/_themes/pygments14/static/listitem.png +0 -0
  24. data/vendor/pygments-main/doc/_themes/pygments14/static/logo.png +0 -0
  25. data/vendor/pygments-main/doc/_themes/pygments14/static/pocoo.png +0 -0
  26. data/vendor/pygments-main/doc/_themes/pygments14/static/pygments14.css_t +401 -0
  27. data/vendor/pygments-main/doc/_themes/pygments14/theme.conf +15 -0
  28. data/vendor/pygments-main/doc/conf.py +249 -0
  29. data/vendor/pygments-main/doc/docs/api.rst +316 -0
  30. data/vendor/pygments-main/doc/docs/authors.rst +4 -0
  31. data/vendor/pygments-main/doc/docs/changelog.rst +1 -0
  32. data/vendor/pygments-main/{docs/src/cmdline.txt → doc/docs/cmdline.rst} +9 -11
  33. data/vendor/pygments-main/{docs/src/filterdevelopment.txt → doc/docs/filterdevelopment.rst} +1 -1
  34. data/vendor/pygments-main/{docs/src/filters.txt → doc/docs/filters.rst} +4 -5
  35. data/vendor/pygments-main/{docs/src/formatterdevelopment.txt → doc/docs/formatterdevelopment.rst} +1 -1
  36. data/vendor/pygments-main/{docs/src/formatters.txt → doc/docs/formatters.rst} +6 -6
  37. data/vendor/pygments-main/doc/docs/index.rst +66 -0
  38. data/vendor/pygments-main/{docs/src/integrate.txt → doc/docs/integrate.rst} +3 -7
  39. data/vendor/pygments-main/{docs/src/java.txt → doc/docs/java.rst} +0 -0
  40. data/vendor/pygments-main/{docs/src/lexerdevelopment.txt → doc/docs/lexerdevelopment.rst} +13 -14
  41. data/vendor/pygments-main/{docs/src/lexers.txt → doc/docs/lexers.rst} +7 -5
  42. data/vendor/pygments-main/{docs/src/moinmoin.txt → doc/docs/moinmoin.rst} +0 -0
  43. data/vendor/pygments-main/{docs/src/plugins.txt → doc/docs/plugins.rst} +0 -0
  44. data/vendor/pygments-main/{docs/src/quickstart.txt → doc/docs/quickstart.rst} +22 -19
  45. data/vendor/pygments-main/{docs/src/rstdirective.txt → doc/docs/rstdirective.rst} +0 -0
  46. data/vendor/pygments-main/{docs/src/styles.txt → doc/docs/styles.rst} +2 -2
  47. data/vendor/pygments-main/{docs/src/tokens.txt → doc/docs/tokens.rst} +10 -7
  48. data/vendor/pygments-main/{docs/src/unicode.txt → doc/docs/unicode.rst} +8 -7
  49. data/vendor/pygments-main/doc/download.rst +41 -0
  50. data/vendor/pygments-main/doc/faq.rst +143 -0
  51. data/vendor/pygments-main/doc/index.rst +53 -0
  52. data/vendor/pygments-main/doc/languages.rst +151 -0
  53. data/vendor/pygments-main/doc/make.bat +190 -0
  54. data/vendor/pygments-main/{docs → doc}/pygmentize.1 +0 -0
  55. data/vendor/pygments-main/external/autopygmentize +65 -48
  56. data/vendor/pygments-main/external/markdown-processor.py +15 -15
  57. data/vendor/pygments-main/external/moin-parser.py +1 -1
  58. data/vendor/pygments-main/external/rst-directive.py +2 -3
  59. data/vendor/pygments-main/ez_setup.py +340 -234
  60. data/vendor/pygments-main/pygments/__init__.py +4 -4
  61. data/vendor/pygments-main/pygments/cmdline.py +81 -68
  62. data/vendor/pygments-main/pygments/console.py +1 -1
  63. data/vendor/pygments-main/pygments/filter.py +1 -1
  64. data/vendor/pygments-main/pygments/filters/__init__.py +11 -9
  65. data/vendor/pygments-main/pygments/formatter.py +3 -3
  66. data/vendor/pygments-main/pygments/formatters/__init__.py +5 -3
  67. data/vendor/pygments-main/pygments/formatters/_mapping.py +16 -5
  68. data/vendor/pygments-main/pygments/formatters/bbcode.py +1 -1
  69. data/vendor/pygments-main/pygments/formatters/html.py +44 -26
  70. data/vendor/pygments-main/pygments/formatters/img.py +21 -14
  71. data/vendor/pygments-main/pygments/formatters/latex.py +104 -12
  72. data/vendor/pygments-main/pygments/formatters/other.py +53 -6
  73. data/vendor/pygments-main/pygments/formatters/rtf.py +30 -16
  74. data/vendor/pygments-main/pygments/formatters/svg.py +2 -2
  75. data/vendor/pygments-main/pygments/formatters/terminal.py +41 -1
  76. data/vendor/pygments-main/pygments/formatters/terminal256.py +2 -2
  77. data/vendor/pygments-main/pygments/lexer.py +59 -39
  78. data/vendor/pygments-main/pygments/lexers/__init__.py +38 -15
  79. data/vendor/pygments-main/pygments/lexers/_asybuiltins.py +1 -1
  80. data/vendor/pygments-main/pygments/lexers/_clbuiltins.py +15 -15
  81. data/vendor/pygments-main/pygments/lexers/_cocoabuiltins.py +73 -0
  82. data/vendor/pygments-main/pygments/lexers/_lassobuiltins.py +11 -1
  83. data/vendor/pygments-main/pygments/lexers/_luabuiltins.py +14 -8
  84. data/vendor/pygments-main/pygments/lexers/_mapping.py +81 -30
  85. data/vendor/pygments-main/pygments/lexers/_openedgebuiltins.py +1 -1
  86. data/vendor/pygments-main/pygments/lexers/_phpbuiltins.py +1067 -95
  87. data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +7 -7
  88. data/vendor/pygments-main/pygments/lexers/_robotframeworklexer.py +5 -4
  89. data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +1 -1
  90. data/vendor/pygments-main/pygments/lexers/_sourcemodbuiltins.py +12 -7
  91. data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +112 -18
  92. data/vendor/pygments-main/pygments/lexers/_vimbuiltins.py +1 -1
  93. data/vendor/pygments-main/pygments/lexers/agile.py +644 -382
  94. data/vendor/pygments-main/pygments/lexers/asm.py +66 -29
  95. data/vendor/pygments-main/pygments/lexers/compiled.py +1643 -174
  96. data/vendor/pygments-main/pygments/lexers/dalvik.py +27 -6
  97. data/vendor/pygments-main/pygments/lexers/dotnet.py +45 -33
  98. data/vendor/pygments-main/pygments/lexers/foxpro.py +3 -3
  99. data/vendor/pygments-main/pygments/lexers/functional.py +1510 -570
  100. data/vendor/pygments-main/pygments/lexers/graph.py +81 -0
  101. data/vendor/pygments-main/pygments/lexers/hdl.py +29 -30
  102. data/vendor/pygments-main/pygments/lexers/inferno.py +96 -0
  103. data/vendor/pygments-main/pygments/lexers/jvm.py +622 -207
  104. data/vendor/pygments-main/pygments/lexers/math.py +438 -70
  105. data/vendor/pygments-main/pygments/lexers/other.py +885 -171
  106. data/vendor/pygments-main/pygments/lexers/parsers.py +24 -24
  107. data/vendor/pygments-main/pygments/lexers/qbasic.py +157 -0
  108. data/vendor/pygments-main/pygments/lexers/rdf.py +99 -0
  109. data/vendor/pygments-main/pygments/lexers/shell.py +28 -25
  110. data/vendor/pygments-main/pygments/lexers/special.py +7 -8
  111. data/vendor/pygments-main/pygments/lexers/sql.py +56 -23
  112. data/vendor/pygments-main/pygments/lexers/templates.py +377 -59
  113. data/vendor/pygments-main/pygments/lexers/text.py +208 -46
  114. data/vendor/pygments-main/pygments/lexers/web.py +729 -264
  115. data/vendor/pygments-main/pygments/modeline.py +1 -1
  116. data/vendor/pygments-main/pygments/plugin.py +1 -1
  117. data/vendor/pygments-main/pygments/scanner.py +1 -1
  118. data/vendor/pygments-main/pygments/sphinxext.py +153 -0
  119. data/vendor/pygments-main/pygments/style.py +3 -2
  120. data/vendor/pygments-main/pygments/styles/__init__.py +5 -1
  121. data/vendor/pygments-main/pygments/styles/autumn.py +1 -1
  122. data/vendor/pygments-main/pygments/styles/borland.py +1 -1
  123. data/vendor/pygments-main/pygments/styles/bw.py +1 -1
  124. data/vendor/pygments-main/pygments/styles/colorful.py +1 -1
  125. data/vendor/pygments-main/pygments/styles/default.py +1 -1
  126. data/vendor/pygments-main/pygments/styles/emacs.py +1 -1
  127. data/vendor/pygments-main/pygments/styles/friendly.py +1 -1
  128. data/vendor/pygments-main/pygments/styles/fruity.py +1 -1
  129. data/vendor/pygments-main/pygments/styles/igor.py +29 -0
  130. data/vendor/pygments-main/pygments/styles/manni.py +1 -1
  131. data/vendor/pygments-main/pygments/styles/monokai.py +4 -4
  132. data/vendor/pygments-main/pygments/styles/murphy.py +1 -1
  133. data/vendor/pygments-main/pygments/styles/native.py +1 -1
  134. data/vendor/pygments-main/pygments/styles/paraiso_dark.py +125 -0
  135. data/vendor/pygments-main/pygments/styles/paraiso_light.py +125 -0
  136. data/vendor/pygments-main/pygments/styles/pastie.py +1 -1
  137. data/vendor/pygments-main/pygments/styles/perldoc.py +1 -1
  138. data/vendor/pygments-main/pygments/styles/rrt.py +1 -1
  139. data/vendor/pygments-main/pygments/styles/tango.py +1 -1
  140. data/vendor/pygments-main/pygments/styles/trac.py +1 -1
  141. data/vendor/pygments-main/pygments/styles/vim.py +1 -1
  142. data/vendor/pygments-main/pygments/styles/vs.py +1 -1
  143. data/vendor/pygments-main/pygments/styles/xcode.py +51 -0
  144. data/vendor/pygments-main/pygments/token.py +4 -1
  145. data/vendor/pygments-main/pygments/unistring.py +6 -5
  146. data/vendor/pygments-main/pygments/util.py +35 -21
  147. data/vendor/pygments-main/scripts/check_sources.py +28 -44
  148. data/vendor/pygments-main/scripts/detect_missing_analyse_text.py +5 -4
  149. data/vendor/pygments-main/scripts/find_codetags.py +27 -19
  150. data/vendor/pygments-main/scripts/find_error.py +16 -13
  151. data/vendor/pygments-main/scripts/get_vimkw.py +3 -3
  152. data/vendor/pygments-main/scripts/vim2pygments.py +9 -7
  153. data/vendor/pygments-main/setup.py +19 -19
  154. data/vendor/pygments-main/tests/examplefiles/99_bottles_of_beer.chpl +118 -0
  155. data/vendor/pygments-main/tests/examplefiles/Error.pmod +38 -0
  156. data/vendor/pygments-main/tests/examplefiles/FakeFile.pike +360 -0
  157. data/vendor/pygments-main/tests/examplefiles/{ANTLRv3.g → antlr_ANTLRv3.g} +0 -0
  158. data/vendor/pygments-main/tests/examplefiles/clojure-weird-keywords.clj +5 -0
  159. data/vendor/pygments-main/tests/examplefiles/core.cljs +52 -0
  160. data/vendor/pygments-main/tests/examplefiles/demo.cfm +13 -1
  161. data/vendor/pygments-main/tests/examplefiles/demo.hbs +12 -0
  162. data/vendor/pygments-main/tests/examplefiles/ember.handlebars +33 -0
  163. data/vendor/pygments-main/tests/examplefiles/example.als +217 -0
  164. data/vendor/pygments-main/tests/examplefiles/example.c +1 -1
  165. data/vendor/pygments-main/tests/examplefiles/example.chai +6 -0
  166. data/vendor/pygments-main/tests/examplefiles/example.coffee +27 -0
  167. data/vendor/pygments-main/tests/examplefiles/example.e +124 -0
  168. data/vendor/pygments-main/tests/examplefiles/example.f90 +8 -0
  169. data/vendor/pygments-main/tests/examplefiles/example.feature +16 -0
  170. data/vendor/pygments-main/tests/examplefiles/example.gd +23 -0
  171. data/vendor/pygments-main/tests/examplefiles/example.gi +64 -0
  172. data/vendor/pygments-main/tests/examplefiles/example.groovy +2 -0
  173. data/vendor/pygments-main/tests/examplefiles/example.hs +27 -0
  174. data/vendor/pygments-main/tests/examplefiles/example.hx +44 -1
  175. data/vendor/pygments-main/tests/examplefiles/example.i6t +32 -0
  176. data/vendor/pygments-main/tests/examplefiles/example.i7x +45 -0
  177. data/vendor/pygments-main/tests/examplefiles/example.inf +374 -0
  178. data/vendor/pygments-main/tests/examplefiles/example.j +564 -0
  179. data/vendor/pygments-main/tests/examplefiles/example.java +16 -0
  180. data/vendor/pygments-main/tests/examplefiles/example.kal +75 -0
  181. data/vendor/pygments-main/tests/examplefiles/example.liquid +42 -0
  182. data/vendor/pygments-main/tests/examplefiles/example.ma +8 -0
  183. data/vendor/pygments-main/tests/examplefiles/example.mq4 +187 -0
  184. data/vendor/pygments-main/tests/examplefiles/example.mqh +123 -0
  185. data/vendor/pygments-main/tests/examplefiles/example.ni +57 -0
  186. data/vendor/pygments-main/tests/examplefiles/example.nix +80 -0
  187. data/vendor/pygments-main/tests/examplefiles/example.pp +8 -0
  188. data/vendor/pygments-main/tests/examplefiles/example.red +257 -0
  189. data/vendor/pygments-main/tests/examplefiles/example.reds +150 -0
  190. data/vendor/pygments-main/tests/examplefiles/example.rkt +677 -29
  191. data/vendor/pygments-main/tests/examplefiles/example.sh +22 -0
  192. data/vendor/pygments-main/tests/examplefiles/example.slim +31 -0
  193. data/vendor/pygments-main/tests/examplefiles/example.sls +51 -0
  194. data/vendor/pygments-main/tests/examplefiles/example.stan +2 -0
  195. data/vendor/pygments-main/tests/examplefiles/example.todotxt +9 -0
  196. data/vendor/pygments-main/tests/examplefiles/exampleScript.cfc +241 -0
  197. data/vendor/pygments-main/tests/examplefiles/exampleTag.cfc +18 -0
  198. data/vendor/pygments-main/tests/examplefiles/example_elixir.ex +192 -350
  199. data/vendor/pygments-main/tests/examplefiles/hash_syntax.rb +5 -0
  200. data/vendor/pygments-main/tests/examplefiles/hello.at +6 -0
  201. data/vendor/pygments-main/tests/examplefiles/hello.golo +5 -0
  202. data/vendor/pygments-main/tests/examplefiles/hello.lsl +12 -0
  203. data/vendor/pygments-main/tests/examplefiles/{File.hy → hybris_File.hy} +0 -0
  204. data/vendor/pygments-main/tests/examplefiles/{mg_sample.pro → idl_sample.pro} +0 -0
  205. data/vendor/pygments-main/tests/examplefiles/iex_example +23 -0
  206. data/vendor/pygments-main/tests/examplefiles/inet_pton6.dg +24 -24
  207. data/vendor/pygments-main/tests/examplefiles/language.hy +165 -0
  208. data/vendor/pygments-main/tests/examplefiles/limbo.b +456 -0
  209. data/vendor/pygments-main/tests/examplefiles/livescript-demo.ls +3 -1
  210. data/vendor/pygments-main/tests/examplefiles/main.cmake +2 -0
  211. data/vendor/pygments-main/tests/examplefiles/objc_example.m +163 -16
  212. data/vendor/pygments-main/tests/examplefiles/{example.p → openedge_example} +0 -0
  213. data/vendor/pygments-main/tests/examplefiles/pawn_example +25 -0
  214. data/vendor/pygments-main/tests/examplefiles/qbasic_example +2 -0
  215. data/vendor/pygments-main/tests/examplefiles/r6rs-comments.scm +23 -0
  216. data/vendor/pygments-main/tests/examplefiles/{robotframework.txt → robotframework_test.txt} +0 -0
  217. data/vendor/pygments-main/tests/examplefiles/rql-queries.rql +34 -0
  218. data/vendor/pygments-main/tests/examplefiles/scope.cirru +43 -0
  219. data/vendor/pygments-main/tests/examplefiles/sparql.rq +23 -0
  220. data/vendor/pygments-main/tests/examplefiles/test.R +37 -5
  221. data/vendor/pygments-main/tests/examplefiles/test.apl +26 -0
  222. data/vendor/pygments-main/tests/examplefiles/test.cyp +123 -0
  223. data/vendor/pygments-main/tests/examplefiles/test.idr +93 -0
  224. data/vendor/pygments-main/tests/examplefiles/test.mask +41 -0
  225. data/vendor/pygments-main/tests/examplefiles/test.pan +54 -0
  226. data/vendor/pygments-main/tests/examplefiles/test.php +3 -1
  227. data/vendor/pygments-main/tests/examplefiles/test.pig +148 -0
  228. data/vendor/pygments-main/tests/examplefiles/test.pwn +253 -0
  229. data/vendor/pygments-main/tests/examplefiles/test.r3 +27 -7
  230. data/vendor/pygments-main/tests/examplefiles/test.rsl +111 -0
  231. data/vendor/pygments-main/tests/examplefiles/test.swift +65 -0
  232. data/vendor/pygments-main/tests/examplefiles/test.zep +33 -0
  233. data/vendor/pygments-main/tests/examplefiles/unicode.go +10 -0
  234. data/vendor/pygments-main/tests/examplefiles/{test.bas → vbnet_test.bas} +0 -0
  235. data/vendor/pygments-main/tests/examplefiles/vctreestatus_hg +4 -0
  236. data/vendor/pygments-main/tests/examplefiles/vimrc +21 -0
  237. data/vendor/pygments-main/tests/run.py +14 -19
  238. data/vendor/pygments-main/tests/string_asserts.py +22 -0
  239. data/vendor/pygments-main/tests/test_basic_api.py +28 -14
  240. data/vendor/pygments-main/tests/test_cfm.py +46 -0
  241. data/vendor/pygments-main/tests/test_clexer.py +208 -3
  242. data/vendor/pygments-main/tests/test_cmdline.py +6 -5
  243. data/vendor/pygments-main/tests/test_examplefiles.py +30 -19
  244. data/vendor/pygments-main/tests/test_html_formatter.py +15 -13
  245. data/vendor/pygments-main/tests/test_latex_formatter.py +4 -2
  246. data/vendor/pygments-main/tests/test_lexers_other.py +11 -11
  247. data/vendor/pygments-main/tests/test_objectiveclexer.py +81 -0
  248. data/vendor/pygments-main/tests/test_perllexer.py +1 -1
  249. data/vendor/pygments-main/tests/test_qbasiclexer.py +43 -0
  250. data/vendor/pygments-main/tests/test_regexlexer.py +8 -1
  251. data/vendor/pygments-main/tests/test_rtf_formatter.py +109 -0
  252. data/vendor/pygments-main/tests/test_string_asserts.py +39 -0
  253. data/vendor/pygments-main/tests/test_token.py +3 -3
  254. data/vendor/pygments-main/tests/test_using_api.py +1 -1
  255. data/vendor/pygments-main/tests/test_util.py +1 -1
  256. metadata +138 -51
  257. data/vendor/pygments-main/docs/generate.py +0 -472
  258. data/vendor/pygments-main/docs/src/api.txt +0 -270
  259. data/vendor/pygments-main/docs/src/authors.txt +0 -5
  260. data/vendor/pygments-main/docs/src/changelog.txt +0 -5
  261. data/vendor/pygments-main/docs/src/index.txt +0 -69
  262. data/vendor/pygments-main/docs/src/installation.txt +0 -71
  263. data/vendor/pygments-main/external/rst-directive-old.py +0 -77
  264. data/vendor/pygments-main/scripts/reindent.py +0 -291
  265. data/vendor/pygments-main/tests/examplefiles/import.hs +0 -4
  266. data/vendor/pygments-main/tests/examplefiles/objc_example2.m +0 -24
  267. data/vendor/pygments-main/tests/old_run.py +0 -138
@@ -0,0 +1,564 @@
1
+ ; Example JVM assembly
2
+ ; Tested with JasminXT 2.4
3
+
4
+ .bytecode 49.0
5
+ .source HelloWorld.java
6
+ .class public final enum HelloWorld
7
+ .super java/lang/Object
8
+ .implements java/io/Serializable
9
+ .signature "Ljava/lang/Object;Ljava/io/Serializable;"
10
+ .enclosing method hw/jasmin.HelloWorldRunner.run()V
11
+ .deprecated
12
+ .annotation visible HelloWorld
13
+ I I = 0
14
+ .end annotation
15
+ .debug "Happy debugging!"
16
+
17
+ .inner interface public InnerInterface inner 'HelloWorld$InnerInterface' outer HelloWorld
18
+ .inner class public InnerClass inner HelloWorld$InnerClass outer 'HelloWorld'
19
+
20
+ .field public volatile transient I I
21
+ .field static protected final serialVersionUID 'J' signature "TJ;" = 2147483648
22
+ .field annotation protected 'protected' [[[Lcom/oracle/util/Checksums;
23
+ .deprecated
24
+ .signature "[[[Lcom/oracle/util/Checksums;"
25
+ .attribute foo "foo.txt"
26
+ .attribute 'foo' "foo.txt"
27
+ .end field
28
+ .field public newline I
29
+ .field public static defaultString 'Ljava/lang/String;'
30
+
31
+ .method public <init>()V
32
+ .limit stack 3
33
+ .line 7
34
+ .var 0 is self LHelloWorld; from 0 to 1
35
+ aload_0
36
+ invokenonvirtual java/lang/Object/<init>()V
37
+ return
38
+ .end method
39
+
40
+ .method static public main([Ljava/lang/String;)V
41
+ .limit locals 7
42
+ .limit stack 10
43
+ .throws java.lang/RuntimeException
44
+ .catch java/lang.ClassCastException from cast to 'extra_l' using /extra
45
+ .signature "([Ljava/lang/String;)V"
46
+ .stack
47
+ offset /Input
48
+ locals Object java/lang/String
49
+ locals Uninitialized 'End'
50
+ locals Uninitialized 0
51
+ locals Top
52
+ locals Integer
53
+ locals Float
54
+ locals Long
55
+ locals Double
56
+ locals Null
57
+ locals UninitializedThis
58
+ stack Object java/lang/String
59
+ stack Uninitialized End
60
+ stack 'Uninitialized' 0
61
+ stack 'Top'
62
+ stack Integer
63
+ stack Float
64
+ stack Long
65
+ stack Double
66
+ stack Null
67
+ stack UninitializedThis
68
+ .end stack
69
+ .stack use 1 locals
70
+ offset 'extra'
71
+ .end stack
72
+ .stack use locals
73
+ .end stack
74
+ .line 0xd
75
+ .var 0 is args [Ljava/lang/String;
76
+ aload_w 0
77
+ arraylength
78
+ ifne /Input
79
+ iconst_1
80
+ anewarray java/lang/String
81
+ checkcast [Ljava/lang/String;
82
+ astore_0
83
+ aload_0
84
+ iconst_0
85
+ ldc "World"
86
+ dup
87
+ putstatic HelloWorld.defaultString Ljava/lang/String;
88
+ aastore
89
+ /Input:
90
+ iconst_2
91
+ iconst_3
92
+ multianewarray [[C 2
93
+ astore_1
94
+ aload_1
95
+ iconst_0
96
+ aaload
97
+ astore_2
98
+ aload_1
99
+ iconst_1
100
+ aaload
101
+ astore_3
102
+
103
+ <<o:
104
+ aload_3
105
+ iconst_0
106
+ invokestatic HelloWorld/int()I
107
+ castore
108
+
109
+ <<\u0020:
110
+ aload_3
111
+ dconst_1
112
+ dconst_0
113
+ dsub
114
+ d2i
115
+ invokestatic HelloWorld/double()D
116
+ d2i
117
+ castore
118
+
119
+ <<!:
120
+ aload_3
121
+ lconst_0
122
+ dup2
123
+ lxor
124
+ lconst_1
125
+ dup2
126
+ ladd
127
+ lsub
128
+ lneg
129
+ l2i
130
+ invokestatic HelloWorld/long()J
131
+ l2i
132
+ castore
133
+
134
+ <<H:
135
+ aload_2
136
+ fconst_0
137
+ fconst_1
138
+ fconst_2
139
+ dup_x2
140
+ fdiv
141
+ fmul
142
+ f2l
143
+ l2i
144
+ swap
145
+ invokestatic HelloWorld/float(F)F
146
+ f2i
147
+ castore
148
+
149
+ <<e :
150
+ aload_2
151
+ iconst_1
152
+ i2s
153
+ i2c
154
+ i2b
155
+ iconst_1
156
+ newarray short
157
+ dup
158
+ iconst_0
159
+ iconst_1
160
+ newarray byte
161
+ dup
162
+ iconst_0
163
+ sipush 0x65
164
+ bastore
165
+ iconst_0
166
+ baload
167
+ sastore
168
+ iconst_0
169
+ saload
170
+ int2short
171
+ int2char
172
+ int2byte
173
+ castore
174
+
175
+ <<l :
176
+ aload_2
177
+ iconst_2
178
+ bipush 0x1b
179
+ *2:
180
+ iconst_1
181
+ ishl
182
+ dup
183
+ lookupswitch
184
+ 0: '/lookupswitch'
185
+ 0x6c: /lookupswitch
186
+ default: *2
187
+ /lookupswitch:
188
+ castore
189
+
190
+ ldc2_w 2
191
+ dup2
192
+ lcmp
193
+ .set i 4
194
+ .set 'j' 5
195
+ .var 4 is i I from 'i++' to End
196
+ .var 5 is j I signature "I" from i++ to End
197
+ istore 4
198
+ goto 1
199
+ i++:
200
+ iinc 4 1
201
+ 1: iconst_0
202
+ istore_w 5
203
+ goto_w 2
204
+ j++:
205
+ iinc_w 5 1
206
+ 2: getstatic java/lang/System/out Ljava/io/PrintStream;
207
+ aload_1
208
+ iload 4
209
+ aaload
210
+ iload_w 5
211
+ caload
212
+ invokevirtual java/io/PrintStream/print(C)V
213
+ iload 5
214
+ iconst_1
215
+ if_icmpne $+6
216
+ jsr extra
217
+ iload 5
218
+ iconst_2
219
+ if_icmplt j++
220
+ iconst_1
221
+ iload 4
222
+ if_icmpgt i++
223
+
224
+ <<\u00a0:
225
+ getstatic java/lang/System/out Ljava/io/PrintStream;
226
+ invokestatic HelloWorld/get"example()LHelloWorld;
227
+ getfield HelloWorld/newline I
228
+ invokevirtual java/io/PrintStream/print(C)V
229
+ End:
230
+ return
231
+
232
+ extra:
233
+ astore 6
234
+ iload 4
235
+ tableswitch 0 1
236
+ extra_l
237
+ extra_string
238
+ default: 'End'
239
+ nop
240
+ extra_string:
241
+ getstatic java/lang/System/out Ljava/io/PrintStream;
242
+ aload 0
243
+ iconst_0
244
+ aaload
245
+ invokevirtual java/io/PrintStream/print(Ljava/lang/String;)V
246
+ cast:
247
+ ldc java/lang/String
248
+ checkcast java/lang/Class
249
+ pop
250
+ ldc Ljava/lang/String;
251
+ checkcast Ljava/lang/Class;
252
+ pop
253
+ iconst_1
254
+ dup
255
+ newarray boolean
256
+ checkcast [Z
257
+ pop
258
+ newarray 'int'
259
+ checkcast HelloWorld
260
+ checkcast LHelloWorld;
261
+ pop
262
+ extra_l:
263
+ getstatic java/lang/System/out Ljava/io/PrintStream;
264
+ dup
265
+ ldc "\123.\456.\u006c.\n.\r.\t.\f.\b.\".\'.\\"
266
+ iconst_5
267
+ invokeinterface java/lang/CharSequence/charAt(I)C 2
268
+ invokevirtual java/io/PrintStream/print(C)V
269
+ /extra:
270
+ pop
271
+ ret 6
272
+ .end method
273
+
274
+ .method private static get"example()LHelloWorld;
275
+ .limit locals 3
276
+ .limit stack 4
277
+ .catch all from 7 to 53 using 59
278
+ aconst_null
279
+ dup
280
+ dup
281
+ astore_w 0
282
+ try:
283
+ goto $+0x11
284
+ finally:
285
+ astore_w 2
286
+ putfield HelloWorld/newline I
287
+ ret_w 2
288
+ nop
289
+ aload_0
290
+ areturn
291
+ ifnonnull $-2
292
+ ifnull $+3
293
+ new HelloWorld
294
+ dup
295
+ dup
296
+ invokespecial HelloWorld/<init>()V
297
+ astore 0
298
+ aload 0
299
+ monitorenter
300
+ monitorexit
301
+ new java/lang/RuntimeException
302
+ dup
303
+ invokespecial java/lang/RuntimeException/<init>()V
304
+ athrow
305
+ aconst_null
306
+ /try:
307
+ dup
308
+ aconst_null
309
+ if_acmpeq $+3
310
+ areturn
311
+ catch:
312
+ jsr $+10
313
+ aload_0
314
+ dup
315
+ aconst_null
316
+ if_acmpne /try
317
+ areturn
318
+ astore_1
319
+ aload_0
320
+ ldc 10
321
+ jsr_w finally
322
+ ret 1
323
+ 'single\u0020quoted\u0020label': ; Messes up [@ below if lexed sloppily
324
+ .end method
325
+
326
+ .method varargs private static int()I
327
+ .annotation invisible HelloWorld
328
+ [@ [@ WhatIsThis??? = .annotation ; name, type, exttype
329
+ I I = 1 ; name, type
330
+ another-I I = 2
331
+ Enum e Ljava/util/logging/Level; = FINE
332
+ .end annotation
333
+ .annotation
334
+ s s = "foo"
335
+ another-s s = "bar"
336
+ Enum [e Ljava/util/logging/Level; = FINE FINE 'FINE' FINE
337
+ .end annotation
338
+ float F = 123.456
339
+ .end annotation
340
+ .annotation visibleparam 1 LHelloWorld;
341
+ x [I = 0x01 0x02 0x03
342
+ y I = 2
343
+ .end annotation
344
+ .annotation invisibleparam 255 HelloWorld
345
+ a F = 1.2
346
+ b D = 3.4
347
+ .end annotation
348
+ .annotation default
349
+ I = 0
350
+ .end annotation
351
+ .limit locals 4
352
+ .limit stack 20
353
+ iconst_1
354
+ newarray int
355
+ dup
356
+ dup
357
+ instanceof [Z
358
+ bipush 0x9
359
+ bipush 0xB
360
+ iand
361
+ iconst_5
362
+ iconst_4
363
+ dup_x1
364
+ iconst_m1
365
+ iadd
366
+ bipush +-111
367
+ ineg
368
+ swap
369
+ idiv
370
+ dup_x2
371
+ dup
372
+ ishr
373
+ ishl
374
+ imul
375
+ ior
376
+ bipush -73
377
+ ixor
378
+ isub
379
+ dup
380
+ iconst_1
381
+ iadd
382
+ irem
383
+ iastore
384
+ iconst_0
385
+ iaload
386
+ istore_0
387
+ iload_0
388
+ istore_1
389
+ iload_1
390
+ istore_2
391
+ iload_2
392
+ istore_3
393
+ iload_3
394
+ dup
395
+ dup
396
+ dup2_x1
397
+ if_icmpeq $+33
398
+ dup
399
+ dup
400
+ if_icmpge $+28
401
+ dup
402
+ dup
403
+ if_icmple $+23
404
+ dup
405
+ ifle $+19
406
+ dup
407
+ ifeq $+15
408
+ dup
409
+ iflt $+11
410
+ dup
411
+ ifgt $+7
412
+ dup
413
+ ifge $+3
414
+ ireturn
415
+ .end method
416
+
417
+ .method static private fpstrict double()D
418
+ .limit locals 7
419
+ .limit stack 11
420
+ dconst_1
421
+ dconst_0
422
+ dcmpg
423
+ newarray double
424
+ dup
425
+ dconst_0
426
+ dup2
427
+ dcmpl
428
+ ldc2_w 128.
429
+ ldc2_w -240.221d
430
+ dneg
431
+ ldc2_w 158.d
432
+ dup2
433
+ dadd
434
+ dup2_x2
435
+ drem
436
+ ddiv
437
+ pop2
438
+ dconst_1
439
+ dmul
440
+ d2f
441
+ f2d
442
+ d2l
443
+ l2i
444
+ iconst_2
445
+ iushr
446
+ i2d
447
+ dastore
448
+ iconst_0
449
+ daload
450
+ dstore_0
451
+ dload_0
452
+ dstore_1
453
+ dload_1
454
+ dstore_2
455
+ dload_2
456
+ dstore_3
457
+ dload_3
458
+ dstore 4
459
+ dload 4
460
+ dstore_w 5
461
+ dload_w 5
462
+ dreturn
463
+ .end method
464
+
465
+ .method static long()J
466
+ .limit locals 7
467
+ .limit stack 11
468
+ iconst_1
469
+ newarray long
470
+ dup
471
+ iconst_0
472
+ ldc2_w 5718613688
473
+ ldc2_w 3143486100
474
+ ldc2_w 0x3
475
+ ldiv
476
+ lmul
477
+ ldc2_w -10000000000
478
+ lrem
479
+ ldc_w 0x60
480
+ i2l
481
+ lor
482
+ ldc 0x33
483
+ i2l
484
+ land
485
+ dup2
486
+ iconst_1
487
+ lshl
488
+ iconst_3
489
+ lshr
490
+ iconst_3
491
+ lushr
492
+ ladd
493
+ l2d
494
+ d2l
495
+ l2f
496
+ f2l
497
+ lastore
498
+ iconst_0
499
+ laload
500
+ lstore_0
501
+ lload_0
502
+ lstore_1
503
+ lload_1
504
+ lstore_2
505
+ lload_2
506
+ lstore_3
507
+ lload_3
508
+ lstore 4
509
+ lload 4
510
+ lstore_w 5
511
+ lload_w 5
512
+ lreturn
513
+ .end method
514
+
515
+ .method private static float(F)F
516
+ .limit locals 6
517
+ .limit stack 9
518
+ iconst_1
519
+ newarray float
520
+ dup
521
+ fload_0
522
+ dup
523
+ fcmpg
524
+ fload_0
525
+ dup
526
+ dup
527
+ dup
528
+ dup2_x2
529
+ fadd
530
+ fsub
531
+ fneg
532
+ frem
533
+ ldc 70
534
+ i2f
535
+ fadd
536
+ fadd
537
+ swap
538
+ pop
539
+ fastore
540
+ fload_0
541
+ dup
542
+ fcmpl
543
+ faload
544
+ fstore_0
545
+ fload_0
546
+ fstore_1
547
+ fload_1
548
+ fstore_2
549
+ fload_2
550
+ fstore_3
551
+ fload_3
552
+ fstore 4
553
+ fload 4
554
+ fstore_w 5
555
+ fload_w 5
556
+ freturn
557
+ .end method
558
+
559
+ .method abstract bridge synthetic 'acc1()V'
560
+ breakpoint
561
+ .end method
562
+
563
+ .method native synchronized acc2()V
564
+ .end method