mdbe 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/app.rb +182 -0
- data/bin/mdbe +5 -0
- data/config.ru +2 -0
- data/environment.rb +8 -0
- data/lib/mdbe.rb +39 -0
- data/lib/mdbe/action_controller_debug_patch.rb +12 -0
- data/lib/mdbe/code_evaluation.rb +46 -0
- data/lib/mdbe/database_views.rb +24 -0
- data/lib/mdbe/database_views/abstract_dictionary.rb +69 -0
- data/lib/mdbe/database_views/abstract_exception.rb +25 -0
- data/lib/mdbe/database_views/array.rb +28 -0
- data/lib/mdbe/database_views/boolean.rb +12 -0
- data/lib/mdbe/database_views/class.rb +46 -0
- data/lib/mdbe/database_views/exception.rb +3 -0
- data/lib/mdbe/database_views/execblock.rb +5 -0
- data/lib/mdbe/database_views/fixnum.rb +5 -0
- data/lib/mdbe/database_views/float.rb +5 -0
- data/lib/mdbe/database_views/globals.rb +2 -0
- data/lib/mdbe/database_views/gsnmethod.rb +29 -0
- data/lib/mdbe/database_views/hash.rb +5 -0
- data/lib/mdbe/database_views/maglev_record.rb +42 -0
- data/lib/mdbe/database_views/module.rb +103 -0
- data/lib/mdbe/database_views/nilclass.rb +5 -0
- data/lib/mdbe/database_views/object.rb +80 -0
- data/lib/mdbe/database_views/proc.rb +3 -0
- data/lib/mdbe/database_views/repository.rb +3 -0
- data/lib/mdbe/database_views/ruby_workspace.rb +5 -0
- data/lib/mdbe/database_views/smalltalk_classes.rb +34 -0
- data/lib/mdbe/database_views/smalltalk_classes.st +60 -0
- data/lib/mdbe/database_views/string.rb +31 -0
- data/lib/mdbe/database_views/symbol.rb +32 -0
- data/lib/mdbe/database_views/system.rb +61 -0
- data/lib/mdbe/database_views/thread.rb +101 -0
- data/lib/mdbe/debug_server.rb +22 -0
- data/lib/mdbe/halt.rb +42 -0
- data/lib/mdbe/ruby_workspace.rb +29 -0
- data/lib/mdbe/version.rb +3 -0
- data/lib/tasks/maglev-database-explorer_tasks.rake +4 -0
- data/public/LICENSE +35 -0
- data/public/amber/CHANGELOG +65 -0
- data/public/amber/LICENSE +22 -0
- data/public/amber/Makefile +53 -0
- data/public/amber/README.md +30 -0
- data/public/amber/bin/amber +3 -0
- data/public/amber/bin/amberc +352 -0
- data/public/amber/bin/nodecompile.js +33 -0
- data/public/amber/bin/server +3 -0
- data/public/amber/bin/server.bat +3 -0
- data/public/amber/css/amber-normalize.css +468 -0
- data/public/amber/css/amber-normalize.less +501 -0
- data/public/amber/css/amber.css +539 -0
- data/public/amber/css/documentation.css +84 -0
- data/public/amber/css/profstef.css +75 -0
- data/public/amber/css/style.css +313 -0
- data/public/amber/documentation.html +37 -0
- data/public/amber/examples/Makefile +23 -0
- data/public/amber/examples/README +4 -0
- data/public/amber/examples/android/helloamber/AndroidManifest.xml +19 -0
- data/public/amber/examples/android/helloamber/HelloAmber.st +13 -0
- data/public/amber/examples/android/helloamber/Makefile +56 -0
- data/public/amber/examples/android/helloamber/README.md +80 -0
- data/public/amber/examples/android/helloamber/ant.properties +17 -0
- data/public/amber/examples/android/helloamber/assets/index.html +15 -0
- data/public/amber/examples/android/helloamber/assets/jquery-1.7.2.min.js +4 -0
- data/public/amber/examples/android/helloamber/build.xml +83 -0
- data/public/amber/examples/android/helloamber/local.properties +10 -0
- data/public/amber/examples/android/helloamber/proguard-project.txt +20 -0
- data/public/amber/examples/android/helloamber/project.properties +14 -0
- data/public/amber/examples/android/helloamber/res/layout/main.xml +6 -0
- data/public/amber/examples/android/helloamber/res/values/strings.xml +4 -0
- data/public/amber/examples/android/helloamber/src/org/amberlang/android/helloamber/HelloAmber.java +59 -0
- data/public/amber/examples/myproject/index.html +16 -0
- data/public/amber/examples/nodejs/README +9 -0
- data/public/amber/examples/nodejs/benchfib/Benchfib.st +124 -0
- data/public/amber/examples/nodejs/benchfib/Makefile +8 -0
- data/public/amber/examples/nodejs/benchfib/benchfib +1 -0
- data/public/amber/examples/nodejs/hello/Hello.st +9 -0
- data/public/amber/examples/nodejs/hello/Makefile +8 -0
- data/public/amber/examples/nodejs/hello/README +13 -0
- data/public/amber/examples/nodejs/hello/hello +1 -0
- data/public/amber/examples/nodejs/meta/Makefile +8 -0
- data/public/amber/examples/nodejs/meta/MyScript.st +27 -0
- data/public/amber/examples/nodejs/meta/meta +1 -0
- data/public/amber/examples/nodejs/pystone/Makefile +8 -0
- data/public/amber/examples/nodejs/pystone/Pystone.st +306 -0
- data/public/amber/examples/nodejs/pystone/pystone +1 -0
- data/public/amber/examples/nodejs/trivialserver/Makefile +8 -0
- data/public/amber/examples/nodejs/trivialserver/TrivialServer.st +51 -0
- data/public/amber/examples/nodejs/trivialserver/trivial +1 -0
- data/public/amber/examples/presentation/esug2011/images/asterix.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/background_box.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/background_header.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/balloon.jpg +0 -0
- data/public/amber/examples/presentation/esug2011/images/balloon_header.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/devices.jpg +0 -0
- data/public/amber/examples/presentation/esug2011/images/enyo.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/ide_star_wars.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/nodejs.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/terminal.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/webos.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/amber.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/ambrhino.jpg +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/nodejs.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/pharo.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/php.gif +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/rails.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-next.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-prev.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/closedhand.cur +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/openhand.cur +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-back.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-forward.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.css +100 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.js +1232 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js +13 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.easing.1.3.js +38 -0
- data/public/amber/examples/presentation/index.html +17 -0
- data/public/amber/examples/presentation/js/Presentation.deploy.js +1922 -0
- data/public/amber/examples/presentation/js/Presentation.js +2712 -0
- data/public/amber/examples/presentation/st/Presentation.st +1996 -0
- data/public/amber/examples/trysmalltalk/index.html +18 -0
- data/public/amber/examples/trysmalltalk/js/TrySmalltalk.deploy.js +837 -0
- data/public/amber/examples/trysmalltalk/js/TrySmalltalk.js +1206 -0
- data/public/amber/examples/trysmalltalk/st/TrySmalltalk.st +964 -0
- data/public/amber/examples/twitterwall/css/twitterwall.css +19 -0
- data/public/amber/examples/twitterwall/index.html +35 -0
- data/public/amber/examples/twitterwall/js/TwitterWall.deploy.js +116 -0
- data/public/amber/examples/twitterwall/js/TwitterWall.js +146 -0
- data/public/amber/examples/twitterwall/st/TwitterWall.st +91 -0
- data/public/amber/examples/webos/README +11 -0
- data/public/amber/examples/webos/eris/DuckQwaq.wav +0 -0
- data/public/amber/examples/webos/eris/EnyoAmber.st +36 -0
- data/public/amber/examples/webos/eris/Eris.css +0 -0
- data/public/amber/examples/webos/eris/Eris.st +86 -0
- data/public/amber/examples/webos/eris/Makefile +37 -0
- data/public/amber/examples/webos/eris/README +3 -0
- data/public/amber/examples/webos/eris/appinfo.json +10 -0
- data/public/amber/examples/webos/eris/index.html +12 -0
- data/public/amber/examples/webos/helloamber/EnyoAmber.st +36 -0
- data/public/amber/examples/webos/helloamber/HelloAmber.st +86 -0
- data/public/amber/examples/webos/helloamber/Makefile +38 -0
- data/public/amber/examples/webos/helloamber/README +5 -0
- data/public/amber/examples/webos/helloamber/appinfo.json +10 -0
- data/public/amber/examples/webos/helloamber/index.html +12 -0
- data/public/amber/favicon.ico +0 -0
- data/public/amber/images/amber.png +0 -0
- data/public/amber/images/amber.svg +706 -0
- data/public/amber/images/amber_small.png +0 -0
- data/public/amber/images/off.amber.png +0 -0
- data/public/amber/images/off.png +0 -0
- data/public/amber/images/offHover.amber.png +0 -0
- data/public/amber/images/offHover.png +0 -0
- data/public/amber/images/presentation.png +0 -0
- data/public/amber/images/profstef.png +0 -0
- data/public/amber/images/sprite.amber.png +0 -0
- data/public/amber/images/sprite.png +0 -0
- data/public/amber/images/tinylogo.amber.png +0 -0
- data/public/amber/images/tinylogo.png +0 -0
- data/public/amber/images/twitterwall.png +0 -0
- data/public/amber/index.html +55 -0
- data/public/amber/js/Additional-Examples.deploy.js +15 -0
- data/public/amber/js/Additional-Examples.js +21 -0
- data/public/amber/js/Benchfib.deploy.js +132 -0
- data/public/amber/js/Benchfib.js +167 -0
- data/public/amber/js/Canvas.deploy.js +2446 -0
- data/public/amber/js/Canvas.js +3547 -0
- data/public/amber/js/Compiler-Tests.deploy.js +97 -0
- data/public/amber/js/Compiler-Tests.js +137 -0
- data/public/amber/js/Compiler.deploy.js +1877 -0
- data/public/amber/js/Compiler.js +2622 -0
- data/public/amber/js/Documentation.deploy.js +961 -0
- data/public/amber/js/Documentation.js +1376 -0
- data/public/amber/js/Examples.deploy.js +53 -0
- data/public/amber/js/Examples.js +73 -0
- data/public/amber/js/IDE.deploy.js +3557 -0
- data/public/amber/js/IDE.js +5002 -0
- data/public/amber/js/Kernel-Announcements.deploy.js +107 -0
- data/public/amber/js/Kernel-Announcements.js +152 -0
- data/public/amber/js/Kernel-Classes.deploy.js +774 -0
- data/public/amber/js/Kernel-Classes.js +1095 -0
- data/public/amber/js/Kernel-Collections.deploy.js +3121 -0
- data/public/amber/js/Kernel-Collections.js +4427 -0
- data/public/amber/js/Kernel-Exceptions.deploy.js +244 -0
- data/public/amber/js/Kernel-Exceptions.js +349 -0
- data/public/amber/js/Kernel-Methods.deploy.js +573 -0
- data/public/amber/js/Kernel-Methods.js +807 -0
- data/public/amber/js/Kernel-Objects.deploy.js +2877 -0
- data/public/amber/js/Kernel-Objects.js +4107 -0
- data/public/amber/js/Kernel-Tests.deploy.js +1513 -0
- data/public/amber/js/Kernel-Tests.js +2053 -0
- data/public/amber/js/Kernel-Transcript.deploy.js +142 -0
- data/public/amber/js/Kernel-Transcript.js +202 -0
- data/public/amber/js/Maglev-Core.deploy.js +2996 -0
- data/public/amber/js/Maglev-Core.js +4246 -0
- data/public/amber/js/Maglev-Database-Explorer.deploy.js +4476 -0
- data/public/amber/js/Maglev-Database-Explorer.js +6232 -0
- data/public/amber/js/Maglev-Vendor.deploy.js +350 -0
- data/public/amber/js/Maglev-Vendor.js +465 -0
- data/public/amber/js/README.md +5 -0
- data/public/amber/js/SUnit.deploy.js +351 -0
- data/public/amber/js/SUnit.js +501 -0
- data/public/amber/js/amber.js +273 -0
- data/public/amber/js/boot.js +602 -0
- data/public/amber/js/compat.js +22 -0
- data/public/amber/js/init.js +9 -0
- data/public/amber/js/lib/CodeMirror/LICENSE +19 -0
- data/public/amber/js/lib/CodeMirror/active-line.js +39 -0
- data/public/amber/js/lib/CodeMirror/amber.css +21 -0
- data/public/amber/js/lib/CodeMirror/codemirror.css +67 -0
- data/public/amber/js/lib/CodeMirror/codemirror.js +2144 -0
- data/public/amber/js/lib/CodeMirror/smalltalk.js +134 -0
- data/public/amber/js/lib/jQuery/jquery-1.4.4.min.js +167 -0
- data/public/amber/js/lib/jQuery/jquery-1.6.4.min.js +4 -0
- data/public/amber/js/lib/jQuery/jquery-ui-1.8.16.custom.min.js +791 -0
- data/public/amber/js/lib/jQuery/jquery.textarea.js +267 -0
- data/public/amber/js/lib/peg-0.6.2.min.js +2 -0
- data/public/amber/js/lib/showdown.js +419 -0
- data/public/amber/js/parser.js +4222 -0
- data/public/amber/js/parser.pegjs +223 -0
- data/public/amber/learn.html +40 -0
- data/public/amber/repl/Makefile +8 -0
- data/public/amber/repl/REPL.js +124 -0
- data/public/amber/repl/REPL.st +56 -0
- data/public/amber/repl/amber.js +18085 -0
- data/public/amber/server/FileServer.st +576 -0
- data/public/amber/server/Makefile +8 -0
- data/public/amber/server/server.js +13049 -0
- data/public/amber/st/Benchfib.js +297 -0
- data/public/amber/st/Benchfib.st +124 -0
- data/public/amber/st/Canvas.st +968 -0
- data/public/amber/st/Compiler-Tests.st +471 -0
- data/public/amber/st/Compiler.st +1445 -0
- data/public/amber/st/Documentation.st +758 -0
- data/public/amber/st/Examples.js +100 -0
- data/public/amber/st/Examples.st +38 -0
- data/public/amber/st/IDE.st +2404 -0
- data/public/amber/st/Kernel-Announcements.st +61 -0
- data/public/amber/st/Kernel-Classes.st +462 -0
- data/public/amber/st/Kernel-Collections.st +1611 -0
- data/public/amber/st/Kernel-Exceptions.st +124 -0
- data/public/amber/st/Kernel-Methods.st +291 -0
- data/public/amber/st/Kernel-Objects.st +1587 -0
- data/public/amber/st/Kernel-Tests.st +953 -0
- data/public/amber/st/Kernel-Transcript.st +70 -0
- data/public/amber/st/Maglev-Core.st +1694 -0
- data/public/amber/st/Maglev-Database-Explorer.st +3148 -0
- data/public/amber/st/Maglev-Vendor.st +151 -0
- data/public/amber/st/Makefile +104 -0
- data/public/amber/st/README.md +4 -0
- data/public/amber/st/SUnit.st +172 -0
- data/public/css/bootstrap-combined.no-icons.min.css +731 -0
- data/public/css/bootstrap.css +6811 -0
- data/public/css/images/animated-overlay.gif +0 -0
- data/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/css/images/ui-icons_222222_256x240.png +0 -0
- data/public/css/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/css/jquery-ui.min.css +5 -0
- data/public/css/smalltalk_code.css +42 -0
- data/public/css/style.css +210 -0
- data/public/images/bg_tile.png +0 -0
- data/public/images/maglev-logo.gif +0 -0
- data/public/images/mchammer.gif +0 -0
- data/public/images/rails_tiny.png +0 -0
- data/public/images/ruby.png +0 -0
- data/public/images/ruby_smalltalk_bridge.png +0 -0
- data/public/images/smalltalk.png +0 -0
- data/public/img/glyphicons-halflings.png +0 -0
- data/public/index.html +118 -0
- data/public/libs/bootstrap.min.js +7 -0
- data/public/libs/codemirror/CONTRIBUTING.md +72 -0
- data/public/libs/codemirror/LICENSE +23 -0
- data/public/libs/codemirror/README.md +11 -0
- data/public/libs/codemirror/addon/dialog/dialog.css +32 -0
- data/public/libs/codemirror/addon/dialog/dialog.js +80 -0
- data/public/libs/codemirror/addon/display/placeholder.js +54 -0
- data/public/libs/codemirror/addon/edit/closebrackets.js +54 -0
- data/public/libs/codemirror/addon/edit/closetag.js +86 -0
- data/public/libs/codemirror/addon/edit/continuecomment.js +44 -0
- data/public/libs/codemirror/addon/edit/continuelist.js +25 -0
- data/public/libs/codemirror/addon/edit/matchbrackets.js +82 -0
- data/public/libs/codemirror/addon/fold/brace-fold.js +31 -0
- data/public/libs/codemirror/addon/fold/foldcode.js +32 -0
- data/public/libs/codemirror/addon/fold/indent-fold.js +11 -0
- data/public/libs/codemirror/addon/fold/xml-fold.js +64 -0
- data/public/libs/codemirror/addon/hint/html-hint.js +582 -0
- data/public/libs/codemirror/addon/hint/javascript-hint.js +142 -0
- data/public/libs/codemirror/addon/hint/pig-hint.js +117 -0
- data/public/libs/codemirror/addon/hint/python-hint.js +93 -0
- data/public/libs/codemirror/addon/hint/show-hint.css +38 -0
- data/public/libs/codemirror/addon/hint/show-hint.js +180 -0
- data/public/libs/codemirror/addon/hint/xml-hint.js +118 -0
- data/public/libs/codemirror/addon/lint/javascript-lint.js +127 -0
- data/public/libs/codemirror/addon/lint/json-lint.js +14 -0
- data/public/libs/codemirror/addon/lint/lint.css +96 -0
- data/public/libs/codemirror/addon/lint/lint.js +197 -0
- data/public/libs/codemirror/addon/mode/loadmode.js +51 -0
- data/public/libs/codemirror/addon/mode/multiplex.js +95 -0
- data/public/libs/codemirror/addon/mode/overlay.js +59 -0
- data/public/libs/codemirror/addon/runmode/colorize.js +29 -0
- data/public/libs/codemirror/addon/runmode/runmode-standalone.js +130 -0
- data/public/libs/codemirror/addon/runmode/runmode.js +52 -0
- data/public/libs/codemirror/addon/runmode/runmode.node.js +89 -0
- data/public/libs/codemirror/addon/search/match-highlighter.js +60 -0
- data/public/libs/codemirror/addon/search/search.js +131 -0
- data/public/libs/codemirror/addon/search/searchcursor.js +133 -0
- data/public/libs/codemirror/addon/selection/active-line.js +39 -0
- data/public/libs/codemirror/addon/selection/mark-selection.js +34 -0
- data/public/libs/codemirror/bin/compress +91 -0
- data/public/libs/codemirror/bin/lint +11 -0
- data/public/libs/codemirror/demo/activeline.html +70 -0
- data/public/libs/codemirror/demo/bidi.html +61 -0
- data/public/libs/codemirror/demo/btree.html +87 -0
- data/public/libs/codemirror/demo/buffers.html +98 -0
- data/public/libs/codemirror/demo/changemode.html +50 -0
- data/public/libs/codemirror/demo/closebrackets.html +63 -0
- data/public/libs/codemirror/demo/closetag.html +37 -0
- data/public/libs/codemirror/demo/complete.html +70 -0
- data/public/libs/codemirror/demo/emacs.html +60 -0
- data/public/libs/codemirror/demo/folding.html +69 -0
- data/public/libs/codemirror/demo/fullscreen.html +147 -0
- data/public/libs/codemirror/demo/html5complete.html +92 -0
- data/public/libs/codemirror/demo/indentwrap.html +49 -0
- data/public/libs/codemirror/demo/lint.html +90 -0
- data/public/libs/codemirror/demo/loadmode.html +40 -0
- data/public/libs/codemirror/demo/marker.html +59 -0
- data/public/libs/codemirror/demo/markselection.html +36 -0
- data/public/libs/codemirror/demo/matchhighlighter.html +38 -0
- data/public/libs/codemirror/demo/multiplex.html +60 -0
- data/public/libs/codemirror/demo/mustache.html +59 -0
- data/public/libs/codemirror/demo/placeholder.html +36 -0
- data/public/libs/codemirror/demo/preview.html +76 -0
- data/public/libs/codemirror/demo/resize.html +49 -0
- data/public/libs/codemirror/demo/runmode.html +50 -0
- data/public/libs/codemirror/demo/search.html +85 -0
- data/public/libs/codemirror/demo/spanaffectswrapping_shim.html +73 -0
- data/public/libs/codemirror/demo/theme.html +89 -0
- data/public/libs/codemirror/demo/variableheight.html +52 -0
- data/public/libs/codemirror/demo/vim.html +65 -0
- data/public/libs/codemirror/demo/visibletabs.html +53 -0
- data/public/libs/codemirror/demo/widget.html +74 -0
- data/public/libs/codemirror/demo/xmlcomplete.html +81 -0
- data/public/libs/codemirror/index.html +487 -0
- data/public/libs/codemirror/keymap/emacs.js +30 -0
- data/public/libs/codemirror/keymap/vim.js +3044 -0
- data/public/libs/codemirror/lib/codemirror.css +253 -0
- data/public/libs/codemirror/lib/codemirror.js +5585 -0
- data/public/libs/codemirror/mode/apl/apl.js +160 -0
- data/public/libs/codemirror/mode/apl/index.html +61 -0
- data/public/libs/codemirror/mode/asterisk/asterisk.js +183 -0
- data/public/libs/codemirror/mode/asterisk/index.html +142 -0
- data/public/libs/codemirror/mode/clike/clike.js +302 -0
- data/public/libs/codemirror/mode/clike/index.html +103 -0
- data/public/libs/codemirror/mode/clike/scala.html +767 -0
- data/public/libs/codemirror/mode/clojure/clojure.js +222 -0
- data/public/libs/codemirror/mode/clojure/index.html +76 -0
- data/public/libs/codemirror/mode/coffeescript/LICENSE +22 -0
- data/public/libs/codemirror/mode/coffeescript/coffeescript.js +346 -0
- data/public/libs/codemirror/mode/coffeescript/index.html +728 -0
- data/public/libs/codemirror/mode/commonlisp/commonlisp.js +101 -0
- data/public/libs/codemirror/mode/commonlisp/index.html +165 -0
- data/public/libs/codemirror/mode/css/css.js +567 -0
- data/public/libs/codemirror/mode/css/index.html +58 -0
- data/public/libs/codemirror/mode/css/scss.html +145 -0
- data/public/libs/codemirror/mode/css/scss_test.js +80 -0
- data/public/libs/codemirror/mode/css/test.js +113 -0
- data/public/libs/codemirror/mode/d/d.js +205 -0
- data/public/libs/codemirror/mode/d/index.html +262 -0
- data/public/libs/codemirror/mode/diff/diff.js +32 -0
- data/public/libs/codemirror/mode/diff/index.html +105 -0
- data/public/libs/codemirror/mode/ecl/ecl.js +192 -0
- data/public/libs/codemirror/mode/ecl/index.html +39 -0
- data/public/libs/codemirror/mode/erlang/erlang.js +463 -0
- data/public/libs/codemirror/mode/erlang/index.html +64 -0
- data/public/libs/codemirror/mode/gas/gas.js +326 -0
- data/public/libs/codemirror/mode/gas/index.html +57 -0
- data/public/libs/codemirror/mode/gfm/gfm.js +96 -0
- data/public/libs/codemirror/mode/gfm/index.html +74 -0
- data/public/libs/codemirror/mode/gfm/test.js +112 -0
- data/public/libs/codemirror/mode/go/go.js +165 -0
- data/public/libs/codemirror/mode/go/index.html +74 -0
- data/public/libs/codemirror/mode/groovy/groovy.js +210 -0
- data/public/libs/codemirror/mode/groovy/index.html +73 -0
- data/public/libs/codemirror/mode/haskell/haskell.js +242 -0
- data/public/libs/codemirror/mode/haskell/index.html +62 -0
- data/public/libs/codemirror/mode/haxe/haxe.js +429 -0
- data/public/libs/codemirror/mode/haxe/index.html +90 -0
- data/public/libs/codemirror/mode/htmlembedded/htmlembedded.js +73 -0
- data/public/libs/codemirror/mode/htmlembedded/index.html +49 -0
- data/public/libs/codemirror/mode/htmlmixed/htmlmixed.js +104 -0
- data/public/libs/codemirror/mode/htmlmixed/index.html +73 -0
- data/public/libs/codemirror/mode/http/http.js +98 -0
- data/public/libs/codemirror/mode/http/index.html +32 -0
- data/public/libs/codemirror/mode/javascript/index.html +92 -0
- data/public/libs/codemirror/mode/javascript/javascript.js +467 -0
- data/public/libs/codemirror/mode/javascript/typescript.html +48 -0
- data/public/libs/codemirror/mode/jinja2/index.html +38 -0
- data/public/libs/codemirror/mode/jinja2/jinja2.js +42 -0
- data/public/libs/codemirror/mode/less/index.html +741 -0
- data/public/libs/codemirror/mode/less/less.js +266 -0
- data/public/libs/codemirror/mode/livescript/LICENSE +23 -0
- data/public/libs/codemirror/mode/livescript/index.html +446 -0
- data/public/libs/codemirror/mode/livescript/livescript.js +267 -0
- data/public/libs/codemirror/mode/livescript/livescript.ls +266 -0
- data/public/libs/codemirror/mode/lua/index.html +74 -0
- data/public/libs/codemirror/mode/lua/lua.js +140 -0
- data/public/libs/codemirror/mode/markdown/index.html +344 -0
- data/public/libs/codemirror/mode/markdown/markdown.js +526 -0
- data/public/libs/codemirror/mode/markdown/test.js +636 -0
- data/public/libs/codemirror/mode/meta.js +75 -0
- data/public/libs/codemirror/mode/mirc/index.html +149 -0
- data/public/libs/codemirror/mode/mirc/mirc.js +177 -0
- data/public/libs/codemirror/mode/ntriples/index.html +33 -0
- data/public/libs/codemirror/mode/ntriples/ntriples.js +170 -0
- data/public/libs/codemirror/mode/ocaml/index.html +131 -0
- data/public/libs/codemirror/mode/ocaml/ocaml.js +113 -0
- data/public/libs/codemirror/mode/pascal/LICENSE +7 -0
- data/public/libs/codemirror/mode/pascal/index.html +48 -0
- data/public/libs/codemirror/mode/pascal/pascal.js +94 -0
- data/public/libs/codemirror/mode/perl/LICENSE +19 -0
- data/public/libs/codemirror/mode/perl/index.html +62 -0
- data/public/libs/codemirror/mode/perl/perl.js +816 -0
- data/public/libs/codemirror/mode/php/index.html +51 -0
- data/public/libs/codemirror/mode/php/php.js +129 -0
- data/public/libs/codemirror/mode/pig/index.html +42 -0
- data/public/libs/codemirror/mode/pig/pig.js +171 -0
- data/public/libs/codemirror/mode/properties/index.html +41 -0
- data/public/libs/codemirror/mode/properties/properties.js +63 -0
- data/public/libs/codemirror/mode/python/LICENSE.txt +21 -0
- data/public/libs/codemirror/mode/python/index.html +135 -0
- data/public/libs/codemirror/mode/python/python.js +340 -0
- data/public/libs/codemirror/mode/q/index.html +131 -0
- data/public/libs/codemirror/mode/q/q.js +124 -0
- data/public/libs/codemirror/mode/r/LICENSE +24 -0
- data/public/libs/codemirror/mode/r/index.html +74 -0
- data/public/libs/codemirror/mode/r/r.js +141 -0
- data/public/libs/codemirror/mode/rpm/changes/changes.js +19 -0
- data/public/libs/codemirror/mode/rpm/changes/index.html +53 -0
- data/public/libs/codemirror/mode/rpm/spec/index.html +99 -0
- data/public/libs/codemirror/mode/rpm/spec/spec.css +5 -0
- data/public/libs/codemirror/mode/rpm/spec/spec.js +66 -0
- data/public/libs/codemirror/mode/rst/LICENSE.txt +21 -0
- data/public/libs/codemirror/mode/rst/index.html +524 -0
- data/public/libs/codemirror/mode/rst/rst.js +550 -0
- data/public/libs/codemirror/mode/ruby/LICENSE +24 -0
- data/public/libs/codemirror/mode/ruby/index.html +173 -0
- data/public/libs/codemirror/mode/ruby/ruby.js +197 -0
- data/public/libs/codemirror/mode/rust/index.html +48 -0
- data/public/libs/codemirror/mode/rust/rust.js +432 -0
- data/public/libs/codemirror/mode/sass/index.html +54 -0
- data/public/libs/codemirror/mode/sass/sass.js +349 -0
- data/public/libs/codemirror/mode/scheme/index.html +65 -0
- data/public/libs/codemirror/mode/scheme/scheme.js +230 -0
- data/public/libs/codemirror/mode/shell/index.html +51 -0
- data/public/libs/codemirror/mode/shell/shell.js +118 -0
- data/public/libs/codemirror/mode/sieve/LICENSE +19 -0
- data/public/libs/codemirror/mode/sieve/index.html +81 -0
- data/public/libs/codemirror/mode/sieve/sieve.js +183 -0
- data/public/libs/codemirror/mode/smalltalk/index.html +57 -0
- data/public/libs/codemirror/mode/smalltalk/smalltalk.js +141 -0
- data/public/libs/codemirror/mode/smarty/index.html +83 -0
- data/public/libs/codemirror/mode/smarty/smarty.js +148 -0
- data/public/libs/codemirror/mode/sparql/index.html +42 -0
- data/public/libs/codemirror/mode/sparql/sparql.js +143 -0
- data/public/libs/codemirror/mode/sql/index.html +68 -0
- data/public/libs/codemirror/mode/sql/sql.js +268 -0
- data/public/libs/codemirror/mode/stex/index.html +98 -0
- data/public/libs/codemirror/mode/stex/stex.js +246 -0
- data/public/libs/codemirror/mode/stex/test.js +117 -0
- data/public/libs/codemirror/mode/tcl/index.html +129 -0
- data/public/libs/codemirror/mode/tcl/tcl.js +131 -0
- data/public/libs/codemirror/mode/tiddlywiki/index.html +142 -0
- data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.js +353 -0
- data/public/libs/codemirror/mode/tiki/index.html +81 -0
- data/public/libs/codemirror/mode/tiki/tiki.css +26 -0
- data/public/libs/codemirror/mode/tiki/tiki.js +308 -0
- data/public/libs/codemirror/mode/turtle/index.html +39 -0
- data/public/libs/codemirror/mode/turtle/turtle.js +145 -0
- data/public/libs/codemirror/mode/vb/LICENSE.txt +21 -0
- data/public/libs/codemirror/mode/vb/index.html +88 -0
- data/public/libs/codemirror/mode/vb/vb.js +259 -0
- data/public/libs/codemirror/mode/vbscript/index.html +42 -0
- data/public/libs/codemirror/mode/vbscript/vbscript.js +26 -0
- data/public/libs/codemirror/mode/velocity/index.html +103 -0
- data/public/libs/codemirror/mode/velocity/velocity.js +144 -0
- data/public/libs/codemirror/mode/verilog/index.html +121 -0
- data/public/libs/codemirror/mode/verilog/verilog.js +182 -0
- data/public/libs/codemirror/mode/xml/index.html +45 -0
- data/public/libs/codemirror/mode/xml/xml.js +328 -0
- data/public/libs/codemirror/mode/xquery/LICENSE +20 -0
- data/public/libs/codemirror/mode/xquery/index.html +221 -0
- data/public/libs/codemirror/mode/xquery/test.js +64 -0
- data/public/libs/codemirror/mode/xquery/xquery.js +450 -0
- data/public/libs/codemirror/mode/yaml/index.html +68 -0
- data/public/libs/codemirror/mode/yaml/yaml.js +95 -0
- data/public/libs/codemirror/mode/z80/index.html +39 -0
- data/public/libs/codemirror/mode/z80/z80.js +85 -0
- data/public/libs/codemirror/package.json +21 -0
- data/public/libs/codemirror/test/doc_test.js +329 -0
- data/public/libs/codemirror/test/driver.js +138 -0
- data/public/libs/codemirror/test/index.html +182 -0
- data/public/libs/codemirror/test/lint/acorn.js +1593 -0
- data/public/libs/codemirror/test/lint/lint.js +112 -0
- data/public/libs/codemirror/test/lint/parse-js.js +1372 -0
- data/public/libs/codemirror/test/lint/walk.js +216 -0
- data/public/libs/codemirror/test/mode_test.css +10 -0
- data/public/libs/codemirror/test/mode_test.js +192 -0
- data/public/libs/codemirror/test/phantom_driver.js +31 -0
- data/public/libs/codemirror/test/run.js +33 -0
- data/public/libs/codemirror/test/test.js +1400 -0
- data/public/libs/codemirror/test/vim_test.js +1688 -0
- data/public/libs/codemirror/theme/ambiance-mobile.css +5 -0
- data/public/libs/codemirror/theme/ambiance.css +75 -0
- data/public/libs/codemirror/theme/blackboard.css +25 -0
- data/public/libs/codemirror/theme/cobalt.css +18 -0
- data/public/libs/codemirror/theme/eclipse.css +25 -0
- data/public/libs/codemirror/theme/elegant.css +10 -0
- data/public/libs/codemirror/theme/erlang-dark.css +21 -0
- data/public/libs/codemirror/theme/lesser-dark.css +44 -0
- data/public/libs/codemirror/theme/midnight.css +52 -0
- data/public/libs/codemirror/theme/monokai.css +28 -0
- data/public/libs/codemirror/theme/neat.css +9 -0
- data/public/libs/codemirror/theme/night.css +21 -0
- data/public/libs/codemirror/theme/rubyblue.css +21 -0
- data/public/libs/codemirror/theme/solarized.css +207 -0
- data/public/libs/codemirror/theme/twilight.css +26 -0
- data/public/libs/codemirror/theme/vibrant-ink.css +27 -0
- data/public/libs/codemirror/theme/xq-dark.css +46 -0
- data/public/libs/codemirror/theme/xq-light.css +43 -0
- data/public/libs/font-awesome/css/font-awesome-ie7.css +983 -0
- data/public/libs/font-awesome/css/font-awesome-ie7.min.css +24 -0
- data/public/libs/font-awesome/css/font-awesome.css +1268 -0
- data/public/libs/font-awesome/css/font-awesome.min.css +24 -0
- data/public/libs/font-awesome/font/FontAwesome.otf +0 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.eot +0 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.svg +339 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.ttf +0 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.woff +0 -0
- data/public/libs/font-awesome/less/bootstrap.less +78 -0
- data/public/libs/font-awesome/less/core.less +132 -0
- data/public/libs/font-awesome/less/extras.less +79 -0
- data/public/libs/font-awesome/less/font-awesome-ie7.less +413 -0
- data/public/libs/font-awesome/less/font-awesome.less +32 -0
- data/public/libs/font-awesome/less/icons.less +330 -0
- data/public/libs/font-awesome/less/mixins.less +34 -0
- data/public/libs/font-awesome/less/path.less +15 -0
- data/public/libs/font-awesome/less/variables.less +9 -0
- data/public/libs/jquery-1.10.0.min.js +6 -0
- data/public/libs/jquery-ui.min.js +12 -0
- data/public/libs/jquery.jsPlumb-1.4.0-all.js +9571 -0
- data/public/libs/jquery.livequery.js +226 -0
- data/public/libs/jsPlumbInitializer.js +72 -0
- data/public/libs/jstree/README.txt +10 -0
- data/public/libs/jstree/_demo/_dump.sql +20 -0
- data/public/libs/jstree/_demo/_inc/__mysql_errors.log +0 -0
- data/public/libs/jstree/_demo/_inc/class._database.php +146 -0
- data/public/libs/jstree/_demo/_inc/class._database_i.php +152 -0
- data/public/libs/jstree/_demo/_inc/class.tree.php +602 -0
- data/public/libs/jstree/_demo/_install.txt +6 -0
- data/public/libs/jstree/_demo/config.php +14 -0
- data/public/libs/jstree/_demo/file.png +0 -0
- data/public/libs/jstree/_demo/folder.png +0 -0
- data/public/libs/jstree/_demo/index.html +461 -0
- data/public/libs/jstree/_demo/root.png +0 -0
- data/public/libs/jstree/_demo/server.php +69 -0
- data/public/libs/jstree/_docs/!style.css +48 -0
- data/public/libs/jstree/_docs/_drive.png +0 -0
- data/public/libs/jstree/_docs/_html_data.html +2 -0
- data/public/libs/jstree/_docs/_json_data.json +4 -0
- data/public/libs/jstree/_docs/_search_data.json +6 -0
- data/public/libs/jstree/_docs/_search_result.json +1 -0
- data/public/libs/jstree/_docs/_xml_flat.xml +12 -0
- data/public/libs/jstree/_docs/_xml_nest.xml +18 -0
- data/public/libs/jstree/_docs/checkbox.html +171 -0
- data/public/libs/jstree/_docs/contextmenu.html +121 -0
- data/public/libs/jstree/_docs/cookies.html +97 -0
- data/public/libs/jstree/_docs/core.html +689 -0
- data/public/libs/jstree/_docs/crrm.html +316 -0
- data/public/libs/jstree/_docs/dnd.html +199 -0
- data/public/libs/jstree/_docs/hotkeys.html +82 -0
- data/public/libs/jstree/_docs/html_data.html +175 -0
- data/public/libs/jstree/_docs/index.html +86 -0
- data/public/libs/jstree/_docs/json_data.html +249 -0
- data/public/libs/jstree/_docs/languages.html +152 -0
- data/public/libs/jstree/_docs/logo.png +0 -0
- data/public/libs/jstree/_docs/search.html +153 -0
- data/public/libs/jstree/_docs/sort.html +85 -0
- data/public/libs/jstree/_docs/syntax/!script.js +2232 -0
- data/public/libs/jstree/_docs/syntax/!style.css +511 -0
- data/public/libs/jstree/_docs/syntax/clipboard.swf +0 -0
- data/public/libs/jstree/_docs/syntax/help.png +0 -0
- data/public/libs/jstree/_docs/syntax/magnifier.png +0 -0
- data/public/libs/jstree/_docs/syntax/page_white_code.png +0 -0
- data/public/libs/jstree/_docs/syntax/page_white_copy.png +0 -0
- data/public/libs/jstree/_docs/syntax/printer.png +0 -0
- data/public/libs/jstree/_docs/syntax/wrapping.png +0 -0
- data/public/libs/jstree/_docs/themeroller.html +107 -0
- data/public/libs/jstree/_docs/themes.html +127 -0
- data/public/libs/jstree/_docs/types.html +178 -0
- data/public/libs/jstree/_docs/ui.html +197 -0
- data/public/libs/jstree/_docs/unique.html +85 -0
- data/public/libs/jstree/_docs/xml_data.html +218 -0
- data/public/libs/jstree/_lib/jquery.cookie.js +96 -0
- data/public/libs/jstree/_lib/jquery.hotkeys.js +99 -0
- data/public/libs/jstree/_lib/jquery.js +5 -0
- data/public/libs/jstree/jquery.jstree.js +4564 -0
- data/public/libs/jstree/themes/apple/bg.jpg +0 -0
- data/public/libs/jstree/themes/apple/d.png +0 -0
- data/public/libs/jstree/themes/apple/dot_for_ie.gif +0 -0
- data/public/libs/jstree/themes/apple/style.css +61 -0
- data/public/libs/jstree/themes/apple/throbber.gif +0 -0
- data/public/libs/jstree/themes/classic/d.gif +0 -0
- data/public/libs/jstree/themes/classic/d.png +0 -0
- data/public/libs/jstree/themes/classic/dot_for_ie.gif +0 -0
- data/public/libs/jstree/themes/classic/style.css +77 -0
- data/public/libs/jstree/themes/classic/throbber.gif +0 -0
- data/public/libs/jstree/themes/default-rtl/d.gif +0 -0
- data/public/libs/jstree/themes/default-rtl/d.png +0 -0
- data/public/libs/jstree/themes/default-rtl/dots.gif +0 -0
- data/public/libs/jstree/themes/default-rtl/style.css +84 -0
- data/public/libs/jstree/themes/default-rtl/throbber.gif +0 -0
- data/public/libs/jstree/themes/default/d.gif +0 -0
- data/public/libs/jstree/themes/default/d.png +0 -0
- data/public/libs/jstree/themes/default/style.css +74 -0
- data/public/libs/jstree/themes/default/throbber.gif +0 -0
- data/public/themes/geo-bootstrap/README.md +25 -0
- data/public/themes/geo-bootstrap/img/flames.gif +0 -0
- data/public/themes/geo-bootstrap/img/glyphicons-halflings-white.png +0 -0
- data/public/themes/geo-bootstrap/img/glyphicons-halflings.png +0 -0
- data/public/themes/geo-bootstrap/img/microfab.gif +0 -0
- data/public/themes/geo-bootstrap/img/progress.gif +0 -0
- data/public/themes/geo-bootstrap/img/rainbow.gif +0 -0
- data/public/themes/geo-bootstrap/img/stars.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/7upspot.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/americanflag.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/community.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/computer-01.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/computer.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/construction.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/counter.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/counter2.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider1.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider2.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider3.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider4.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/drudgesiren.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/emailme.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/funky.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/geocities.jpg +0 -0
- data/public/themes/geo-bootstrap/img/test/hacker.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/heart.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/hot.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/ie_logo.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/mailkitten.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/mchammer.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/new.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/new2.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/noframes.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/notepad.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/ns_logo.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/sign-in.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/spinningearth.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/underconstruction.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/wabwalk.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/webtrips.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/yahooweek.gif +0 -0
- data/public/themes/geo-bootstrap/package.json +21 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.css +1109 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.min.css +9 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap.css +6462 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap.min.css +9 -0
- metadata +791 -0
@@ -0,0 +1,142 @@
|
|
1
|
+
smalltalk.addPackage('Kernel-Transcript', {});
|
2
|
+
smalltalk.addClass('ConsoleTranscript', smalltalk.Object, ['textarea'], 'Kernel-Transcript');
|
3
|
+
smalltalk.addMethod(
|
4
|
+
unescape('_clear'),
|
5
|
+
smalltalk.method({
|
6
|
+
selector: unescape('clear'),
|
7
|
+
fn: function (){
|
8
|
+
var self=this;
|
9
|
+
|
10
|
+
return self;}
|
11
|
+
}),
|
12
|
+
smalltalk.ConsoleTranscript);
|
13
|
+
|
14
|
+
smalltalk.addMethod(
|
15
|
+
unescape('_cr'),
|
16
|
+
smalltalk.method({
|
17
|
+
selector: unescape('cr'),
|
18
|
+
fn: function (){
|
19
|
+
var self=this;
|
20
|
+
|
21
|
+
return self;}
|
22
|
+
}),
|
23
|
+
smalltalk.ConsoleTranscript);
|
24
|
+
|
25
|
+
smalltalk.addMethod(
|
26
|
+
unescape('_open'),
|
27
|
+
smalltalk.method({
|
28
|
+
selector: unescape('open'),
|
29
|
+
fn: function (){
|
30
|
+
var self=this;
|
31
|
+
|
32
|
+
return self;}
|
33
|
+
}),
|
34
|
+
smalltalk.ConsoleTranscript);
|
35
|
+
|
36
|
+
smalltalk.addMethod(
|
37
|
+
unescape('_show_'),
|
38
|
+
smalltalk.method({
|
39
|
+
selector: unescape('show%3A'),
|
40
|
+
fn: function (anObject){
|
41
|
+
var self=this;
|
42
|
+
var string=nil;
|
43
|
+
(string=smalltalk.send(anObject, "_asString", []));
|
44
|
+
console.log(String(string));
|
45
|
+
return self;}
|
46
|
+
}),
|
47
|
+
smalltalk.ConsoleTranscript);
|
48
|
+
|
49
|
+
|
50
|
+
smalltalk.addMethod(
|
51
|
+
unescape('_initialize'),
|
52
|
+
smalltalk.method({
|
53
|
+
selector: unescape('initialize'),
|
54
|
+
fn: function (){
|
55
|
+
var self=this;
|
56
|
+
smalltalk.send((smalltalk.Transcript || Transcript), "_register_", [smalltalk.send(self, "_new", [])]);
|
57
|
+
return self;}
|
58
|
+
}),
|
59
|
+
smalltalk.ConsoleTranscript.klass);
|
60
|
+
|
61
|
+
|
62
|
+
smalltalk.addClass('Transcript', smalltalk.Object, ['textarea'], 'Kernel-Transcript');
|
63
|
+
|
64
|
+
smalltalk.Transcript.klass.iVarNames = ['current'];
|
65
|
+
smalltalk.addMethod(
|
66
|
+
unescape('_clear'),
|
67
|
+
smalltalk.method({
|
68
|
+
selector: unescape('clear'),
|
69
|
+
fn: function (){
|
70
|
+
var self=this;
|
71
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_clear", []);
|
72
|
+
return self;}
|
73
|
+
}),
|
74
|
+
smalltalk.Transcript.klass);
|
75
|
+
|
76
|
+
smalltalk.addMethod(
|
77
|
+
unescape('_cr'),
|
78
|
+
smalltalk.method({
|
79
|
+
selector: unescape('cr'),
|
80
|
+
fn: function (){
|
81
|
+
var self=this;
|
82
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_show_", [smalltalk.send((smalltalk.String || String), "_cr", [])]);
|
83
|
+
return self;}
|
84
|
+
}),
|
85
|
+
smalltalk.Transcript.klass);
|
86
|
+
|
87
|
+
smalltalk.addMethod(
|
88
|
+
unescape('_current'),
|
89
|
+
smalltalk.method({
|
90
|
+
selector: unescape('current'),
|
91
|
+
fn: function (){
|
92
|
+
var self=this;
|
93
|
+
return self['@current'];
|
94
|
+
return self;}
|
95
|
+
}),
|
96
|
+
smalltalk.Transcript.klass);
|
97
|
+
|
98
|
+
smalltalk.addMethod(
|
99
|
+
unescape('_new'),
|
100
|
+
smalltalk.method({
|
101
|
+
selector: unescape('new'),
|
102
|
+
fn: function (){
|
103
|
+
var self=this;
|
104
|
+
smalltalk.send(self, "_shouldNotImplement", []);
|
105
|
+
return self;}
|
106
|
+
}),
|
107
|
+
smalltalk.Transcript.klass);
|
108
|
+
|
109
|
+
smalltalk.addMethod(
|
110
|
+
unescape('_open'),
|
111
|
+
smalltalk.method({
|
112
|
+
selector: unescape('open'),
|
113
|
+
fn: function (){
|
114
|
+
var self=this;
|
115
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_open", []);
|
116
|
+
return self;}
|
117
|
+
}),
|
118
|
+
smalltalk.Transcript.klass);
|
119
|
+
|
120
|
+
smalltalk.addMethod(
|
121
|
+
unescape('_register_'),
|
122
|
+
smalltalk.method({
|
123
|
+
selector: unescape('register%3A'),
|
124
|
+
fn: function (aTranscript){
|
125
|
+
var self=this;
|
126
|
+
(self['@current']=aTranscript);
|
127
|
+
return self;}
|
128
|
+
}),
|
129
|
+
smalltalk.Transcript.klass);
|
130
|
+
|
131
|
+
smalltalk.addMethod(
|
132
|
+
unescape('_show_'),
|
133
|
+
smalltalk.method({
|
134
|
+
selector: unescape('show%3A'),
|
135
|
+
fn: function (anObject){
|
136
|
+
var self=this;
|
137
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_show_", [anObject]);
|
138
|
+
return self;}
|
139
|
+
}),
|
140
|
+
smalltalk.Transcript.klass);
|
141
|
+
|
142
|
+
|
@@ -0,0 +1,202 @@
|
|
1
|
+
smalltalk.addPackage('Kernel-Transcript', {});
|
2
|
+
smalltalk.addClass('ConsoleTranscript', smalltalk.Object, ['textarea'], 'Kernel-Transcript');
|
3
|
+
smalltalk.addMethod(
|
4
|
+
unescape('_clear'),
|
5
|
+
smalltalk.method({
|
6
|
+
selector: unescape('clear'),
|
7
|
+
category: 'printing',
|
8
|
+
fn: function (){
|
9
|
+
var self=this;
|
10
|
+
|
11
|
+
return self;},
|
12
|
+
args: [],
|
13
|
+
source: unescape('clear%0A%09%22no%20op%22'),
|
14
|
+
messageSends: [],
|
15
|
+
referencedClasses: []
|
16
|
+
}),
|
17
|
+
smalltalk.ConsoleTranscript);
|
18
|
+
|
19
|
+
smalltalk.addMethod(
|
20
|
+
unescape('_cr'),
|
21
|
+
smalltalk.method({
|
22
|
+
selector: unescape('cr'),
|
23
|
+
category: 'printing',
|
24
|
+
fn: function (){
|
25
|
+
var self=this;
|
26
|
+
|
27
|
+
return self;},
|
28
|
+
args: [],
|
29
|
+
source: unescape('cr%0A%09%22no%20op%22'),
|
30
|
+
messageSends: [],
|
31
|
+
referencedClasses: []
|
32
|
+
}),
|
33
|
+
smalltalk.ConsoleTranscript);
|
34
|
+
|
35
|
+
smalltalk.addMethod(
|
36
|
+
unescape('_open'),
|
37
|
+
smalltalk.method({
|
38
|
+
selector: unescape('open'),
|
39
|
+
category: 'actions',
|
40
|
+
fn: function (){
|
41
|
+
var self=this;
|
42
|
+
|
43
|
+
return self;},
|
44
|
+
args: [],
|
45
|
+
source: unescape('open'),
|
46
|
+
messageSends: [],
|
47
|
+
referencedClasses: []
|
48
|
+
}),
|
49
|
+
smalltalk.ConsoleTranscript);
|
50
|
+
|
51
|
+
smalltalk.addMethod(
|
52
|
+
unescape('_show_'),
|
53
|
+
smalltalk.method({
|
54
|
+
selector: unescape('show%3A'),
|
55
|
+
category: 'printing',
|
56
|
+
fn: function (anObject){
|
57
|
+
var self=this;
|
58
|
+
var string=nil;
|
59
|
+
(string=smalltalk.send(anObject, "_asString", []));
|
60
|
+
console.log(String(string));
|
61
|
+
return self;},
|
62
|
+
args: ["anObject"],
|
63
|
+
source: unescape('show%3A%20anObject%0A%09%7C%20string%20%7C%0A%09string%20%3A%3D%20anObject%20asString.%0A%09%3Cconsole.log%28String%28string%29%29%3E'),
|
64
|
+
messageSends: ["asString"],
|
65
|
+
referencedClasses: []
|
66
|
+
}),
|
67
|
+
smalltalk.ConsoleTranscript);
|
68
|
+
|
69
|
+
|
70
|
+
smalltalk.addMethod(
|
71
|
+
unescape('_initialize'),
|
72
|
+
smalltalk.method({
|
73
|
+
selector: unescape('initialize'),
|
74
|
+
category: 'initialization',
|
75
|
+
fn: function (){
|
76
|
+
var self=this;
|
77
|
+
smalltalk.send((smalltalk.Transcript || Transcript), "_register_", [smalltalk.send(self, "_new", [])]);
|
78
|
+
return self;},
|
79
|
+
args: [],
|
80
|
+
source: unescape('initialize%0A%09Transcript%20register%3A%20self%20new'),
|
81
|
+
messageSends: ["register:", "new"],
|
82
|
+
referencedClasses: ["Transcript"]
|
83
|
+
}),
|
84
|
+
smalltalk.ConsoleTranscript.klass);
|
85
|
+
|
86
|
+
|
87
|
+
smalltalk.addClass('Transcript', smalltalk.Object, ['textarea'], 'Kernel-Transcript');
|
88
|
+
|
89
|
+
smalltalk.Transcript.klass.iVarNames = ['current'];
|
90
|
+
smalltalk.addMethod(
|
91
|
+
unescape('_clear'),
|
92
|
+
smalltalk.method({
|
93
|
+
selector: unescape('clear'),
|
94
|
+
category: 'printing',
|
95
|
+
fn: function (){
|
96
|
+
var self=this;
|
97
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_clear", []);
|
98
|
+
return self;},
|
99
|
+
args: [],
|
100
|
+
source: unescape('clear%0A%20%20%20%20self%20current%20clear'),
|
101
|
+
messageSends: ["clear", "current"],
|
102
|
+
referencedClasses: []
|
103
|
+
}),
|
104
|
+
smalltalk.Transcript.klass);
|
105
|
+
|
106
|
+
smalltalk.addMethod(
|
107
|
+
unescape('_cr'),
|
108
|
+
smalltalk.method({
|
109
|
+
selector: unescape('cr'),
|
110
|
+
category: 'printing',
|
111
|
+
fn: function (){
|
112
|
+
var self=this;
|
113
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_show_", [smalltalk.send((smalltalk.String || String), "_cr", [])]);
|
114
|
+
return self;},
|
115
|
+
args: [],
|
116
|
+
source: unescape('cr%0A%20%20%20%20self%20current%20show%3A%20String%20cr'),
|
117
|
+
messageSends: ["show:", "current", "cr"],
|
118
|
+
referencedClasses: ["String"]
|
119
|
+
}),
|
120
|
+
smalltalk.Transcript.klass);
|
121
|
+
|
122
|
+
smalltalk.addMethod(
|
123
|
+
unescape('_current'),
|
124
|
+
smalltalk.method({
|
125
|
+
selector: unescape('current'),
|
126
|
+
category: 'instance creation',
|
127
|
+
fn: function (){
|
128
|
+
var self=this;
|
129
|
+
return self['@current'];
|
130
|
+
return self;},
|
131
|
+
args: [],
|
132
|
+
source: unescape('current%0A%20%20%20%20%5Ecurrent'),
|
133
|
+
messageSends: [],
|
134
|
+
referencedClasses: []
|
135
|
+
}),
|
136
|
+
smalltalk.Transcript.klass);
|
137
|
+
|
138
|
+
smalltalk.addMethod(
|
139
|
+
unescape('_new'),
|
140
|
+
smalltalk.method({
|
141
|
+
selector: unescape('new'),
|
142
|
+
category: 'instance creation',
|
143
|
+
fn: function (){
|
144
|
+
var self=this;
|
145
|
+
smalltalk.send(self, "_shouldNotImplement", []);
|
146
|
+
return self;},
|
147
|
+
args: [],
|
148
|
+
source: unescape('new%0A%20%20%20%20self%20shouldNotImplement'),
|
149
|
+
messageSends: ["shouldNotImplement"],
|
150
|
+
referencedClasses: []
|
151
|
+
}),
|
152
|
+
smalltalk.Transcript.klass);
|
153
|
+
|
154
|
+
smalltalk.addMethod(
|
155
|
+
unescape('_open'),
|
156
|
+
smalltalk.method({
|
157
|
+
selector: unescape('open'),
|
158
|
+
category: 'instance creation',
|
159
|
+
fn: function (){
|
160
|
+
var self=this;
|
161
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_open", []);
|
162
|
+
return self;},
|
163
|
+
args: [],
|
164
|
+
source: unescape('open%0A%20%20%20%20self%20current%20open'),
|
165
|
+
messageSends: ["open", "current"],
|
166
|
+
referencedClasses: []
|
167
|
+
}),
|
168
|
+
smalltalk.Transcript.klass);
|
169
|
+
|
170
|
+
smalltalk.addMethod(
|
171
|
+
unescape('_register_'),
|
172
|
+
smalltalk.method({
|
173
|
+
selector: unescape('register%3A'),
|
174
|
+
category: 'instance creation',
|
175
|
+
fn: function (aTranscript){
|
176
|
+
var self=this;
|
177
|
+
(self['@current']=aTranscript);
|
178
|
+
return self;},
|
179
|
+
args: ["aTranscript"],
|
180
|
+
source: unescape('register%3A%20aTranscript%0A%09current%20%3A%3D%20aTranscript'),
|
181
|
+
messageSends: [],
|
182
|
+
referencedClasses: []
|
183
|
+
}),
|
184
|
+
smalltalk.Transcript.klass);
|
185
|
+
|
186
|
+
smalltalk.addMethod(
|
187
|
+
unescape('_show_'),
|
188
|
+
smalltalk.method({
|
189
|
+
selector: unescape('show%3A'),
|
190
|
+
category: 'printing',
|
191
|
+
fn: function (anObject){
|
192
|
+
var self=this;
|
193
|
+
smalltalk.send(smalltalk.send(self, "_current", []), "_show_", [anObject]);
|
194
|
+
return self;},
|
195
|
+
args: ["anObject"],
|
196
|
+
source: unescape('show%3A%20anObject%0A%20%20%20%20self%20current%20show%3A%20anObject'),
|
197
|
+
messageSends: ["show:", "current"],
|
198
|
+
referencedClasses: []
|
199
|
+
}),
|
200
|
+
smalltalk.Transcript.klass);
|
201
|
+
|
202
|
+
|
@@ -0,0 +1,2996 @@
|
|
1
|
+
smalltalk.addPackage('Maglev-Core', {});
|
2
|
+
smalltalk.addClass('Maglev', smalltalk.Object, ['objectSpace', 'windows', 'bottomNavHtml'], 'Maglev-Core');
|
3
|
+
smalltalk.addMethod(
|
4
|
+
unescape('_addWindow_'),
|
5
|
+
smalltalk.method({
|
6
|
+
selector: unescape('addWindow%3A'),
|
7
|
+
fn: function (aWindow){
|
8
|
+
var self=this;
|
9
|
+
smalltalk.send(self, "_renderNavigationItemFor_", [aWindow]);
|
10
|
+
smalltalk.send(self['@windows'], "_add_", [aWindow]);
|
11
|
+
smalltalk.send(self, "_showConnectionsFor_", [aWindow]);
|
12
|
+
return self;}
|
13
|
+
}),
|
14
|
+
smalltalk.Maglev);
|
15
|
+
|
16
|
+
smalltalk.addMethod(
|
17
|
+
unescape('_evaluateWithoutUpdate_language_with_withCallback_'),
|
18
|
+
smalltalk.method({
|
19
|
+
selector: unescape('evaluateWithoutUpdate%3Alanguage%3Awith%3AwithCallback%3A'),
|
20
|
+
fn: function (code, aString, additionalParams, aBlock){
|
21
|
+
var self=this;
|
22
|
+
var params=nil;
|
23
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["language", aString]);smalltalk.send($rec, "_at_put_", ["code", code]);smalltalk.send($rec, "_addAll_", [additionalParams]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
24
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [unescape("object/evaluate/20"), params, (function(obj){var parsedObj=nil;
|
25
|
+
(parsedObj=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObjectWithoutUpdate_", [obj]));return smalltalk.send(aBlock, "_value_value_", [smalltalk.send(smalltalk.send(parsedObj, "_isException", []), "_not", []), parsedObj]);})]);
|
26
|
+
return self;}
|
27
|
+
}),
|
28
|
+
smalltalk.Maglev);
|
29
|
+
|
30
|
+
smalltalk.addMethod(
|
31
|
+
unescape('_findClassNamesMatching_with_'),
|
32
|
+
smalltalk.method({
|
33
|
+
selector: unescape('findClassNamesMatching%3Awith%3A'),
|
34
|
+
fn: function (aSelector, aBlock){
|
35
|
+
var self=this;
|
36
|
+
((($receiver = smalltalk.send(aSelector, "_isString", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_error_", ["The selector should be a string"]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_error_", ["The selector should be a string"]);})]));
|
37
|
+
smalltalk.send(smalltalk.send((smalltalk.MaglevNilClass || MaglevNilClass), "_instance", []), "_evaluateWithoutUpdate_language_withCallback_", [smalltalk.send(smalltalk.send(unescape("%7Corganizer%7C%20organizer%20%3A%3D%20ClassOrganizer%20new.%20organizer%20findClassNamesMatching%3A%27"), "__comma", [aSelector]), "__comma", [unescape("%27.")]), "smalltalk", aBlock]);
|
38
|
+
return self;}
|
39
|
+
}),
|
40
|
+
smalltalk.Maglev);
|
41
|
+
|
42
|
+
smalltalk.addMethod(
|
43
|
+
unescape('_findMethodNamesMatching_with_'),
|
44
|
+
smalltalk.method({
|
45
|
+
selector: unescape('findMethodNamesMatching%3Awith%3A'),
|
46
|
+
fn: function (aSelector, aBlock){
|
47
|
+
var self=this;
|
48
|
+
((($receiver = smalltalk.send(aSelector, "_isString", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_error_", ["The selector should be a string"]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_error_", ["The selector should be a string"]);})]));
|
49
|
+
smalltalk.send(smalltalk.send((smalltalk.MaglevNilClass || MaglevNilClass), "_instance", []), "_evaluateWithoutUpdate_language_withCallback_", [smalltalk.send(smalltalk.send(unescape("%7Corganizer%7C%20organizer%20%3A%3D%20ClassOrganizer%20new.%20organizer%20findMethodNamesMatching%3A%27"), "__comma", [aSelector]), "__comma", [unescape("%27.")]), "smalltalk", aBlock]);
|
50
|
+
return self;}
|
51
|
+
}),
|
52
|
+
smalltalk.Maglev);
|
53
|
+
|
54
|
+
smalltalk.addMethod(
|
55
|
+
unescape('_implementersOf_withCallback_'),
|
56
|
+
smalltalk.method({
|
57
|
+
selector: unescape('implementersOf%3AwithCallback%3A'),
|
58
|
+
fn: function (aSelector, aBlock){
|
59
|
+
var self=this;
|
60
|
+
((($receiver = smalltalk.send(aSelector, "_isString", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_error_", ["The selector should be a string"]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_error_", ["The selector should be a string"]);})]));
|
61
|
+
smalltalk.send(smalltalk.send((smalltalk.MaglevNilClass || MaglevNilClass), "_instance", []), "_evaluateWithoutUpdate_language_withCallback_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(unescape("%7Corganizer%20dict%20ruby%20smalltalk%7C%20organizer%20%3A%3D%20ClassOrganizer%20new.%20dict%20%3A%3D%20Array%20new.%20smalltalk%20%3A%3D%20organizer%20implementorsOf%3A%27"), "__comma", [aSelector]), "__comma", [unescape("%27%20asSymbol.%20smalltalk%20do%3A%5B%3Acls%7C%20dict%20addLast%3A%7Bcls.%200.%7D%5D.%20ruby%20%3A%3D%20organizer%20rubyImplementorsOf%3A%27")]), "__comma", [aSelector]), "__comma", [unescape("%27%20asSymbol.%20ruby%20do%3A%5B%3Acls%7C%20dict%20addLast%3A%7Bcls.%201.%7D%5D.%201%20to%3A%20dict%20size%20do%3A%5B%3Ai%7C%7Ccls%7C%20cls%3A%3D%20%28dict%20at%3A%20i%29%20at%3A1.%20%28cls%20class%20%3D%3D%20GsNMethod%29%20ifTrue%3A%5B%28dict%20at%3Ai%29%20at%3A1%20put%3A%20cls%20inClass%5D%5D.%20dict")]), "smalltalk", aBlock]);
|
62
|
+
return self;}
|
63
|
+
}),
|
64
|
+
smalltalk.Maglev);
|
65
|
+
|
66
|
+
smalltalk.addMethod(
|
67
|
+
unescape('_initialize'),
|
68
|
+
smalltalk.method({
|
69
|
+
selector: unescape('initialize'),
|
70
|
+
fn: function (){
|
71
|
+
var self=this;
|
72
|
+
(self['@windows']=smalltalk.send((smalltalk.OrderedCollection || OrderedCollection), "_new", []));
|
73
|
+
(self['@bottomNavHtml']=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(unescape("%23windows-navigation"), "_asJQuery", [])]));
|
74
|
+
return self;}
|
75
|
+
}),
|
76
|
+
smalltalk.Maglev);
|
77
|
+
|
78
|
+
smalltalk.addMethod(
|
79
|
+
unescape('_objectSpace'),
|
80
|
+
smalltalk.method({
|
81
|
+
selector: unescape('objectSpace'),
|
82
|
+
fn: function (){
|
83
|
+
var self=this;
|
84
|
+
(($receiver = self['@objectSpace']) == nil || $receiver == undefined) ? (function(){return (self['@objectSpace']=smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []));})() : $receiver;
|
85
|
+
return self['@objectSpace'];
|
86
|
+
return self;}
|
87
|
+
}),
|
88
|
+
smalltalk.Maglev);
|
89
|
+
|
90
|
+
smalltalk.addMethod(
|
91
|
+
unescape('_removeWindow_'),
|
92
|
+
smalltalk.method({
|
93
|
+
selector: unescape('removeWindow%3A'),
|
94
|
+
fn: function (aWindow){
|
95
|
+
var self=this;
|
96
|
+
smalltalk.send(smalltalk.send(smalltalk.send(aWindow, "_navigationItem", []), "_asJQuery", []), "_remove", []);
|
97
|
+
smalltalk.send(self['@windows'], "_remove_", [aWindow]);
|
98
|
+
return self;}
|
99
|
+
}),
|
100
|
+
smalltalk.Maglev);
|
101
|
+
|
102
|
+
smalltalk.addMethod(
|
103
|
+
unescape('_renderNavigationItemFor_'),
|
104
|
+
smalltalk.method({
|
105
|
+
selector: unescape('renderNavigationItemFor%3A'),
|
106
|
+
fn: function (aWindow){
|
107
|
+
var self=this;
|
108
|
+
var navItem=nil;
|
109
|
+
(navItem=smalltalk.send(smalltalk.send(self['@bottomNavHtml'], "_li", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("btn%20btn-info%20window-navigation-item")]);smalltalk.send($rec, "_style_", [unescape("padding%3A%204px%202px%202px%204px%3B%20margin-top%3A%205px%3B")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(aWindow, "_moveToFront", []);})]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(aWindow, "_renderNavigationOn_", [self['@bottomNavHtml']]);})]);})(smalltalk.send(self['@bottomNavHtml'], "_a", []));})]));
|
110
|
+
smalltalk.send(aWindow, "_navigationItem_", [navItem]);
|
111
|
+
return self;}
|
112
|
+
}),
|
113
|
+
smalltalk.Maglev);
|
114
|
+
|
115
|
+
smalltalk.addMethod(
|
116
|
+
unescape('_showConnectionsFor_'),
|
117
|
+
smalltalk.method({
|
118
|
+
selector: unescape('showConnectionsFor%3A'),
|
119
|
+
fn: function (aWindow){
|
120
|
+
var self=this;
|
121
|
+
smalltalk.send(self['@windows'], "_do_", [(function(window){smalltalk.send(window, "_checkAddConnectionTo_", [aWindow]);return smalltalk.send(aWindow, "_checkAddConnectionTo_", [window]);})]);
|
122
|
+
return self;}
|
123
|
+
}),
|
124
|
+
smalltalk.Maglev);
|
125
|
+
|
126
|
+
smalltalk.addMethod(
|
127
|
+
unescape('_showObjectWindow_'),
|
128
|
+
smalltalk.method({
|
129
|
+
selector: unescape('showObjectWindow%3A'),
|
130
|
+
fn: function (oop){
|
131
|
+
var self=this;
|
132
|
+
try{var window=nil;
|
133
|
+
((($receiver = smalltalk.send(smalltalk.send(self, "_objectSpace", []), "_hasLoadedOop_", [oop])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_showObjectWindow_', fn: function(){return smalltalk.send(self, "_showReloadObjectWindow_", [oop])}})})();})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_showObjectWindow_', fn: function(){return smalltalk.send(self, "_showReloadObjectWindow_", [oop])}})})();})]));
|
134
|
+
(window=smalltalk.send(smalltalk.send(smalltalk.send(self, "_objectSpace", []), "_at_", [oop]), "_windowViewComponent", []));
|
135
|
+
smalltalk.send(window, "_appendToWorkspace", []);
|
136
|
+
(function(){throw({name: 'stReturn', selector: '_showObjectWindow_', fn: function(){return window}})})();
|
137
|
+
return self;
|
138
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_showObjectWindow_'){return e.fn()} throw(e)}}
|
139
|
+
}),
|
140
|
+
smalltalk.Maglev);
|
141
|
+
|
142
|
+
smalltalk.addMethod(
|
143
|
+
unescape('_showReloadObjectWindow_'),
|
144
|
+
smalltalk.method({
|
145
|
+
selector: unescape('showReloadObjectWindow%3A'),
|
146
|
+
fn: function (oop){
|
147
|
+
var self=this;
|
148
|
+
var window=nil;
|
149
|
+
(window=smalltalk.send((smalltalk.MaglevWaitingWindow || MaglevWaitingWindow), "_new", []));
|
150
|
+
smalltalk.send(window, "_appendToWorkspace", []);
|
151
|
+
smalltalk.send(smalltalk.send(self, "_objectSpace", []), "_reloadObject_withCallback_", [oop, (function(object){var objWindow=nil;
|
152
|
+
(objWindow=smalltalk.send(object, "_windowViewComponentReplace_", [window]));return smalltalk.send(objWindow, "_renderReplace", []);})]);
|
153
|
+
return window;
|
154
|
+
return self;}
|
155
|
+
}),
|
156
|
+
smalltalk.Maglev);
|
157
|
+
|
158
|
+
|
159
|
+
smalltalk.Maglev.klass.iVarNames = ['instance','defaultWorkspaceId','persistentRootId','maglevSystemId','evalObjectId','swatchDesign'];
|
160
|
+
smalltalk.addMethod(
|
161
|
+
unescape('_defaultWorkspaceId'),
|
162
|
+
smalltalk.method({
|
163
|
+
selector: unescape('defaultWorkspaceId'),
|
164
|
+
fn: function (){
|
165
|
+
var self=this;
|
166
|
+
return self['@defaultWorkspaceId'];
|
167
|
+
return self;}
|
168
|
+
}),
|
169
|
+
smalltalk.Maglev.klass);
|
170
|
+
|
171
|
+
smalltalk.addMethod(
|
172
|
+
unescape('_defaultWorkspaceId_'),
|
173
|
+
smalltalk.method({
|
174
|
+
selector: unescape('defaultWorkspaceId%3A'),
|
175
|
+
fn: function (anInteger){
|
176
|
+
var self=this;
|
177
|
+
(self['@defaultWorkspaceId']=anInteger);
|
178
|
+
return self;}
|
179
|
+
}),
|
180
|
+
smalltalk.Maglev.klass);
|
181
|
+
|
182
|
+
smalltalk.addMethod(
|
183
|
+
unescape('_evalObjectId'),
|
184
|
+
smalltalk.method({
|
185
|
+
selector: unescape('evalObjectId'),
|
186
|
+
fn: function (){
|
187
|
+
var self=this;
|
188
|
+
return self['@evalObjectId'];
|
189
|
+
return self;}
|
190
|
+
}),
|
191
|
+
smalltalk.Maglev.klass);
|
192
|
+
|
193
|
+
smalltalk.addMethod(
|
194
|
+
unescape('_evalObjectId_'),
|
195
|
+
smalltalk.method({
|
196
|
+
selector: unescape('evalObjectId%3A'),
|
197
|
+
fn: function (anInteger){
|
198
|
+
var self=this;
|
199
|
+
(self['@evalObjectId']=anInteger);
|
200
|
+
return self;}
|
201
|
+
}),
|
202
|
+
smalltalk.Maglev.klass);
|
203
|
+
|
204
|
+
smalltalk.addMethod(
|
205
|
+
unescape('_instance'),
|
206
|
+
smalltalk.method({
|
207
|
+
selector: unescape('instance'),
|
208
|
+
fn: function (){
|
209
|
+
var self=this;
|
210
|
+
(($receiver = self['@instance']) == nil || $receiver == undefined) ? (function(){return (self['@instance']=smalltalk.send((smalltalk.Maglev || Maglev), "_new", []));})() : $receiver;
|
211
|
+
return self['@instance'];
|
212
|
+
return self;}
|
213
|
+
}),
|
214
|
+
smalltalk.Maglev.klass);
|
215
|
+
|
216
|
+
smalltalk.addMethod(
|
217
|
+
unescape('_maglevSystemId'),
|
218
|
+
smalltalk.method({
|
219
|
+
selector: unescape('maglevSystemId'),
|
220
|
+
fn: function (){
|
221
|
+
var self=this;
|
222
|
+
return self['@maglevSystemId'];
|
223
|
+
return self;}
|
224
|
+
}),
|
225
|
+
smalltalk.Maglev.klass);
|
226
|
+
|
227
|
+
smalltalk.addMethod(
|
228
|
+
unescape('_maglevSystemId_'),
|
229
|
+
smalltalk.method({
|
230
|
+
selector: unescape('maglevSystemId%3A'),
|
231
|
+
fn: function (anInteger){
|
232
|
+
var self=this;
|
233
|
+
(self['@maglevSystemId']=anInteger);
|
234
|
+
return self;}
|
235
|
+
}),
|
236
|
+
smalltalk.Maglev.klass);
|
237
|
+
|
238
|
+
smalltalk.addMethod(
|
239
|
+
unescape('_openWindow_'),
|
240
|
+
smalltalk.method({
|
241
|
+
selector: unescape('openWindow%3A'),
|
242
|
+
fn: function (anInteger){
|
243
|
+
var self=this;
|
244
|
+
smalltalk.send(smalltalk.send((smalltalk.Maglev || Maglev), "_instance", []), "_showObjectWindow_", [anInteger]);
|
245
|
+
return self;}
|
246
|
+
}),
|
247
|
+
smalltalk.Maglev.klass);
|
248
|
+
|
249
|
+
smalltalk.addMethod(
|
250
|
+
unescape('_persistentRootId'),
|
251
|
+
smalltalk.method({
|
252
|
+
selector: unescape('persistentRootId'),
|
253
|
+
fn: function (){
|
254
|
+
var self=this;
|
255
|
+
return self['@persistentRootId'];
|
256
|
+
return self;}
|
257
|
+
}),
|
258
|
+
smalltalk.Maglev.klass);
|
259
|
+
|
260
|
+
smalltalk.addMethod(
|
261
|
+
unescape('_persistentRootId_'),
|
262
|
+
smalltalk.method({
|
263
|
+
selector: unescape('persistentRootId%3A'),
|
264
|
+
fn: function (anInteger){
|
265
|
+
var self=this;
|
266
|
+
(self['@persistentRootId']=anInteger);
|
267
|
+
return self;}
|
268
|
+
}),
|
269
|
+
smalltalk.Maglev.klass);
|
270
|
+
|
271
|
+
smalltalk.addMethod(
|
272
|
+
unescape('_ready'),
|
273
|
+
smalltalk.method({
|
274
|
+
selector: unescape('ready'),
|
275
|
+
fn: function (){
|
276
|
+
var self=this;
|
277
|
+
smalltalk.send((typeof jQuery == 'undefined' ? nil : jQuery), "_getJSON_do_", [unescape("/ids"), (function(data){(function($rec){smalltalk.send($rec, "_persistentRootId_", [smalltalk.send(data, "_persistentRootId", [])]);smalltalk.send($rec, "_maglevSystemId_", [smalltalk.send(data, "_maglevSystemId", [])]);smalltalk.send($rec, "_defaultWorkspaceId_", [smalltalk.send(data, "_defaultWorkspaceId", [])]);return smalltalk.send($rec, "_evalObjectId_", [smalltalk.send(data, "_evalObjectId", [])]);})(self);smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_evalObject_", [smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_reloadObject_", [smalltalk.send(self, "_evalObjectId", [])])]);return smalltalk.send(self, "_openWindow_", [smalltalk.send(self, "_defaultWorkspaceId", [])]);})]);
|
278
|
+
return self;}
|
279
|
+
}),
|
280
|
+
smalltalk.Maglev.klass);
|
281
|
+
|
282
|
+
smalltalk.addMethod(
|
283
|
+
unescape('_swatchDesign'),
|
284
|
+
smalltalk.method({
|
285
|
+
selector: unescape('swatchDesign'),
|
286
|
+
fn: function (){
|
287
|
+
var self=this;
|
288
|
+
(($receiver = self['@swatchDesign']) == nil || $receiver == undefined) ? (function(){var html=nil;
|
289
|
+
(html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send("head", "_asJQuery", [])]));return (self['@swatchDesign']=(function($rec){smalltalk.send($rec, "_href_", [unescape("themes/geo-bootstrap/swatch/bootstrap.css")]);return smalltalk.send($rec, "_rel_", ["stylesheet"]);})(smalltalk.send(html, "_link", [])));})() : (function(){smalltalk.send(smalltalk.send(self['@swatchDesign'], "_asJQuery", []), "_remove", []);return (self['@swatchDesign']=nil);})();
|
290
|
+
return self;}
|
291
|
+
}),
|
292
|
+
smalltalk.Maglev.klass);
|
293
|
+
|
294
|
+
|
295
|
+
smalltalk.addClass('MaglevObject', smalltalk.Object, ['oop', 'instVars', 'instVarsSize', 'virtualClassObject', 'classObject', 'inspection', 'isLoaded', 'isException', 'windows', 'customTabs'], 'Maglev-Core');
|
296
|
+
smalltalk.addMethod(
|
297
|
+
unescape('__eq'),
|
298
|
+
smalltalk.method({
|
299
|
+
selector: unescape('%3D'),
|
300
|
+
fn: function (anObject){
|
301
|
+
var self=this;
|
302
|
+
return smalltalk.send(smalltalk.send(self, "_oop", []), "__eq", [smalltalk.send(anObject, "_oop", [])]);
|
303
|
+
return self;}
|
304
|
+
}),
|
305
|
+
smalltalk.MaglevObject);
|
306
|
+
|
307
|
+
smalltalk.addMethod(
|
308
|
+
unescape('__eq_eq'),
|
309
|
+
smalltalk.method({
|
310
|
+
selector: unescape('%3D%3D'),
|
311
|
+
fn: function (anObject){
|
312
|
+
var self=this;
|
313
|
+
return smalltalk.send(smalltalk.send(self, "_oop", []), "__eq_eq", [smalltalk.send(anObject, "_oop", [])]);
|
314
|
+
return self;}
|
315
|
+
}),
|
316
|
+
smalltalk.MaglevObject);
|
317
|
+
|
318
|
+
smalltalk.addMethod(
|
319
|
+
unescape('_addWindow_'),
|
320
|
+
smalltalk.method({
|
321
|
+
selector: unescape('addWindow%3A'),
|
322
|
+
fn: function (aWindow){
|
323
|
+
var self=this;
|
324
|
+
smalltalk.send(smalltalk.send(self, "_windows", []), "_add_", [aWindow]);
|
325
|
+
smalltalk.send(smalltalk.send((smalltalk.Maglev || Maglev), "_instance", []), "_addWindow_", [aWindow]);
|
326
|
+
return aWindow;
|
327
|
+
return self;}
|
328
|
+
}),
|
329
|
+
smalltalk.MaglevObject);
|
330
|
+
|
331
|
+
smalltalk.addMethod(
|
332
|
+
unescape('_classObject'),
|
333
|
+
smalltalk.method({
|
334
|
+
selector: unescape('classObject'),
|
335
|
+
fn: function (){
|
336
|
+
var self=this;
|
337
|
+
return self['@classObject'];
|
338
|
+
return self;}
|
339
|
+
}),
|
340
|
+
smalltalk.MaglevObject);
|
341
|
+
|
342
|
+
smalltalk.addMethod(
|
343
|
+
unescape('_customTabs'),
|
344
|
+
smalltalk.method({
|
345
|
+
selector: unescape('customTabs'),
|
346
|
+
fn: function (){
|
347
|
+
var self=this;
|
348
|
+
return self['@customTabs'];
|
349
|
+
return self;}
|
350
|
+
}),
|
351
|
+
smalltalk.MaglevObject);
|
352
|
+
|
353
|
+
smalltalk.addMethod(
|
354
|
+
unescape('_ensureIsLoaded_from_to_'),
|
355
|
+
smalltalk.method({
|
356
|
+
selector: unescape('ensureIsLoaded%3Afrom%3Ato%3A'),
|
357
|
+
fn: function (collectionName, from, to){
|
358
|
+
var self=this;
|
359
|
+
try{var obj=nil;
|
360
|
+
var params=nil;
|
361
|
+
((($receiver = smalltalk.send(self, "_isLoaded_from_to_", [collectionName, from, to])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_ensureIsLoaded_from_to_', fn: function(){return self}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_ensureIsLoaded_from_to_', fn: function(){return self}})})();})]));
|
362
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", [smalltalk.send(smalltalk.send("range_", "__comma", [smalltalk.send(collectionName, "_asString", [])]), "__comma", ["_from"]), from]);smalltalk.send($rec, "_at_put_", [smalltalk.send(smalltalk.send("range_", "__comma", [smalltalk.send(collectionName, "_asString", [])]), "__comma", ["_to"]), to]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
363
|
+
(obj=smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(self, "_oop", [])]), params]));
|
364
|
+
smalltalk.send(self, "_parseJSON_", [obj]);
|
365
|
+
return self;
|
366
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_ensureIsLoaded_from_to_'){return e.fn()} throw(e)}}
|
367
|
+
}),
|
368
|
+
smalltalk.MaglevObject);
|
369
|
+
|
370
|
+
smalltalk.addMethod(
|
371
|
+
unescape('_ensureIsLoaded_from_to_withCallback_'),
|
372
|
+
smalltalk.method({
|
373
|
+
selector: unescape('ensureIsLoaded%3Afrom%3Ato%3AwithCallback%3A'),
|
374
|
+
fn: function (collectionName, from, to, aBlock){
|
375
|
+
var self=this;
|
376
|
+
try{var params=nil;
|
377
|
+
((($receiver = smalltalk.send(self, "_isLoaded_from_to_", [collectionName, from, to])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(aBlock, "_value", []);return (function(){throw({name: 'stReturn', selector: '_ensureIsLoaded_from_to_withCallback_', fn: function(){return self}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(aBlock, "_value", []);return (function(){throw({name: 'stReturn', selector: '_ensureIsLoaded_from_to_withCallback_', fn: function(){return self}})})();})]));
|
378
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", [smalltalk.send(smalltalk.send("range_", "__comma", [smalltalk.send(collectionName, "_asString", [])]), "__comma", ["_from"]), from]);smalltalk.send($rec, "_at_put_", [smalltalk.send(smalltalk.send("range_", "__comma", [smalltalk.send(collectionName, "_asString", [])]), "__comma", ["_to"]), to]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
379
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(self, "_oop", [])]), params, (function(obj){smalltalk.send(self, "_parseJSON_", [obj]);return smalltalk.send(aBlock, "_value", []);})]);
|
380
|
+
return self;
|
381
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_ensureIsLoaded_from_to_withCallback_'){return e.fn()} throw(e)}}
|
382
|
+
}),
|
383
|
+
smalltalk.MaglevObject);
|
384
|
+
|
385
|
+
smalltalk.addMethod(
|
386
|
+
unescape('_evaluate_language_withCallback_'),
|
387
|
+
smalltalk.method({
|
388
|
+
selector: unescape('evaluate%3Alanguage%3AwithCallback%3A'),
|
389
|
+
fn: function (code, aString, aBlock){
|
390
|
+
var self=this;
|
391
|
+
var params=nil;
|
392
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["language", aString]);smalltalk.send($rec, "_at_put_", ["code", code]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
393
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/evaluate/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, (function(obj){var isException=nil;
|
394
|
+
var parsedObj=nil;
|
395
|
+
(self['@isException']=smalltalk.send(obj, "_at_", [(1)]));(parsedObj=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_at_", [(2)])]));return smalltalk.send(aBlock, "_value_value_", [smalltalk.send(self['@isException'], "_not", []), parsedObj]);})]);
|
396
|
+
return self;}
|
397
|
+
}),
|
398
|
+
smalltalk.MaglevObject);
|
399
|
+
|
400
|
+
smalltalk.addMethod(
|
401
|
+
unescape('_evaluateWithoutUpdate_language_with_withCallback_'),
|
402
|
+
smalltalk.method({
|
403
|
+
selector: unescape('evaluateWithoutUpdate%3Alanguage%3Awith%3AwithCallback%3A'),
|
404
|
+
fn: function (code, aString, additionalParams, aBlock){
|
405
|
+
var self=this;
|
406
|
+
var params=nil;
|
407
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["language", aString]);smalltalk.send($rec, "_at_put_", ["code", code]);smalltalk.send($rec, "_addAll_", [additionalParams]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
408
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/evaluate/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, (function(obj){var isException=nil;
|
409
|
+
var parsedObj=nil;
|
410
|
+
(self['@isException']=smalltalk.send(obj, "_at_", [(1)]));(parsedObj=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObjectWithoutUpdate_", [smalltalk.send(obj, "_at_", [(2)])]));return smalltalk.send(aBlock, "_value_value_", [smalltalk.send(self['@isException'], "_not", []), parsedObj]);})]);
|
411
|
+
return self;}
|
412
|
+
}),
|
413
|
+
smalltalk.MaglevObject);
|
414
|
+
|
415
|
+
smalltalk.addMethod(
|
416
|
+
unescape('_evaluateWithoutUpdate_language_withCallback_'),
|
417
|
+
smalltalk.method({
|
418
|
+
selector: unescape('evaluateWithoutUpdate%3Alanguage%3AwithCallback%3A'),
|
419
|
+
fn: function (code, aString, aBlock){
|
420
|
+
var self=this;
|
421
|
+
var params=nil;
|
422
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["language", aString]);smalltalk.send($rec, "_at_put_", ["code", code]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
423
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/evaluate/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, (function(obj){var isException=nil;
|
424
|
+
var parsedObj=nil;
|
425
|
+
(self['@isException']=smalltalk.send(obj, "_at_", [(1)]));(parsedObj=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_at_", [(2)])]));return smalltalk.send(aBlock, "_value_value_", [smalltalk.send(self['@isException'], "_not", []), parsedObj]);})]);
|
426
|
+
return self;}
|
427
|
+
}),
|
428
|
+
smalltalk.MaglevObject);
|
429
|
+
|
430
|
+
smalltalk.addMethod(
|
431
|
+
unescape('_fullReloadWithCallback_'),
|
432
|
+
smalltalk.method({
|
433
|
+
selector: unescape('fullReloadWithCallback%3A'),
|
434
|
+
fn: function (aBlock){
|
435
|
+
var self=this;
|
436
|
+
smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_reloadObject_withCallback_", [self['@oop'], aBlock]);
|
437
|
+
return self;}
|
438
|
+
}),
|
439
|
+
smalltalk.MaglevObject);
|
440
|
+
|
441
|
+
smalltalk.addMethod(
|
442
|
+
unescape('_hasInstVar_'),
|
443
|
+
smalltalk.method({
|
444
|
+
selector: unescape('hasInstVar%3A'),
|
445
|
+
fn: function (instVarName){
|
446
|
+
var self=this;
|
447
|
+
try{smalltalk.send(self, "_instVarsDo_", [(function(ivName, ivValue){return ((($receiver = smalltalk.send(ivName, "__eq", [instVarName])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_hasInstVar_', fn: function(){return true}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_hasInstVar_', fn: function(){return true}})})();})]));})]);
|
448
|
+
(function(){throw({name: 'stReturn', selector: '_hasInstVar_', fn: function(){return false}})})();
|
449
|
+
return self;
|
450
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_hasInstVar_'){return e.fn()} throw(e)}}
|
451
|
+
}),
|
452
|
+
smalltalk.MaglevObject);
|
453
|
+
|
454
|
+
smalltalk.addMethod(
|
455
|
+
unescape('_hasInstVars'),
|
456
|
+
smalltalk.method({
|
457
|
+
selector: unescape('hasInstVars'),
|
458
|
+
fn: function (){
|
459
|
+
var self=this;
|
460
|
+
return ((($receiver = smalltalk.send(self['@instVars'], "_size", [])).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]));
|
461
|
+
return self;}
|
462
|
+
}),
|
463
|
+
smalltalk.MaglevObject);
|
464
|
+
|
465
|
+
smalltalk.addMethod(
|
466
|
+
unescape('_ifNotMaglevNil_'),
|
467
|
+
smalltalk.method({
|
468
|
+
selector: unescape('ifNotMaglevNil%3A'),
|
469
|
+
fn: function (aBlock){
|
470
|
+
var self=this;
|
471
|
+
return smalltalk.send(aBlock, "_value", []);
|
472
|
+
return self;}
|
473
|
+
}),
|
474
|
+
smalltalk.MaglevObject);
|
475
|
+
|
476
|
+
smalltalk.addMethod(
|
477
|
+
unescape('_inlineViewComponent'),
|
478
|
+
smalltalk.method({
|
479
|
+
selector: unescape('inlineViewComponent'),
|
480
|
+
fn: function (){
|
481
|
+
var self=this;
|
482
|
+
return (function($rec){smalltalk.send($rec, "_object_", [self]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_inlineViewClass", []), "_basicNew", []));
|
483
|
+
return self;}
|
484
|
+
}),
|
485
|
+
smalltalk.MaglevObject);
|
486
|
+
|
487
|
+
smalltalk.addMethod(
|
488
|
+
unescape('_inlineViewComponentFull'),
|
489
|
+
smalltalk.method({
|
490
|
+
selector: unescape('inlineViewComponentFull'),
|
491
|
+
fn: function (){
|
492
|
+
var self=this;
|
493
|
+
return (function($rec){smalltalk.send($rec, "_fullInspection_", [true]);smalltalk.send($rec, "_object_", [self]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_inlineViewClass", []), "_basicNew", []));
|
494
|
+
return self;}
|
495
|
+
}),
|
496
|
+
smalltalk.MaglevObject);
|
497
|
+
|
498
|
+
smalltalk.addMethod(
|
499
|
+
unescape('_inlineViewComponentNavItem'),
|
500
|
+
smalltalk.method({
|
501
|
+
selector: unescape('inlineViewComponentNavItem'),
|
502
|
+
fn: function (){
|
503
|
+
var self=this;
|
504
|
+
return (function($rec){smalltalk.send($rec, "_object_", [self]);smalltalk.send($rec, "_isShort_", [true]);smalltalk.send($rec, "_hasDropDown_", [false]);smalltalk.send($rec, "_isDraggable_", [false]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_inlineViewClass", []), "_basicNew", []));
|
505
|
+
return self;}
|
506
|
+
}),
|
507
|
+
smalltalk.MaglevObject);
|
508
|
+
|
509
|
+
smalltalk.addMethod(
|
510
|
+
unescape('_inlineViewComponentShort'),
|
511
|
+
smalltalk.method({
|
512
|
+
selector: unescape('inlineViewComponentShort'),
|
513
|
+
fn: function (){
|
514
|
+
var self=this;
|
515
|
+
return (function($rec){smalltalk.send($rec, "_object_", [self]);smalltalk.send($rec, "_isShort_", [true]);smalltalk.send($rec, "_isDraggable_", [false]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_inlineViewClass", []), "_basicNew", []));
|
516
|
+
return self;}
|
517
|
+
}),
|
518
|
+
smalltalk.MaglevObject);
|
519
|
+
|
520
|
+
smalltalk.addMethod(
|
521
|
+
unescape('_inlineViewComponentWithDepth_'),
|
522
|
+
smalltalk.method({
|
523
|
+
selector: unescape('inlineViewComponentWithDepth%3A'),
|
524
|
+
fn: function (anInteger){
|
525
|
+
var self=this;
|
526
|
+
return (function($rec){smalltalk.send($rec, "_depth_", [anInteger]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_inlineViewComponent", []));
|
527
|
+
return self;}
|
528
|
+
}),
|
529
|
+
smalltalk.MaglevObject);
|
530
|
+
|
531
|
+
smalltalk.addMethod(
|
532
|
+
unescape('_inspection'),
|
533
|
+
smalltalk.method({
|
534
|
+
selector: unescape('inspection'),
|
535
|
+
fn: function (){
|
536
|
+
var self=this;
|
537
|
+
return self['@inspection'];
|
538
|
+
return self;}
|
539
|
+
}),
|
540
|
+
smalltalk.MaglevObject);
|
541
|
+
|
542
|
+
smalltalk.addMethod(
|
543
|
+
unescape('_instVarAt_'),
|
544
|
+
smalltalk.method({
|
545
|
+
selector: unescape('instVarAt%3A'),
|
546
|
+
fn: function (aString){
|
547
|
+
var self=this;
|
548
|
+
try{smalltalk.send(self['@instVars'], "_keysAndValuesDo_", [(function(index, iv){return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(iv, "_key", []), "_string", []), "__eq", [smalltalk.send(aString, "_asString", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_instVarAt_', fn: function(){return smalltalk.send(iv, "_value", [])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_instVarAt_', fn: function(){return smalltalk.send(iv, "_value", [])}})})();})]));})]);
|
549
|
+
smalltalk.send(self, "_error_", [smalltalk.send("instVar not found in forwarder object: ", "__comma", [aString])]);
|
550
|
+
return self;
|
551
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_instVarAt_'){return e.fn()} throw(e)}}
|
552
|
+
}),
|
553
|
+
smalltalk.MaglevObject);
|
554
|
+
|
555
|
+
smalltalk.addMethod(
|
556
|
+
unescape('_instVarAt_ifAbsent_'),
|
557
|
+
smalltalk.method({
|
558
|
+
selector: unescape('instVarAt%3AifAbsent%3A'),
|
559
|
+
fn: function (aString, anObject){
|
560
|
+
var self=this;
|
561
|
+
try{smalltalk.send(self['@instVars'], "_keysAndValuesDo_", [(function(index, iv){return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(iv, "_key", []), "_string", []), "__eq", [smalltalk.send(aString, "_asString", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_instVarAt_ifAbsent_', fn: function(){return smalltalk.send(iv, "_value", [])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_instVarAt_ifAbsent_', fn: function(){return smalltalk.send(iv, "_value", [])}})})();})]));})]);
|
562
|
+
(function(){throw({name: 'stReturn', selector: '_instVarAt_ifAbsent_', fn: function(){return anObject}})})();
|
563
|
+
return self;
|
564
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_instVarAt_ifAbsent_'){return e.fn()} throw(e)}}
|
565
|
+
}),
|
566
|
+
smalltalk.MaglevObject);
|
567
|
+
|
568
|
+
smalltalk.addMethod(
|
569
|
+
unescape('_instVars'),
|
570
|
+
smalltalk.method({
|
571
|
+
selector: unescape('instVars'),
|
572
|
+
fn: function (){
|
573
|
+
var self=this;
|
574
|
+
return self['@instVars'];
|
575
|
+
return self;}
|
576
|
+
}),
|
577
|
+
smalltalk.MaglevObject);
|
578
|
+
|
579
|
+
smalltalk.addMethod(
|
580
|
+
unescape('_instVarsDo_'),
|
581
|
+
smalltalk.method({
|
582
|
+
selector: unescape('instVarsDo%3A'),
|
583
|
+
fn: function (aBlock){
|
584
|
+
var self=this;
|
585
|
+
smalltalk.send(self['@instVars'], "_keysAndValuesDo_", [(function(index, iv){return smalltalk.send(aBlock, "_value_value_", [smalltalk.send(iv, "_key", []), smalltalk.send(iv, "_value", [])]);})]);
|
586
|
+
return self;}
|
587
|
+
}),
|
588
|
+
smalltalk.MaglevObject);
|
589
|
+
|
590
|
+
smalltalk.addMethod(
|
591
|
+
unescape('_instVarsSize'),
|
592
|
+
smalltalk.method({
|
593
|
+
selector: unescape('instVarsSize'),
|
594
|
+
fn: function (){
|
595
|
+
var self=this;
|
596
|
+
return self['@instVarsSize'];
|
597
|
+
return self;}
|
598
|
+
}),
|
599
|
+
smalltalk.MaglevObject);
|
600
|
+
|
601
|
+
smalltalk.addMethod(
|
602
|
+
unescape('_instancesViewComponent'),
|
603
|
+
smalltalk.method({
|
604
|
+
selector: unescape('instancesViewComponent'),
|
605
|
+
fn: function (){
|
606
|
+
var self=this;
|
607
|
+
return (function($rec){smalltalk.send($rec, "_object_", [self]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_instancesViewClass", []), "_basicNew", []));
|
608
|
+
return self;}
|
609
|
+
}),
|
610
|
+
smalltalk.MaglevObject);
|
611
|
+
|
612
|
+
smalltalk.addMethod(
|
613
|
+
unescape('_isException'),
|
614
|
+
smalltalk.method({
|
615
|
+
selector: unescape('isException'),
|
616
|
+
fn: function (){
|
617
|
+
var self=this;
|
618
|
+
return self['@isException'];
|
619
|
+
return self;}
|
620
|
+
}),
|
621
|
+
smalltalk.MaglevObject);
|
622
|
+
|
623
|
+
smalltalk.addMethod(
|
624
|
+
unescape('_isGsNMethod'),
|
625
|
+
smalltalk.method({
|
626
|
+
selector: unescape('isGsNMethod'),
|
627
|
+
fn: function (){
|
628
|
+
var self=this;
|
629
|
+
return false;
|
630
|
+
return self;}
|
631
|
+
}),
|
632
|
+
smalltalk.MaglevObject);
|
633
|
+
|
634
|
+
smalltalk.addMethod(
|
635
|
+
unescape('_isLoaded'),
|
636
|
+
smalltalk.method({
|
637
|
+
selector: unescape('isLoaded'),
|
638
|
+
fn: function (){
|
639
|
+
var self=this;
|
640
|
+
return self['@isLoaded'];
|
641
|
+
return self;}
|
642
|
+
}),
|
643
|
+
smalltalk.MaglevObject);
|
644
|
+
|
645
|
+
smalltalk.addMethod(
|
646
|
+
unescape('_isLoaded_from_to_'),
|
647
|
+
smalltalk.method({
|
648
|
+
selector: unescape('isLoaded%3Afrom%3Ato%3A'),
|
649
|
+
fn: function (collectionName, from, to){
|
650
|
+
var self=this;
|
651
|
+
try{var collection=nil;
|
652
|
+
(collection=smalltalk.send(self, "_perform_", [collectionName]));
|
653
|
+
smalltalk.send(smalltalk.send(from, "_to_", [to]), "_do_", [(function(index){return ((($receiver = smalltalk.send(collection, "_includesKey_", [index])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_isLoaded_from_to_', fn: function(){return false}})})();})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_isLoaded_from_to_', fn: function(){return false}})})();})]));})]);
|
654
|
+
(function(){throw({name: 'stReturn', selector: '_isLoaded_from_to_', fn: function(){return true}})})();
|
655
|
+
return self;
|
656
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_isLoaded_from_to_'){return e.fn()} throw(e)}}
|
657
|
+
}),
|
658
|
+
smalltalk.MaglevObject);
|
659
|
+
|
660
|
+
smalltalk.addMethod(
|
661
|
+
unescape('_isMaglevNil'),
|
662
|
+
smalltalk.method({
|
663
|
+
selector: unescape('isMaglevNil'),
|
664
|
+
fn: function (){
|
665
|
+
var self=this;
|
666
|
+
return false;
|
667
|
+
return self;}
|
668
|
+
}),
|
669
|
+
smalltalk.MaglevObject);
|
670
|
+
|
671
|
+
smalltalk.addMethod(
|
672
|
+
unescape('_oop'),
|
673
|
+
smalltalk.method({
|
674
|
+
selector: unescape('oop'),
|
675
|
+
fn: function (){
|
676
|
+
var self=this;
|
677
|
+
return self['@oop'];
|
678
|
+
return self;}
|
679
|
+
}),
|
680
|
+
smalltalk.MaglevObject);
|
681
|
+
|
682
|
+
smalltalk.addMethod(
|
683
|
+
unescape('_paramsAllElements'),
|
684
|
+
smalltalk.method({
|
685
|
+
selector: unescape('paramsAllElements'),
|
686
|
+
fn: function (){
|
687
|
+
var self=this;
|
688
|
+
return (function($rec){smalltalk.send($rec, "_at_put_", ["allElements", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
689
|
+
return self;}
|
690
|
+
}),
|
691
|
+
smalltalk.MaglevObject);
|
692
|
+
|
693
|
+
smalltalk.addMethod(
|
694
|
+
unescape('_paramsFullString'),
|
695
|
+
smalltalk.method({
|
696
|
+
selector: unescape('paramsFullString'),
|
697
|
+
fn: function (){
|
698
|
+
var self=this;
|
699
|
+
return (function($rec){smalltalk.send($rec, "_at_put_", ["fullString", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
700
|
+
return self;}
|
701
|
+
}),
|
702
|
+
smalltalk.MaglevObject);
|
703
|
+
|
704
|
+
smalltalk.addMethod(
|
705
|
+
unescape('_paramsFullStringAndElements'),
|
706
|
+
smalltalk.method({
|
707
|
+
selector: unescape('paramsFullStringAndElements'),
|
708
|
+
fn: function (){
|
709
|
+
var self=this;
|
710
|
+
return (function($rec){smalltalk.send($rec, "_at_put_", ["allElements", true]);smalltalk.send($rec, "_at_put_", ["fullString", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
711
|
+
return self;}
|
712
|
+
}),
|
713
|
+
smalltalk.MaglevObject);
|
714
|
+
|
715
|
+
smalltalk.addMethod(
|
716
|
+
unescape('_paramsThreadFrame'),
|
717
|
+
smalltalk.method({
|
718
|
+
selector: unescape('paramsThreadFrame'),
|
719
|
+
fn: function (){
|
720
|
+
var self=this;
|
721
|
+
return (function($rec){smalltalk.send($rec, "_at_put_", ["allElements", true]);smalltalk.send($rec, "_at_put_", ["fullString", true]);smalltalk.send($rec, "_at_put_", ["fullMethod", true]);smalltalk.send($rec, "_at_put_", ["noBehavior", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
722
|
+
return self;}
|
723
|
+
}),
|
724
|
+
smalltalk.MaglevObject);
|
725
|
+
|
726
|
+
smalltalk.addMethod(
|
727
|
+
unescape('_parseJSON_'),
|
728
|
+
smalltalk.method({
|
729
|
+
selector: unescape('parseJSON%3A'),
|
730
|
+
fn: function (obj){
|
731
|
+
var self=this;
|
732
|
+
(self['@isLoaded']=true);
|
733
|
+
(($receiver = self['@instVars']) == nil || $receiver == undefined) ? (function(){return (self['@instVars']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
|
734
|
+
(self['@oop']=smalltalk.send(obj, "_oop", []));
|
735
|
+
(self['@isException']=smalltalk.send(obj, "_exception", []));
|
736
|
+
(self['@classObject']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_classObject", [])]));
|
737
|
+
(self['@virtualClassObject']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_virtualClassObject", [])]));
|
738
|
+
(self['@inspection']=smalltalk.send(obj, "_inspection", []));
|
739
|
+
(self['@instVarsSize']=smalltalk.send(obj, "_instVarsSize", []));
|
740
|
+
smalltalk.send(smalltalk.send(obj, "_instVars", []), "_keysAndValuesDo_", [(function(index, assoc){var key=nil;
|
741
|
+
var value=nil;
|
742
|
+
(key=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(1)])]));(value=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(2)])]));return smalltalk.send(self['@instVars'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send(key, "__minus_gt", [value])]);})]);
|
743
|
+
(self['@customTabs']=smalltalk.send(obj, "_customTabs", []));
|
744
|
+
return self;}
|
745
|
+
}),
|
746
|
+
smalltalk.MaglevObject);
|
747
|
+
|
748
|
+
smalltalk.addMethod(
|
749
|
+
unescape('_parseJSONNotLoaded_'),
|
750
|
+
smalltalk.method({
|
751
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
752
|
+
fn: function (obj){
|
753
|
+
var self=this;
|
754
|
+
(($receiver = smalltalk.send(self, "_isLoaded", [])) == nil || $receiver == undefined) ? (function(){return (self['@isLoaded']=false);})() : $receiver;
|
755
|
+
(self['@oop']=smalltalk.send(obj, "_oop", []));
|
756
|
+
(self['@inspection']=smalltalk.send(obj, "_inspection", []));
|
757
|
+
return self;}
|
758
|
+
}),
|
759
|
+
smalltalk.MaglevObject);
|
760
|
+
|
761
|
+
smalltalk.addMethod(
|
762
|
+
unescape('_removeWindow_'),
|
763
|
+
smalltalk.method({
|
764
|
+
selector: unescape('removeWindow%3A'),
|
765
|
+
fn: function (aWindow){
|
766
|
+
var self=this;
|
767
|
+
smalltalk.send(smalltalk.send(self, "_windows", []), "_remove_", [aWindow]);
|
768
|
+
smalltalk.send(smalltalk.send((smalltalk.Maglev || Maglev), "_instance", []), "_removeWindow_", [aWindow]);
|
769
|
+
return aWindow;
|
770
|
+
return self;}
|
771
|
+
}),
|
772
|
+
smalltalk.MaglevObject);
|
773
|
+
|
774
|
+
smalltalk.addMethod(
|
775
|
+
unescape('_shortInspection'),
|
776
|
+
smalltalk.method({
|
777
|
+
selector: unescape('shortInspection'),
|
778
|
+
fn: function (){
|
779
|
+
var self=this;
|
780
|
+
try{((($receiver = ((($receiver = smalltalk.send(self['@inspection'], "_size", [])).klass === smalltalk.Number) ? $receiver >(10) : smalltalk.send($receiver, "__gt", [(10)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_shortInspection', fn: function(){return smalltalk.send(smalltalk.send(self['@inspection'], "_copyFrom_to_", [(1), (10)]), "__comma", ["..."])}})})();})() : (function(){return (function(){throw({name: 'stReturn', selector: '_shortInspection', fn: function(){return self['@inspection']}})})();})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_shortInspection', fn: function(){return smalltalk.send(smalltalk.send(self['@inspection'], "_copyFrom_to_", [(1), (10)]), "__comma", ["..."])}})})();}), (function(){return (function(){throw({name: 'stReturn', selector: '_shortInspection', fn: function(){return self['@inspection']}})})();})]));
|
781
|
+
return self;
|
782
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_shortInspection'){return e.fn()} throw(e)}}
|
783
|
+
}),
|
784
|
+
smalltalk.MaglevObject);
|
785
|
+
|
786
|
+
smalltalk.addMethod(
|
787
|
+
unescape('_virtualClassObject'),
|
788
|
+
smalltalk.method({
|
789
|
+
selector: unescape('virtualClassObject'),
|
790
|
+
fn: function (){
|
791
|
+
var self=this;
|
792
|
+
return self['@virtualClassObject'];
|
793
|
+
return self;}
|
794
|
+
}),
|
795
|
+
smalltalk.MaglevObject);
|
796
|
+
|
797
|
+
smalltalk.addMethod(
|
798
|
+
unescape('_windowViewComponent'),
|
799
|
+
smalltalk.method({
|
800
|
+
selector: unescape('windowViewComponent'),
|
801
|
+
fn: function (){
|
802
|
+
var self=this;
|
803
|
+
return (function($rec){smalltalk.send($rec, "_object_", [self]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_windowViewClass", []), "_basicNew", []));
|
804
|
+
return self;}
|
805
|
+
}),
|
806
|
+
smalltalk.MaglevObject);
|
807
|
+
|
808
|
+
smalltalk.addMethod(
|
809
|
+
unescape('_windowViewComponentReplace_'),
|
810
|
+
smalltalk.method({
|
811
|
+
selector: unescape('windowViewComponentReplace%3A'),
|
812
|
+
fn: function (aWindow){
|
813
|
+
var self=this;
|
814
|
+
return smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_windowViewClass", []), "_newReplace_with_", [aWindow, self]);
|
815
|
+
return self;}
|
816
|
+
}),
|
817
|
+
smalltalk.MaglevObject);
|
818
|
+
|
819
|
+
smalltalk.addMethod(
|
820
|
+
unescape('_windows'),
|
821
|
+
smalltalk.method({
|
822
|
+
selector: unescape('windows'),
|
823
|
+
fn: function (){
|
824
|
+
var self=this;
|
825
|
+
(($receiver = self['@windows']) == nil || $receiver == undefined) ? (function(){return (self['@windows']=smalltalk.send((smalltalk.OrderedCollection || OrderedCollection), "_new", []));})() : $receiver;
|
826
|
+
return self['@windows'];
|
827
|
+
return self;}
|
828
|
+
}),
|
829
|
+
smalltalk.MaglevObject);
|
830
|
+
|
831
|
+
|
832
|
+
smalltalk.MaglevObject.klass.iVarNames = ['basetypes','doesUpdateObjectSpace'];
|
833
|
+
smalltalk.addMethod(
|
834
|
+
unescape('_basetype'),
|
835
|
+
smalltalk.method({
|
836
|
+
selector: unescape('basetype'),
|
837
|
+
fn: function (){
|
838
|
+
var self=this;
|
839
|
+
return smalltalk.symbolFor("object");
|
840
|
+
return self;}
|
841
|
+
}),
|
842
|
+
smalltalk.MaglevObject.klass);
|
843
|
+
|
844
|
+
smalltalk.addMethod(
|
845
|
+
unescape('_basetypes'),
|
846
|
+
smalltalk.method({
|
847
|
+
selector: unescape('basetypes'),
|
848
|
+
fn: function (){
|
849
|
+
var self=this;
|
850
|
+
return self['@basetypes'];
|
851
|
+
return self;}
|
852
|
+
}),
|
853
|
+
smalltalk.MaglevObject.klass);
|
854
|
+
|
855
|
+
smalltalk.addMethod(
|
856
|
+
unescape('_doesUpdateObjectSpace'),
|
857
|
+
smalltalk.method({
|
858
|
+
selector: unescape('doesUpdateObjectSpace'),
|
859
|
+
fn: function (){
|
860
|
+
var self=this;
|
861
|
+
(($receiver = self['@doesUpdateObjectSpace']) == nil || $receiver == undefined) ? (function(){return (self['@doesUpdateObjectSpace']=true);})() : $receiver;
|
862
|
+
return self['@doesUpdateObjectSpace'];
|
863
|
+
return self;}
|
864
|
+
}),
|
865
|
+
smalltalk.MaglevObject.klass);
|
866
|
+
|
867
|
+
smalltalk.addMethod(
|
868
|
+
unescape('_doesUpdateObjectSpace_'),
|
869
|
+
smalltalk.method({
|
870
|
+
selector: unescape('doesUpdateObjectSpace%3A'),
|
871
|
+
fn: function (aBoolean){
|
872
|
+
var self=this;
|
873
|
+
(self['@doesUpdateObjectSpace']=aBoolean);
|
874
|
+
return self;}
|
875
|
+
}),
|
876
|
+
smalltalk.MaglevObject.klass);
|
877
|
+
|
878
|
+
smalltalk.addMethod(
|
879
|
+
unescape('_initialize'),
|
880
|
+
smalltalk.method({
|
881
|
+
selector: unescape('initialize'),
|
882
|
+
fn: function (){
|
883
|
+
var self=this;
|
884
|
+
smalltalk.send(self, "_initializeBasetypes", []);
|
885
|
+
return self;}
|
886
|
+
}),
|
887
|
+
smalltalk.MaglevObject.klass);
|
888
|
+
|
889
|
+
smalltalk.addMethod(
|
890
|
+
unescape('_initializeBasetypes'),
|
891
|
+
smalltalk.method({
|
892
|
+
selector: unescape('initializeBasetypes'),
|
893
|
+
fn: function (){
|
894
|
+
var self=this;
|
895
|
+
(self['@basetypes']=(function($rec){smalltalk.send($rec, "_at_put_", [smalltalk.send(self, "_basetype", []), self]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
896
|
+
smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_do_", [(function(cls){return smalltalk.send(self['@basetypes'], "_at_put_", [smalltalk.send(cls, "_basetype", []), cls]);})]);
|
897
|
+
return self;}
|
898
|
+
}),
|
899
|
+
smalltalk.MaglevObject.klass);
|
900
|
+
|
901
|
+
smalltalk.addMethod(
|
902
|
+
unescape('_inlineViewClass'),
|
903
|
+
smalltalk.method({
|
904
|
+
selector: unescape('inlineViewClass'),
|
905
|
+
fn: function (){
|
906
|
+
var self=this;
|
907
|
+
return (smalltalk.MaglevObjectInline || MaglevObjectInline);
|
908
|
+
return self;}
|
909
|
+
}),
|
910
|
+
smalltalk.MaglevObject.klass);
|
911
|
+
|
912
|
+
smalltalk.addMethod(
|
913
|
+
unescape('_instancesViewClass'),
|
914
|
+
smalltalk.method({
|
915
|
+
selector: unescape('instancesViewClass'),
|
916
|
+
fn: function (){
|
917
|
+
var self=this;
|
918
|
+
return (smalltalk.MaglevObjectInstancesView || MaglevObjectInstancesView);
|
919
|
+
return self;}
|
920
|
+
}),
|
921
|
+
smalltalk.MaglevObject.klass);
|
922
|
+
|
923
|
+
smalltalk.addMethod(
|
924
|
+
unescape('_newFor_'),
|
925
|
+
smalltalk.method({
|
926
|
+
selector: unescape('newFor%3A'),
|
927
|
+
fn: function (aBaseType){
|
928
|
+
var self=this;
|
929
|
+
var cls=nil;
|
930
|
+
(cls=smalltalk.send(smalltalk.send(self, "_basetypes", []), "_at_ifAbsent_", [smalltalk.send(aBaseType, "_asSymbol", []), (function(){return smalltalk.send(self, "_error_", [smalltalk.send("Could not create forwarder object for invalid base type ", "__comma", [aBaseType])]);})]));
|
931
|
+
return smalltalk.send(cls, "_new", []);
|
932
|
+
return self;}
|
933
|
+
}),
|
934
|
+
smalltalk.MaglevObject.klass);
|
935
|
+
|
936
|
+
smalltalk.addMethod(
|
937
|
+
unescape('_newObject_'),
|
938
|
+
smalltalk.method({
|
939
|
+
selector: unescape('newObject%3A'),
|
940
|
+
fn: function (obj){
|
941
|
+
var self=this;
|
942
|
+
var object=nil;
|
943
|
+
(object=smalltalk.send(self, "_parseJSON_", [obj]));
|
944
|
+
((($receiver = smalltalk.send(self, "_doesUpdateObjectSpace", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_updateObject_", [object]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_updateObject_", [object]);})]));
|
945
|
+
return object;
|
946
|
+
return self;}
|
947
|
+
}),
|
948
|
+
smalltalk.MaglevObject.klass);
|
949
|
+
|
950
|
+
smalltalk.addMethod(
|
951
|
+
unescape('_newObjectWithoutUpdate_'),
|
952
|
+
smalltalk.method({
|
953
|
+
selector: unescape('newObjectWithoutUpdate%3A'),
|
954
|
+
fn: function (obj){
|
955
|
+
var self=this;
|
956
|
+
var before=nil;
|
957
|
+
var result=nil;
|
958
|
+
(before=smalltalk.send(self, "_doesUpdateObjectSpace", []));
|
959
|
+
(result=smalltalk.send(self, "_newObject_", [obj]));
|
960
|
+
(self['@doesUpdateObjectSpace']=before);
|
961
|
+
return result;
|
962
|
+
return self;}
|
963
|
+
}),
|
964
|
+
smalltalk.MaglevObject.klass);
|
965
|
+
|
966
|
+
smalltalk.addMethod(
|
967
|
+
unescape('_parseJSON_'),
|
968
|
+
smalltalk.method({
|
969
|
+
selector: unescape('parseJSON%3A'),
|
970
|
+
fn: function (obj){
|
971
|
+
var self=this;
|
972
|
+
try{var object=nil;
|
973
|
+
(object=smalltalk.send(self, "_newFor_", [smalltalk.send(obj, "_basetype", [])]));
|
974
|
+
((($receiver = smalltalk.send(obj, "_loaded", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_parseJSON_', fn: function(){return (function($rec){smalltalk.send($rec, "_parseJSON_", [obj]);return smalltalk.send($rec, "_yourself", []);})(object)}})})();})() : (function(){return (function(){throw({name: 'stReturn', selector: '_parseJSON_', fn: function(){return (function($rec){smalltalk.send($rec, "_parseJSONNotLoaded_", [obj]);return smalltalk.send($rec, "_yourself", []);})(object)}})})();})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_parseJSON_', fn: function(){return (function($rec){smalltalk.send($rec, "_parseJSON_", [obj]);return smalltalk.send($rec, "_yourself", []);})(object)}})})();}), (function(){return (function(){throw({name: 'stReturn', selector: '_parseJSON_', fn: function(){return (function($rec){smalltalk.send($rec, "_parseJSONNotLoaded_", [obj]);return smalltalk.send($rec, "_yourself", []);})(object)}})})();})]));
|
975
|
+
return self;
|
976
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_parseJSON_'){return e.fn()} throw(e)}}
|
977
|
+
}),
|
978
|
+
smalltalk.MaglevObject.klass);
|
979
|
+
|
980
|
+
smalltalk.addMethod(
|
981
|
+
unescape('_windowViewClass'),
|
982
|
+
smalltalk.method({
|
983
|
+
selector: unescape('windowViewClass'),
|
984
|
+
fn: function (){
|
985
|
+
var self=this;
|
986
|
+
return (smalltalk.MaglevObjectWindow || MaglevObjectWindow);
|
987
|
+
return self;}
|
988
|
+
}),
|
989
|
+
smalltalk.MaglevObject.klass);
|
990
|
+
|
991
|
+
|
992
|
+
smalltalk.addClass('MaglevArray', smalltalk.MaglevObject, ['elements', 'elementsSize'], 'Maglev-Core');
|
993
|
+
smalltalk.addMethod(
|
994
|
+
unescape('_at_'),
|
995
|
+
smalltalk.method({
|
996
|
+
selector: unescape('at%3A'),
|
997
|
+
fn: function (anInteger){
|
998
|
+
var self=this;
|
999
|
+
return smalltalk.send(smalltalk.send(self, "_elements", []), "_at_", [anInteger]);
|
1000
|
+
return self;}
|
1001
|
+
}),
|
1002
|
+
smalltalk.MaglevArray);
|
1003
|
+
|
1004
|
+
smalltalk.addMethod(
|
1005
|
+
unescape('_do_'),
|
1006
|
+
smalltalk.method({
|
1007
|
+
selector: unescape('do%3A'),
|
1008
|
+
fn: function (aBlock){
|
1009
|
+
var self=this;
|
1010
|
+
smalltalk.send(smalltalk.send(self, "_elements", []), "_do_", [aBlock]);
|
1011
|
+
return self;}
|
1012
|
+
}),
|
1013
|
+
smalltalk.MaglevArray);
|
1014
|
+
|
1015
|
+
smalltalk.addMethod(
|
1016
|
+
unescape('_elements'),
|
1017
|
+
smalltalk.method({
|
1018
|
+
selector: unescape('elements'),
|
1019
|
+
fn: function (){
|
1020
|
+
var self=this;
|
1021
|
+
return self['@elements'];
|
1022
|
+
return self;}
|
1023
|
+
}),
|
1024
|
+
smalltalk.MaglevArray);
|
1025
|
+
|
1026
|
+
smalltalk.addMethod(
|
1027
|
+
unescape('_elementsSize'),
|
1028
|
+
smalltalk.method({
|
1029
|
+
selector: unescape('elementsSize'),
|
1030
|
+
fn: function (){
|
1031
|
+
var self=this;
|
1032
|
+
return self['@elementsSize'];
|
1033
|
+
return self;}
|
1034
|
+
}),
|
1035
|
+
smalltalk.MaglevArray);
|
1036
|
+
|
1037
|
+
smalltalk.addMethod(
|
1038
|
+
unescape('_hasElements'),
|
1039
|
+
smalltalk.method({
|
1040
|
+
selector: unescape('hasElements'),
|
1041
|
+
fn: function (){
|
1042
|
+
var self=this;
|
1043
|
+
return ((($receiver = smalltalk.send(self, "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]));
|
1044
|
+
return self;}
|
1045
|
+
}),
|
1046
|
+
smalltalk.MaglevArray);
|
1047
|
+
|
1048
|
+
smalltalk.addMethod(
|
1049
|
+
unescape('_isFullyLoaded'),
|
1050
|
+
smalltalk.method({
|
1051
|
+
selector: unescape('isFullyLoaded'),
|
1052
|
+
fn: function (){
|
1053
|
+
var self=this;
|
1054
|
+
return smalltalk.send(smalltalk.send(self, "_elementsSize", []), "__eq_eq", [smalltalk.send(smalltalk.send(self, "_elements", []), "_size", [])]);
|
1055
|
+
return self;}
|
1056
|
+
}),
|
1057
|
+
smalltalk.MaglevArray);
|
1058
|
+
|
1059
|
+
smalltalk.addMethod(
|
1060
|
+
unescape('_parseJSON_'),
|
1061
|
+
smalltalk.method({
|
1062
|
+
selector: unescape('parseJSON%3A'),
|
1063
|
+
fn: function (obj){
|
1064
|
+
var self=this;
|
1065
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
1066
|
+
(($receiver = self['@elements']) == nil || $receiver == undefined) ? (function(){return (self['@elements']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
|
1067
|
+
(self['@elementsSize']=smalltalk.send(obj, "_elementsSize", []));
|
1068
|
+
smalltalk.send(smalltalk.send(obj, "_elements", []), "_keysAndValuesDo_", [(function(index, element){return smalltalk.send(self['@elements'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [element])]);})]);
|
1069
|
+
return self;}
|
1070
|
+
}),
|
1071
|
+
smalltalk.MaglevArray);
|
1072
|
+
|
1073
|
+
|
1074
|
+
smalltalk.addMethod(
|
1075
|
+
unescape('_basetype'),
|
1076
|
+
smalltalk.method({
|
1077
|
+
selector: unescape('basetype'),
|
1078
|
+
fn: function (){
|
1079
|
+
var self=this;
|
1080
|
+
return smalltalk.symbolFor("array");
|
1081
|
+
return self;}
|
1082
|
+
}),
|
1083
|
+
smalltalk.MaglevArray.klass);
|
1084
|
+
|
1085
|
+
smalltalk.addMethod(
|
1086
|
+
unescape('_inlineViewClass'),
|
1087
|
+
smalltalk.method({
|
1088
|
+
selector: unescape('inlineViewClass'),
|
1089
|
+
fn: function (){
|
1090
|
+
var self=this;
|
1091
|
+
return (smalltalk.MaglevArrayInline || MaglevArrayInline);
|
1092
|
+
return self;}
|
1093
|
+
}),
|
1094
|
+
smalltalk.MaglevArray.klass);
|
1095
|
+
|
1096
|
+
smalltalk.addMethod(
|
1097
|
+
unescape('_windowViewClass'),
|
1098
|
+
smalltalk.method({
|
1099
|
+
selector: unescape('windowViewClass'),
|
1100
|
+
fn: function (){
|
1101
|
+
var self=this;
|
1102
|
+
return (smalltalk.MaglevArrayWindow || MaglevArrayWindow);
|
1103
|
+
return self;}
|
1104
|
+
}),
|
1105
|
+
smalltalk.MaglevArray.klass);
|
1106
|
+
|
1107
|
+
|
1108
|
+
smalltalk.addClass('MaglevBoolean', smalltalk.MaglevObject, ['value'], 'Maglev-Core');
|
1109
|
+
smalltalk.addMethod(
|
1110
|
+
unescape('_parseJSON_'),
|
1111
|
+
smalltalk.method({
|
1112
|
+
selector: unescape('parseJSON%3A'),
|
1113
|
+
fn: function (obj){
|
1114
|
+
var self=this;
|
1115
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
1116
|
+
(self['@value']=smalltalk.send(obj, "_value", []));
|
1117
|
+
return self;}
|
1118
|
+
}),
|
1119
|
+
smalltalk.MaglevBoolean);
|
1120
|
+
|
1121
|
+
smalltalk.addMethod(
|
1122
|
+
unescape('_parseJSONNotLoaded_'),
|
1123
|
+
smalltalk.method({
|
1124
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
1125
|
+
fn: function (obj){
|
1126
|
+
var self=this;
|
1127
|
+
smalltalk.send(self, "_parseJSONNotLoaded_", [obj], smalltalk.MaglevObject);
|
1128
|
+
(self['@value']=smalltalk.send(obj, "_value", []));
|
1129
|
+
return self;}
|
1130
|
+
}),
|
1131
|
+
smalltalk.MaglevBoolean);
|
1132
|
+
|
1133
|
+
smalltalk.addMethod(
|
1134
|
+
unescape('_value'),
|
1135
|
+
smalltalk.method({
|
1136
|
+
selector: unescape('value'),
|
1137
|
+
fn: function (){
|
1138
|
+
var self=this;
|
1139
|
+
return self['@value'];
|
1140
|
+
return self;}
|
1141
|
+
}),
|
1142
|
+
smalltalk.MaglevBoolean);
|
1143
|
+
|
1144
|
+
|
1145
|
+
smalltalk.addMethod(
|
1146
|
+
unescape('_basetype'),
|
1147
|
+
smalltalk.method({
|
1148
|
+
selector: unescape('basetype'),
|
1149
|
+
fn: function (){
|
1150
|
+
var self=this;
|
1151
|
+
return smalltalk.symbolFor("boolean");
|
1152
|
+
return self;}
|
1153
|
+
}),
|
1154
|
+
smalltalk.MaglevBoolean.klass);
|
1155
|
+
|
1156
|
+
smalltalk.addMethod(
|
1157
|
+
unescape('_inlineViewClass'),
|
1158
|
+
smalltalk.method({
|
1159
|
+
selector: unescape('inlineViewClass'),
|
1160
|
+
fn: function (){
|
1161
|
+
var self=this;
|
1162
|
+
return (smalltalk.MaglevBooleanInline || MaglevBooleanInline);
|
1163
|
+
return self;}
|
1164
|
+
}),
|
1165
|
+
smalltalk.MaglevBoolean.klass);
|
1166
|
+
|
1167
|
+
|
1168
|
+
smalltalk.addClass('MaglevDictionary', smalltalk.MaglevObject, ['elements', 'elementsSize'], 'Maglev-Core');
|
1169
|
+
smalltalk.addMethod(
|
1170
|
+
unescape('_at_'),
|
1171
|
+
smalltalk.method({
|
1172
|
+
selector: unescape('at%3A'),
|
1173
|
+
fn: function (anInteger){
|
1174
|
+
var self=this;
|
1175
|
+
return smalltalk.send(smalltalk.send(self, "_elements", []), "_at_", [anInteger]);
|
1176
|
+
return self;}
|
1177
|
+
}),
|
1178
|
+
smalltalk.MaglevDictionary);
|
1179
|
+
|
1180
|
+
smalltalk.addMethod(
|
1181
|
+
unescape('_atKey_'),
|
1182
|
+
smalltalk.method({
|
1183
|
+
selector: unescape('atKey%3A'),
|
1184
|
+
fn: function (anObject){
|
1185
|
+
var self=this;
|
1186
|
+
try{smalltalk.send(smalltalk.send(self, "_elements", []), "_do_", [(function(assoc){return ((($receiver = smalltalk.send(anObject, "__eq", [smalltalk.send(assoc, "_key", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_atKey_', fn: function(){return smalltalk.send(assoc, "_value", [])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_atKey_', fn: function(){return smalltalk.send(assoc, "_value", [])}})})();})]));})]);
|
1187
|
+
smalltalk.send(self, "_error_", ["Object is not in the collection"]);
|
1188
|
+
return self;
|
1189
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_atKey_'){return e.fn()} throw(e)}}
|
1190
|
+
}),
|
1191
|
+
smalltalk.MaglevDictionary);
|
1192
|
+
|
1193
|
+
smalltalk.addMethod(
|
1194
|
+
unescape('_atKeyInspection_'),
|
1195
|
+
smalltalk.method({
|
1196
|
+
selector: unescape('atKeyInspection%3A'),
|
1197
|
+
fn: function (anObject){
|
1198
|
+
var self=this;
|
1199
|
+
try{smalltalk.send(smalltalk.send(self, "_elements", []), "_do_", [(function(assoc){return ((($receiver = smalltalk.send(anObject, "__eq", [smalltalk.send(smalltalk.send(assoc, "_key", []), "_inspection", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_atKeyInspection_', fn: function(){return smalltalk.send(assoc, "_value", [])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_atKeyInspection_', fn: function(){return smalltalk.send(assoc, "_value", [])}})})();})]));})]);
|
1200
|
+
smalltalk.send(self, "_error_", ["Object is not in the collection"]);
|
1201
|
+
return self;
|
1202
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_atKeyInspection_'){return e.fn()} throw(e)}}
|
1203
|
+
}),
|
1204
|
+
smalltalk.MaglevDictionary);
|
1205
|
+
|
1206
|
+
smalltalk.addMethod(
|
1207
|
+
unescape('_atKeyString_'),
|
1208
|
+
smalltalk.method({
|
1209
|
+
selector: unescape('atKeyString%3A'),
|
1210
|
+
fn: function (anObject){
|
1211
|
+
var self=this;
|
1212
|
+
try{smalltalk.send(smalltalk.send(self, "_elements", []), "_do_", [(function(assoc){return ((($receiver = smalltalk.send(anObject, "__eq", [smalltalk.send(smalltalk.send(assoc, "_key", []), "_string", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_atKeyString_', fn: function(){return smalltalk.send(assoc, "_value", [])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_atKeyString_', fn: function(){return smalltalk.send(assoc, "_value", [])}})})();})]));})]);
|
1213
|
+
smalltalk.send(self, "_error_", ["Object is not in the collection"]);
|
1214
|
+
return self;
|
1215
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_atKeyString_'){return e.fn()} throw(e)}}
|
1216
|
+
}),
|
1217
|
+
smalltalk.MaglevDictionary);
|
1218
|
+
|
1219
|
+
smalltalk.addMethod(
|
1220
|
+
unescape('_elements'),
|
1221
|
+
smalltalk.method({
|
1222
|
+
selector: unescape('elements'),
|
1223
|
+
fn: function (){
|
1224
|
+
var self=this;
|
1225
|
+
return self['@elements'];
|
1226
|
+
return self;}
|
1227
|
+
}),
|
1228
|
+
smalltalk.MaglevDictionary);
|
1229
|
+
|
1230
|
+
smalltalk.addMethod(
|
1231
|
+
unescape('_elementsSize'),
|
1232
|
+
smalltalk.method({
|
1233
|
+
selector: unescape('elementsSize'),
|
1234
|
+
fn: function (){
|
1235
|
+
var self=this;
|
1236
|
+
return self['@elementsSize'];
|
1237
|
+
return self;}
|
1238
|
+
}),
|
1239
|
+
smalltalk.MaglevDictionary);
|
1240
|
+
|
1241
|
+
smalltalk.addMethod(
|
1242
|
+
unescape('_hasElements'),
|
1243
|
+
smalltalk.method({
|
1244
|
+
selector: unescape('hasElements'),
|
1245
|
+
fn: function (){
|
1246
|
+
var self=this;
|
1247
|
+
return ((($receiver = smalltalk.send(self, "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]));
|
1248
|
+
return self;}
|
1249
|
+
}),
|
1250
|
+
smalltalk.MaglevDictionary);
|
1251
|
+
|
1252
|
+
smalltalk.addMethod(
|
1253
|
+
unescape('_includesKey_'),
|
1254
|
+
smalltalk.method({
|
1255
|
+
selector: unescape('includesKey%3A'),
|
1256
|
+
fn: function (anObject){
|
1257
|
+
var self=this;
|
1258
|
+
try{smalltalk.send(smalltalk.send(self, "_elements", []), "_do_", [(function(assoc){return ((($receiver = smalltalk.send(anObject, "__eq", [smalltalk.send(assoc, "_key", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_includesKey_', fn: function(){return true}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_includesKey_', fn: function(){return true}})})();})]));})]);
|
1259
|
+
(function(){throw({name: 'stReturn', selector: '_includesKey_', fn: function(){return false}})})();
|
1260
|
+
return self;
|
1261
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_includesKey_'){return e.fn()} throw(e)}}
|
1262
|
+
}),
|
1263
|
+
smalltalk.MaglevDictionary);
|
1264
|
+
|
1265
|
+
smalltalk.addMethod(
|
1266
|
+
unescape('_isFullyLoaded'),
|
1267
|
+
smalltalk.method({
|
1268
|
+
selector: unescape('isFullyLoaded'),
|
1269
|
+
fn: function (){
|
1270
|
+
var self=this;
|
1271
|
+
return smalltalk.send(smalltalk.send(self, "_elementsSize", []), "__eq_eq", [smalltalk.send(smalltalk.send(self, "_elements", []), "_size", [])]);
|
1272
|
+
return self;}
|
1273
|
+
}),
|
1274
|
+
smalltalk.MaglevDictionary);
|
1275
|
+
|
1276
|
+
smalltalk.addMethod(
|
1277
|
+
unescape('_keysAndValuesDo_'),
|
1278
|
+
smalltalk.method({
|
1279
|
+
selector: unescape('keysAndValuesDo%3A'),
|
1280
|
+
fn: function (aBlock){
|
1281
|
+
var self=this;
|
1282
|
+
smalltalk.send(self['@elements'], "_keysAndValuesDo_", [(function(index, kv){return smalltalk.send(aBlock, "_value_value_", [smalltalk.send(kv, "_key", []), smalltalk.send(kv, "_value", [])]);})]);
|
1283
|
+
return self;}
|
1284
|
+
}),
|
1285
|
+
smalltalk.MaglevDictionary);
|
1286
|
+
|
1287
|
+
smalltalk.addMethod(
|
1288
|
+
unescape('_parseJSON_'),
|
1289
|
+
smalltalk.method({
|
1290
|
+
selector: unescape('parseJSON%3A'),
|
1291
|
+
fn: function (obj){
|
1292
|
+
var self=this;
|
1293
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
1294
|
+
(($receiver = self['@elements']) == nil || $receiver == undefined) ? (function(){return (self['@elements']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
|
1295
|
+
(self['@elementsSize']=smalltalk.send(obj, "_elementsSize", []));
|
1296
|
+
smalltalk.send(smalltalk.send(obj, "_elements", []), "_keysAndValuesDo_", [(function(index, assoc){var key=nil;
|
1297
|
+
var value=nil;
|
1298
|
+
(key=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(1)])]));(value=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(2)])]));return smalltalk.send(self['@elements'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send(key, "__minus_gt", [value])]);})]);
|
1299
|
+
return self;}
|
1300
|
+
}),
|
1301
|
+
smalltalk.MaglevDictionary);
|
1302
|
+
|
1303
|
+
smalltalk.addMethod(
|
1304
|
+
unescape('_valuesDo_'),
|
1305
|
+
smalltalk.method({
|
1306
|
+
selector: unescape('valuesDo%3A'),
|
1307
|
+
fn: function (aBlock){
|
1308
|
+
var self=this;
|
1309
|
+
smalltalk.send(smalltalk.send(self, "_elements", []), "_do_", [(function(assoc){return smalltalk.send(aBlock, "_value_", [smalltalk.send(assoc, "_value", [])]);})]);
|
1310
|
+
return self;}
|
1311
|
+
}),
|
1312
|
+
smalltalk.MaglevDictionary);
|
1313
|
+
|
1314
|
+
|
1315
|
+
smalltalk.addMethod(
|
1316
|
+
unescape('_basetype'),
|
1317
|
+
smalltalk.method({
|
1318
|
+
selector: unescape('basetype'),
|
1319
|
+
fn: function (){
|
1320
|
+
var self=this;
|
1321
|
+
return smalltalk.symbolFor("dictionary");
|
1322
|
+
return self;}
|
1323
|
+
}),
|
1324
|
+
smalltalk.MaglevDictionary.klass);
|
1325
|
+
|
1326
|
+
smalltalk.addMethod(
|
1327
|
+
unescape('_inlineViewClass'),
|
1328
|
+
smalltalk.method({
|
1329
|
+
selector: unescape('inlineViewClass'),
|
1330
|
+
fn: function (){
|
1331
|
+
var self=this;
|
1332
|
+
return (smalltalk.MaglevHashInline || MaglevHashInline);
|
1333
|
+
return self;}
|
1334
|
+
}),
|
1335
|
+
smalltalk.MaglevDictionary.klass);
|
1336
|
+
|
1337
|
+
smalltalk.addMethod(
|
1338
|
+
unescape('_windowViewClass'),
|
1339
|
+
smalltalk.method({
|
1340
|
+
selector: unescape('windowViewClass'),
|
1341
|
+
fn: function (){
|
1342
|
+
var self=this;
|
1343
|
+
return (smalltalk.MaglevHashWindow || MaglevHashWindow);
|
1344
|
+
return self;}
|
1345
|
+
}),
|
1346
|
+
smalltalk.MaglevDictionary.klass);
|
1347
|
+
|
1348
|
+
|
1349
|
+
smalltalk.addClass('MaglevHash', smalltalk.MaglevDictionary, ['elements', 'elementsSize'], 'Maglev-Core');
|
1350
|
+
|
1351
|
+
smalltalk.addMethod(
|
1352
|
+
unescape('_basetype'),
|
1353
|
+
smalltalk.method({
|
1354
|
+
selector: unescape('basetype'),
|
1355
|
+
fn: function (){
|
1356
|
+
var self=this;
|
1357
|
+
return smalltalk.symbolFor("hash");
|
1358
|
+
return self;}
|
1359
|
+
}),
|
1360
|
+
smalltalk.MaglevHash.klass);
|
1361
|
+
|
1362
|
+
|
1363
|
+
smalltalk.addClass('MaglevException', smalltalk.MaglevObject, ['gsResumable', 'gsTrappable', 'gsNumber', 'isDBEHalt'], 'Maglev-Core');
|
1364
|
+
smalltalk.addMethod(
|
1365
|
+
unescape('_isDBEHalt'),
|
1366
|
+
smalltalk.method({
|
1367
|
+
selector: unescape('isDBEHalt'),
|
1368
|
+
fn: function (){
|
1369
|
+
var self=this;
|
1370
|
+
return self['@isDBEHalt'];
|
1371
|
+
return self;}
|
1372
|
+
}),
|
1373
|
+
smalltalk.MaglevException);
|
1374
|
+
|
1375
|
+
smalltalk.addMethod(
|
1376
|
+
unescape('_isResumable'),
|
1377
|
+
smalltalk.method({
|
1378
|
+
selector: unescape('isResumable'),
|
1379
|
+
fn: function (){
|
1380
|
+
var self=this;
|
1381
|
+
return self['@gsResumable'];
|
1382
|
+
return self;}
|
1383
|
+
}),
|
1384
|
+
smalltalk.MaglevException);
|
1385
|
+
|
1386
|
+
smalltalk.addMethod(
|
1387
|
+
unescape('_isTrappable'),
|
1388
|
+
smalltalk.method({
|
1389
|
+
selector: unescape('isTrappable'),
|
1390
|
+
fn: function (){
|
1391
|
+
var self=this;
|
1392
|
+
return self['@gsTrappable'];
|
1393
|
+
return self;}
|
1394
|
+
}),
|
1395
|
+
smalltalk.MaglevException);
|
1396
|
+
|
1397
|
+
smalltalk.addMethod(
|
1398
|
+
unescape('_number'),
|
1399
|
+
smalltalk.method({
|
1400
|
+
selector: unescape('number'),
|
1401
|
+
fn: function (){
|
1402
|
+
var self=this;
|
1403
|
+
return self['@gsNumber'];
|
1404
|
+
return self;}
|
1405
|
+
}),
|
1406
|
+
smalltalk.MaglevException);
|
1407
|
+
|
1408
|
+
smalltalk.addMethod(
|
1409
|
+
unescape('_parseJSON_'),
|
1410
|
+
smalltalk.method({
|
1411
|
+
selector: unescape('parseJSON%3A'),
|
1412
|
+
fn: function (obj){
|
1413
|
+
var self=this;
|
1414
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
1415
|
+
(self['@gsTrappable']=smalltalk.send(obj, "_gsTrappable", []));
|
1416
|
+
(self['@gsResumable']=smalltalk.send(obj, "_gsResumable", []));
|
1417
|
+
(self['@gsNumber']=smalltalk.send(obj, "_at_", ["gsNumber"]));
|
1418
|
+
(self['@isDBEHalt']=smalltalk.send(obj, "_isDBEHalt", []));
|
1419
|
+
return self;}
|
1420
|
+
}),
|
1421
|
+
smalltalk.MaglevException);
|
1422
|
+
|
1423
|
+
smalltalk.addMethod(
|
1424
|
+
unescape('_parseJSONNotLoaded_'),
|
1425
|
+
smalltalk.method({
|
1426
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
1427
|
+
fn: function (obj){
|
1428
|
+
var self=this;
|
1429
|
+
smalltalk.send(self, "_parseJSONNotLoaded_", [obj], smalltalk.MaglevObject);
|
1430
|
+
(self['@gsTrappable']=smalltalk.send(obj, "_gsTrappable", []));
|
1431
|
+
(self['@gsResumable']=smalltalk.send(obj, "_gsResumable", []));
|
1432
|
+
(self['@gsNumber']=smalltalk.send(obj, "_at_", ["gsNumber"]));
|
1433
|
+
(self['@isDBEHalt']=smalltalk.send(obj, "_isDBEHalt", []));
|
1434
|
+
return self;}
|
1435
|
+
}),
|
1436
|
+
smalltalk.MaglevException);
|
1437
|
+
|
1438
|
+
|
1439
|
+
smalltalk.addMethod(
|
1440
|
+
unescape('_basetype'),
|
1441
|
+
smalltalk.method({
|
1442
|
+
selector: unescape('basetype'),
|
1443
|
+
fn: function (){
|
1444
|
+
var self=this;
|
1445
|
+
return smalltalk.symbolFor("exception");
|
1446
|
+
return self;}
|
1447
|
+
}),
|
1448
|
+
smalltalk.MaglevException.klass);
|
1449
|
+
|
1450
|
+
smalltalk.addMethod(
|
1451
|
+
unescape('_inlineViewClass'),
|
1452
|
+
smalltalk.method({
|
1453
|
+
selector: unescape('inlineViewClass'),
|
1454
|
+
fn: function (){
|
1455
|
+
var self=this;
|
1456
|
+
return (smalltalk.MaglevExceptionInline || MaglevExceptionInline);
|
1457
|
+
return self;}
|
1458
|
+
}),
|
1459
|
+
smalltalk.MaglevException.klass);
|
1460
|
+
|
1461
|
+
smalltalk.addMethod(
|
1462
|
+
unescape('_windowViewClass'),
|
1463
|
+
smalltalk.method({
|
1464
|
+
selector: unescape('windowViewClass'),
|
1465
|
+
fn: function (){
|
1466
|
+
var self=this;
|
1467
|
+
return (smalltalk.MaglevExceptionWindow || MaglevExceptionWindow);
|
1468
|
+
return self;}
|
1469
|
+
}),
|
1470
|
+
smalltalk.MaglevException.klass);
|
1471
|
+
|
1472
|
+
|
1473
|
+
smalltalk.addClass('MaglevFixnum', smalltalk.MaglevObject, [], 'Maglev-Core');
|
1474
|
+
smalltalk.addMethod(
|
1475
|
+
unescape('_number'),
|
1476
|
+
smalltalk.method({
|
1477
|
+
selector: unescape('number'),
|
1478
|
+
fn: function (){
|
1479
|
+
var self=this;
|
1480
|
+
return smalltalk.send(self['@inspection'], "_asNumber", []);
|
1481
|
+
return self;}
|
1482
|
+
}),
|
1483
|
+
smalltalk.MaglevFixnum);
|
1484
|
+
|
1485
|
+
|
1486
|
+
smalltalk.addMethod(
|
1487
|
+
unescape('_basetype'),
|
1488
|
+
smalltalk.method({
|
1489
|
+
selector: unescape('basetype'),
|
1490
|
+
fn: function (){
|
1491
|
+
var self=this;
|
1492
|
+
return smalltalk.symbolFor("fixnum");
|
1493
|
+
return self;}
|
1494
|
+
}),
|
1495
|
+
smalltalk.MaglevFixnum.klass);
|
1496
|
+
|
1497
|
+
smalltalk.addMethod(
|
1498
|
+
unescape('_inlineViewClass'),
|
1499
|
+
smalltalk.method({
|
1500
|
+
selector: unescape('inlineViewClass'),
|
1501
|
+
fn: function (){
|
1502
|
+
var self=this;
|
1503
|
+
return (smalltalk.MaglevFixnumInline || MaglevFixnumInline);
|
1504
|
+
return self;}
|
1505
|
+
}),
|
1506
|
+
smalltalk.MaglevFixnum.klass);
|
1507
|
+
|
1508
|
+
smalltalk.addMethod(
|
1509
|
+
unescape('_windowViewClass'),
|
1510
|
+
smalltalk.method({
|
1511
|
+
selector: unescape('windowViewClass'),
|
1512
|
+
fn: function (){
|
1513
|
+
var self=this;
|
1514
|
+
return (smalltalk.MaglevFixnumWindow || MaglevFixnumWindow);
|
1515
|
+
return self;}
|
1516
|
+
}),
|
1517
|
+
smalltalk.MaglevFixnum.klass);
|
1518
|
+
|
1519
|
+
|
1520
|
+
smalltalk.addClass('MaglevFloat', smalltalk.MaglevObject, [], 'Maglev-Core');
|
1521
|
+
smalltalk.addMethod(
|
1522
|
+
unescape('_number'),
|
1523
|
+
smalltalk.method({
|
1524
|
+
selector: unescape('number'),
|
1525
|
+
fn: function (){
|
1526
|
+
var self=this;
|
1527
|
+
return smalltalk.send(self['@inspection'], "_asNumber", []);
|
1528
|
+
return self;}
|
1529
|
+
}),
|
1530
|
+
smalltalk.MaglevFloat);
|
1531
|
+
|
1532
|
+
|
1533
|
+
smalltalk.addMethod(
|
1534
|
+
unescape('_basetype'),
|
1535
|
+
smalltalk.method({
|
1536
|
+
selector: unescape('basetype'),
|
1537
|
+
fn: function (){
|
1538
|
+
var self=this;
|
1539
|
+
return smalltalk.symbolFor("float");
|
1540
|
+
return self;}
|
1541
|
+
}),
|
1542
|
+
smalltalk.MaglevFloat.klass);
|
1543
|
+
|
1544
|
+
smalltalk.addMethod(
|
1545
|
+
unescape('_inlineViewClass'),
|
1546
|
+
smalltalk.method({
|
1547
|
+
selector: unescape('inlineViewClass'),
|
1548
|
+
fn: function (){
|
1549
|
+
var self=this;
|
1550
|
+
return (smalltalk.MaglevFloatInline || MaglevFloatInline);
|
1551
|
+
return self;}
|
1552
|
+
}),
|
1553
|
+
smalltalk.MaglevFloat.klass);
|
1554
|
+
|
1555
|
+
smalltalk.addMethod(
|
1556
|
+
unescape('_windowViewClass'),
|
1557
|
+
smalltalk.method({
|
1558
|
+
selector: unescape('windowViewClass'),
|
1559
|
+
fn: function (){
|
1560
|
+
var self=this;
|
1561
|
+
return (smalltalk.MaglevFloatWindow || MaglevFloatWindow);
|
1562
|
+
return self;}
|
1563
|
+
}),
|
1564
|
+
smalltalk.MaglevFloat.klass);
|
1565
|
+
|
1566
|
+
|
1567
|
+
smalltalk.addClass('MaglevGsNMethod', smalltalk.MaglevObject, ['selectorString', 'argsAndTemps', 'descrForStack'], 'Maglev-Core');
|
1568
|
+
smalltalk.addMethod(
|
1569
|
+
unescape('_argsAndTemps'),
|
1570
|
+
smalltalk.method({
|
1571
|
+
selector: unescape('argsAndTemps'),
|
1572
|
+
fn: function (){
|
1573
|
+
var self=this;
|
1574
|
+
return self['@argsAndTemps'];
|
1575
|
+
return self;}
|
1576
|
+
}),
|
1577
|
+
smalltalk.MaglevGsNMethod);
|
1578
|
+
|
1579
|
+
smalltalk.addMethod(
|
1580
|
+
unescape('_compileRubySourceCode_withCallback_'),
|
1581
|
+
smalltalk.method({
|
1582
|
+
selector: unescape('compileRubySourceCode%3AwithCallback%3A'),
|
1583
|
+
fn: function (sourceCode, aBlock){
|
1584
|
+
var self=this;
|
1585
|
+
smalltalk.send(smalltalk.send(self, "_inClass", []), "_evaluateWithoutUpdate_language_with_withCallback_", [sourceCode, "rubyClass", smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
1586
|
+
return self;}
|
1587
|
+
}),
|
1588
|
+
smalltalk.MaglevGsNMethod);
|
1589
|
+
|
1590
|
+
smalltalk.addMethod(
|
1591
|
+
unescape('_compileSmalltalkSourceCode_withCallback_'),
|
1592
|
+
smalltalk.method({
|
1593
|
+
selector: unescape('compileSmalltalkSourceCode%3AwithCallback%3A'),
|
1594
|
+
fn: function (sourceCode, aBlock){
|
1595
|
+
var self=this;
|
1596
|
+
smalltalk.send(smalltalk.send(self, "_inClass", []), "_evaluateWithoutUpdate_language_with_withCallback_", [smalltalk.send(smalltalk.send(unescape("self%20compile%3A%20%27"), "__comma", [smalltalk.send(sourceCode, "_escapedString", [])]), "__comma", [unescape("%27.")]), "smalltalk", smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
1597
|
+
return self;}
|
1598
|
+
}),
|
1599
|
+
smalltalk.MaglevGsNMethod);
|
1600
|
+
|
1601
|
+
smalltalk.addMethod(
|
1602
|
+
unescape('_debugInfo'),
|
1603
|
+
smalltalk.method({
|
1604
|
+
selector: unescape('debugInfo'),
|
1605
|
+
fn: function (){
|
1606
|
+
var self=this;
|
1607
|
+
return smalltalk.send(self, "_instVarAt_", [unescape("@_st_debugInfo")]);
|
1608
|
+
return self;}
|
1609
|
+
}),
|
1610
|
+
smalltalk.MaglevGsNMethod);
|
1611
|
+
|
1612
|
+
smalltalk.addMethod(
|
1613
|
+
unescape('_debugInfoFileNameOffset'),
|
1614
|
+
smalltalk.method({
|
1615
|
+
selector: unescape('debugInfoFileNameOffset'),
|
1616
|
+
fn: function (){
|
1617
|
+
var self=this;
|
1618
|
+
return (4);
|
1619
|
+
return self;}
|
1620
|
+
}),
|
1621
|
+
smalltalk.MaglevGsNMethod);
|
1622
|
+
|
1623
|
+
smalltalk.addMethod(
|
1624
|
+
unescape('_debugInfoSourceOffset'),
|
1625
|
+
smalltalk.method({
|
1626
|
+
selector: unescape('debugInfoSourceOffset'),
|
1627
|
+
fn: function (){
|
1628
|
+
var self=this;
|
1629
|
+
return (2);
|
1630
|
+
return self;}
|
1631
|
+
}),
|
1632
|
+
smalltalk.MaglevGsNMethod);
|
1633
|
+
|
1634
|
+
smalltalk.addMethod(
|
1635
|
+
unescape('_descrForStack'),
|
1636
|
+
smalltalk.method({
|
1637
|
+
selector: unescape('descrForStack'),
|
1638
|
+
fn: function (){
|
1639
|
+
var self=this;
|
1640
|
+
return self['@descrForStack'];
|
1641
|
+
return self;}
|
1642
|
+
}),
|
1643
|
+
smalltalk.MaglevGsNMethod);
|
1644
|
+
|
1645
|
+
smalltalk.addMethod(
|
1646
|
+
unescape('_environmentId'),
|
1647
|
+
smalltalk.method({
|
1648
|
+
selector: unescape('environmentId'),
|
1649
|
+
fn: function (){
|
1650
|
+
var self=this;
|
1651
|
+
return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_selector", []), "_number", []), "_bitShift_", [(0) - smalltalk.send(self, "_siSelectorIdEnvShift", [])]), "_bitAnd_", [smalltalk.send(self, "_selectorIdEnvMask", [])]);
|
1652
|
+
return self;}
|
1653
|
+
}),
|
1654
|
+
smalltalk.MaglevGsNMethod);
|
1655
|
+
|
1656
|
+
smalltalk.addMethod(
|
1657
|
+
unescape('_filename'),
|
1658
|
+
smalltalk.method({
|
1659
|
+
selector: unescape('filename'),
|
1660
|
+
fn: function (){
|
1661
|
+
var self=this;
|
1662
|
+
return smalltalk.send(smalltalk.send(self, "_debugInfo", []), "_at_", [smalltalk.send(self, "_debugInfoFileNameOffset", [])]);
|
1663
|
+
return self;}
|
1664
|
+
}),
|
1665
|
+
smalltalk.MaglevGsNMethod);
|
1666
|
+
|
1667
|
+
smalltalk.addMethod(
|
1668
|
+
unescape('_fullReloadWithCallback_'),
|
1669
|
+
smalltalk.method({
|
1670
|
+
selector: unescape('fullReloadWithCallback%3A'),
|
1671
|
+
fn: function (aBlock){
|
1672
|
+
var self=this;
|
1673
|
+
smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_reloadObject_withCallback_params_", [self['@oop'], aBlock, smalltalk.send(self, "_paramsFullString", [])]);
|
1674
|
+
return self;}
|
1675
|
+
}),
|
1676
|
+
smalltalk.MaglevGsNMethod);
|
1677
|
+
|
1678
|
+
smalltalk.addMethod(
|
1679
|
+
unescape('_inClass'),
|
1680
|
+
smalltalk.method({
|
1681
|
+
selector: unescape('inClass'),
|
1682
|
+
fn: function (){
|
1683
|
+
var self=this;
|
1684
|
+
return smalltalk.send(self, "_instVarAt_", [unescape("@_st_inClass")]);
|
1685
|
+
return self;}
|
1686
|
+
}),
|
1687
|
+
smalltalk.MaglevGsNMethod);
|
1688
|
+
|
1689
|
+
smalltalk.addMethod(
|
1690
|
+
unescape('_isGsNMethod'),
|
1691
|
+
smalltalk.method({
|
1692
|
+
selector: unescape('isGsNMethod'),
|
1693
|
+
fn: function (){
|
1694
|
+
var self=this;
|
1695
|
+
return true;
|
1696
|
+
return self;}
|
1697
|
+
}),
|
1698
|
+
smalltalk.MaglevGsNMethod);
|
1699
|
+
|
1700
|
+
smalltalk.addMethod(
|
1701
|
+
unescape('_parseJSON_'),
|
1702
|
+
smalltalk.method({
|
1703
|
+
selector: unescape('parseJSON%3A'),
|
1704
|
+
fn: function (obj){
|
1705
|
+
var self=this;
|
1706
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
1707
|
+
(self['@selectorString']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_selectorString", [])]));
|
1708
|
+
(self['@argsAndTemps']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_argsAndTemps", [])]));
|
1709
|
+
(self['@descrForStack']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_descrForStack", [])]));
|
1710
|
+
return self;}
|
1711
|
+
}),
|
1712
|
+
smalltalk.MaglevGsNMethod);
|
1713
|
+
|
1714
|
+
smalltalk.addMethod(
|
1715
|
+
unescape('_parseJSONNotLoaded_'),
|
1716
|
+
smalltalk.method({
|
1717
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
1718
|
+
fn: function (obj){
|
1719
|
+
var self=this;
|
1720
|
+
smalltalk.send(self, "_parseJSONNotLoaded_", [obj], smalltalk.MaglevObject);
|
1721
|
+
(self['@selectorString']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_selectorString", [])]));
|
1722
|
+
(self['@descrForStack']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_descrForStack", [])]));
|
1723
|
+
return self;}
|
1724
|
+
}),
|
1725
|
+
smalltalk.MaglevGsNMethod);
|
1726
|
+
|
1727
|
+
smalltalk.addMethod(
|
1728
|
+
unescape('_rubyFullName'),
|
1729
|
+
smalltalk.method({
|
1730
|
+
selector: unescape('rubyFullName'),
|
1731
|
+
fn: function (){
|
1732
|
+
var self=this;
|
1733
|
+
return "a GsNMethod";
|
1734
|
+
return self;}
|
1735
|
+
}),
|
1736
|
+
smalltalk.MaglevGsNMethod);
|
1737
|
+
|
1738
|
+
smalltalk.addMethod(
|
1739
|
+
unescape('_selector'),
|
1740
|
+
smalltalk.method({
|
1741
|
+
selector: unescape('selector'),
|
1742
|
+
fn: function (){
|
1743
|
+
var self=this;
|
1744
|
+
return smalltalk.send(self, "_instVarAt_", [unescape("@_st_selector")]);
|
1745
|
+
return self;}
|
1746
|
+
}),
|
1747
|
+
smalltalk.MaglevGsNMethod);
|
1748
|
+
|
1749
|
+
smalltalk.addMethod(
|
1750
|
+
unescape('_selectorIdEnvMask'),
|
1751
|
+
smalltalk.method({
|
1752
|
+
selector: unescape('selectorIdEnvMask'),
|
1753
|
+
fn: function (){
|
1754
|
+
var self=this;
|
1755
|
+
return (255);
|
1756
|
+
return self;}
|
1757
|
+
}),
|
1758
|
+
smalltalk.MaglevGsNMethod);
|
1759
|
+
|
1760
|
+
smalltalk.addMethod(
|
1761
|
+
unescape('_selectorString'),
|
1762
|
+
smalltalk.method({
|
1763
|
+
selector: unescape('selectorString'),
|
1764
|
+
fn: function (){
|
1765
|
+
var self=this;
|
1766
|
+
return self['@selectorString'];
|
1767
|
+
return self;}
|
1768
|
+
}),
|
1769
|
+
smalltalk.MaglevGsNMethod);
|
1770
|
+
|
1771
|
+
smalltalk.addMethod(
|
1772
|
+
unescape('_siSelectorIdEnvShift'),
|
1773
|
+
smalltalk.method({
|
1774
|
+
selector: unescape('siSelectorIdEnvShift'),
|
1775
|
+
fn: function (){
|
1776
|
+
var self=this;
|
1777
|
+
return (53);
|
1778
|
+
return self;}
|
1779
|
+
}),
|
1780
|
+
smalltalk.MaglevGsNMethod);
|
1781
|
+
|
1782
|
+
smalltalk.addMethod(
|
1783
|
+
unescape('_smalltalkFullName'),
|
1784
|
+
smalltalk.method({
|
1785
|
+
selector: unescape('smalltalkFullName'),
|
1786
|
+
fn: function (){
|
1787
|
+
var self=this;
|
1788
|
+
return "a GsNMethod";
|
1789
|
+
return self;}
|
1790
|
+
}),
|
1791
|
+
smalltalk.MaglevGsNMethod);
|
1792
|
+
|
1793
|
+
smalltalk.addMethod(
|
1794
|
+
unescape('_sourceString'),
|
1795
|
+
smalltalk.method({
|
1796
|
+
selector: unescape('sourceString'),
|
1797
|
+
fn: function (){
|
1798
|
+
var self=this;
|
1799
|
+
return smalltalk.send(smalltalk.send(smalltalk.send(self, "_debugInfo", []), "_at_", [smalltalk.send(self, "_debugInfoSourceOffset", [])]), "_string", []);
|
1800
|
+
return self;}
|
1801
|
+
}),
|
1802
|
+
smalltalk.MaglevGsNMethod);
|
1803
|
+
|
1804
|
+
|
1805
|
+
smalltalk.addMethod(
|
1806
|
+
unescape('_basetype'),
|
1807
|
+
smalltalk.method({
|
1808
|
+
selector: unescape('basetype'),
|
1809
|
+
fn: function (){
|
1810
|
+
var self=this;
|
1811
|
+
return smalltalk.symbolFor("gsnmethod");
|
1812
|
+
return self;}
|
1813
|
+
}),
|
1814
|
+
smalltalk.MaglevGsNMethod.klass);
|
1815
|
+
|
1816
|
+
|
1817
|
+
smalltalk.addClass('MaglevInvalidObject', smalltalk.MaglevObject, [], 'Maglev-Core');
|
1818
|
+
|
1819
|
+
smalltalk.MaglevInvalidObject.klass.iVarNames = ['instance'];
|
1820
|
+
smalltalk.addMethod(
|
1821
|
+
unescape('_instance'),
|
1822
|
+
smalltalk.method({
|
1823
|
+
selector: unescape('instance'),
|
1824
|
+
fn: function (){
|
1825
|
+
var self=this;
|
1826
|
+
(($receiver = self['@instance']) == nil || $receiver == undefined) ? (function(){return (self['@instance']=smalltalk.send(self, "_new", []));})() : $receiver;
|
1827
|
+
return self['@instance'];
|
1828
|
+
return self;}
|
1829
|
+
}),
|
1830
|
+
smalltalk.MaglevInvalidObject.klass);
|
1831
|
+
|
1832
|
+
|
1833
|
+
smalltalk.addClass('MaglevMaglevRecordBase', smalltalk.MaglevObject, ['attributes', 'attributesSize'], 'Maglev-Core');
|
1834
|
+
smalltalk.addMethod(
|
1835
|
+
unescape('_attributeAt_'),
|
1836
|
+
smalltalk.method({
|
1837
|
+
selector: unescape('attributeAt%3A'),
|
1838
|
+
fn: function (aString){
|
1839
|
+
var self=this;
|
1840
|
+
try{smalltalk.send(self['@attributes'], "_keysAndValuesDo_", [(function(index, iv){return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(iv, "_key", []), "_string", []), "__eq", [smalltalk.send(aString, "_asString", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_attributeAt_', fn: function(){return smalltalk.send(iv, "_value", [])}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_attributeAt_', fn: function(){return smalltalk.send(iv, "_value", [])}})})();})]));})]);
|
1841
|
+
smalltalk.send(self, "_error_", [smalltalk.send("attribute not found in forwarder object: ", "__comma", [aString])]);
|
1842
|
+
return self;
|
1843
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_attributeAt_'){return e.fn()} throw(e)}}
|
1844
|
+
}),
|
1845
|
+
smalltalk.MaglevMaglevRecordBase);
|
1846
|
+
|
1847
|
+
smalltalk.addMethod(
|
1848
|
+
unescape('_attributes'),
|
1849
|
+
smalltalk.method({
|
1850
|
+
selector: unescape('attributes'),
|
1851
|
+
fn: function (){
|
1852
|
+
var self=this;
|
1853
|
+
return self['@attributes'];
|
1854
|
+
return self;}
|
1855
|
+
}),
|
1856
|
+
smalltalk.MaglevMaglevRecordBase);
|
1857
|
+
|
1858
|
+
smalltalk.addMethod(
|
1859
|
+
unescape('_attributesSize'),
|
1860
|
+
smalltalk.method({
|
1861
|
+
selector: unescape('attributesSize'),
|
1862
|
+
fn: function (){
|
1863
|
+
var self=this;
|
1864
|
+
return self['@attributesSize'];
|
1865
|
+
return self;}
|
1866
|
+
}),
|
1867
|
+
smalltalk.MaglevMaglevRecordBase);
|
1868
|
+
|
1869
|
+
smalltalk.addMethod(
|
1870
|
+
unescape('_parseJSON_'),
|
1871
|
+
smalltalk.method({
|
1872
|
+
selector: unescape('parseJSON%3A'),
|
1873
|
+
fn: function (obj){
|
1874
|
+
var self=this;
|
1875
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
1876
|
+
(($receiver = smalltalk.send(obj, "_at_", ["attributes"])) != nil && $receiver != undefined) ? (function(){(($receiver = self['@attributes']) == nil || $receiver == undefined) ? (function(){return (self['@attributes']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;(self['@attributesSize']=smalltalk.send(obj, "_attributesSize", []));return smalltalk.send(smalltalk.send(obj, "_attributes", []), "_keysAndValuesDo_", [(function(index, assoc){var key=nil;
|
1877
|
+
var value=nil;
|
1878
|
+
(key=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(1)])]));(value=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(2)])]));return smalltalk.send(self['@attributes'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send(key, "__minus_gt", [value])]);})]);})() : nil;
|
1879
|
+
return self;}
|
1880
|
+
}),
|
1881
|
+
smalltalk.MaglevMaglevRecordBase);
|
1882
|
+
|
1883
|
+
|
1884
|
+
smalltalk.addMethod(
|
1885
|
+
unescape('_basetype'),
|
1886
|
+
smalltalk.method({
|
1887
|
+
selector: unescape('basetype'),
|
1888
|
+
fn: function (){
|
1889
|
+
var self=this;
|
1890
|
+
return smalltalk.symbolFor("maglevRecordBase");
|
1891
|
+
return self;}
|
1892
|
+
}),
|
1893
|
+
smalltalk.MaglevMaglevRecordBase.klass);
|
1894
|
+
|
1895
|
+
smalltalk.addMethod(
|
1896
|
+
unescape('_inlineViewClass'),
|
1897
|
+
smalltalk.method({
|
1898
|
+
selector: unescape('inlineViewClass'),
|
1899
|
+
fn: function (){
|
1900
|
+
var self=this;
|
1901
|
+
return (smalltalk.MaglevMaglevRecordBaseInline || MaglevMaglevRecordBaseInline);
|
1902
|
+
return self;}
|
1903
|
+
}),
|
1904
|
+
smalltalk.MaglevMaglevRecordBase.klass);
|
1905
|
+
|
1906
|
+
smalltalk.addMethod(
|
1907
|
+
unescape('_windowViewClass'),
|
1908
|
+
smalltalk.method({
|
1909
|
+
selector: unescape('windowViewClass'),
|
1910
|
+
fn: function (){
|
1911
|
+
var self=this;
|
1912
|
+
return (smalltalk.MaglevMaglevRecordBaseWindow || MaglevMaglevRecordBaseWindow);
|
1913
|
+
return self;}
|
1914
|
+
}),
|
1915
|
+
smalltalk.MaglevMaglevRecordBase.klass);
|
1916
|
+
|
1917
|
+
|
1918
|
+
smalltalk.addClass('MaglevModule', smalltalk.MaglevObject, ['includedModules', 'includedModulesSize', 'constants', 'constantsSize', 'rubyFullName', 'smalltalkFullName', 'superList'], 'Maglev-Core');
|
1919
|
+
smalltalk.addMethod(
|
1920
|
+
unescape('_allSelectorsWithCallback_'),
|
1921
|
+
smalltalk.method({
|
1922
|
+
selector: unescape('allSelectorsWithCallback%3A'),
|
1923
|
+
fn: function (aBlock){
|
1924
|
+
var self=this;
|
1925
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/selectors/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
1926
|
+
return self;}
|
1927
|
+
}),
|
1928
|
+
smalltalk.MaglevModule);
|
1929
|
+
|
1930
|
+
smalltalk.addMethod(
|
1931
|
+
unescape('_compileRubySourceCode_withCallback_'),
|
1932
|
+
smalltalk.method({
|
1933
|
+
selector: unescape('compileRubySourceCode%3AwithCallback%3A'),
|
1934
|
+
fn: function (sourceCode, aBlock){
|
1935
|
+
var self=this;
|
1936
|
+
smalltalk.send(self, "_evaluateWithoutUpdate_language_with_withCallback_", [sourceCode, "rubyClass", smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
1937
|
+
return self;}
|
1938
|
+
}),
|
1939
|
+
smalltalk.MaglevModule);
|
1940
|
+
|
1941
|
+
smalltalk.addMethod(
|
1942
|
+
unescape('_compileSmalltalkSourceCode_withCallback_'),
|
1943
|
+
smalltalk.method({
|
1944
|
+
selector: unescape('compileSmalltalkSourceCode%3AwithCallback%3A'),
|
1945
|
+
fn: function (sourceCode, aBlock){
|
1946
|
+
var self=this;
|
1947
|
+
smalltalk.send(self, "_evaluateWithoutUpdate_language_with_withCallback_", [smalltalk.send(smalltalk.send(unescape("self%20compile%3A%20%27"), "__comma", [smalltalk.send(sourceCode, "_escapedString", [])]), "__comma", [unescape("%27.")]), "smalltalk", smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
1948
|
+
return self;}
|
1949
|
+
}),
|
1950
|
+
smalltalk.MaglevModule);
|
1951
|
+
|
1952
|
+
smalltalk.addMethod(
|
1953
|
+
unescape('_constants'),
|
1954
|
+
smalltalk.method({
|
1955
|
+
selector: unescape('constants'),
|
1956
|
+
fn: function (){
|
1957
|
+
var self=this;
|
1958
|
+
return self['@constants'];
|
1959
|
+
return self;}
|
1960
|
+
}),
|
1961
|
+
smalltalk.MaglevModule);
|
1962
|
+
|
1963
|
+
smalltalk.addMethod(
|
1964
|
+
unescape('_constantsSize'),
|
1965
|
+
smalltalk.method({
|
1966
|
+
selector: unescape('constantsSize'),
|
1967
|
+
fn: function (){
|
1968
|
+
var self=this;
|
1969
|
+
return self['@constantsSize'];
|
1970
|
+
return self;}
|
1971
|
+
}),
|
1972
|
+
smalltalk.MaglevModule);
|
1973
|
+
|
1974
|
+
smalltalk.addMethod(
|
1975
|
+
unescape('_ensureSuperListLoadedWithCallback_'),
|
1976
|
+
smalltalk.method({
|
1977
|
+
selector: unescape('ensureSuperListLoadedWithCallback%3A'),
|
1978
|
+
fn: function (aBlock){
|
1979
|
+
var self=this;
|
1980
|
+
(($receiver = self['@superList']) == nil || $receiver == undefined) ? (function(){return smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(self, "_oop", [])]), smalltalk.send(self, "_paramsSuperList", []), (function(obj){smalltalk.send(self, "_parseJSON_", [obj]);return smalltalk.send(aBlock, "_value", []);})]);})() : (function(){return smalltalk.send(aBlock, "_value", []);})();
|
1981
|
+
return self;}
|
1982
|
+
}),
|
1983
|
+
smalltalk.MaglevModule);
|
1984
|
+
|
1985
|
+
smalltalk.addMethod(
|
1986
|
+
unescape('_hasConstants'),
|
1987
|
+
smalltalk.method({
|
1988
|
+
selector: unescape('hasConstants'),
|
1989
|
+
fn: function (){
|
1990
|
+
var self=this;
|
1991
|
+
return ((($receiver = smalltalk.send(self, "_constantsSize", [])).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]));
|
1992
|
+
return self;}
|
1993
|
+
}),
|
1994
|
+
smalltalk.MaglevModule);
|
1995
|
+
|
1996
|
+
smalltalk.addMethod(
|
1997
|
+
unescape('_hasIncludedModules'),
|
1998
|
+
smalltalk.method({
|
1999
|
+
selector: unescape('hasIncludedModules'),
|
2000
|
+
fn: function (){
|
2001
|
+
var self=this;
|
2002
|
+
return ((($receiver = smalltalk.send(self, "_includedModulesSize", [])).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]));
|
2003
|
+
return self;}
|
2004
|
+
}),
|
2005
|
+
smalltalk.MaglevModule);
|
2006
|
+
|
2007
|
+
smalltalk.addMethod(
|
2008
|
+
unescape('_includedModules'),
|
2009
|
+
smalltalk.method({
|
2010
|
+
selector: unescape('includedModules'),
|
2011
|
+
fn: function (){
|
2012
|
+
var self=this;
|
2013
|
+
return self['@includedModules'];
|
2014
|
+
return self;}
|
2015
|
+
}),
|
2016
|
+
smalltalk.MaglevModule);
|
2017
|
+
|
2018
|
+
smalltalk.addMethod(
|
2019
|
+
unescape('_includedModulesSize'),
|
2020
|
+
smalltalk.method({
|
2021
|
+
selector: unescape('includedModulesSize'),
|
2022
|
+
fn: function (){
|
2023
|
+
var self=this;
|
2024
|
+
return self['@includedModulesSize'];
|
2025
|
+
return self;}
|
2026
|
+
}),
|
2027
|
+
smalltalk.MaglevModule);
|
2028
|
+
|
2029
|
+
smalltalk.addMethod(
|
2030
|
+
unescape('_paramsSuperList'),
|
2031
|
+
smalltalk.method({
|
2032
|
+
selector: unescape('paramsSuperList'),
|
2033
|
+
fn: function (){
|
2034
|
+
var self=this;
|
2035
|
+
return (function($rec){smalltalk.send($rec, "_at_put_", ["superList", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
2036
|
+
return self;}
|
2037
|
+
}),
|
2038
|
+
smalltalk.MaglevModule);
|
2039
|
+
|
2040
|
+
smalltalk.addMethod(
|
2041
|
+
unescape('_parseJSON_'),
|
2042
|
+
smalltalk.method({
|
2043
|
+
selector: unescape('parseJSON%3A'),
|
2044
|
+
fn: function (obj){
|
2045
|
+
var self=this;
|
2046
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
2047
|
+
(($receiver = self['@includedModules']) == nil || $receiver == undefined) ? (function(){return (self['@includedModules']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
|
2048
|
+
(($receiver = self['@constants']) == nil || $receiver == undefined) ? (function(){return (self['@constants']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
|
2049
|
+
(($receiver = smalltalk.send(obj, "_at_", ["includedModulesSize"])) != nil && $receiver != undefined) ? (function(){(self['@includedModulesSize']=smalltalk.send(obj, "_includedModulesSize", []));return smalltalk.send(smalltalk.send(obj, "_includedModules", []), "_keysAndValuesDo_", [(function(index, value){return smalltalk.send(self['@includedModules'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [value])]);})]);})() : nil;
|
2050
|
+
(($receiver = smalltalk.send(obj, "_at_", ["constantsSize"])) != nil && $receiver != undefined) ? (function(){(self['@constantsSize']=smalltalk.send(obj, "_constantsSize", []));return smalltalk.send(smalltalk.send(obj, "_constants", []), "_keysAndValuesDo_", [(function(index, assoc){var key=nil;
|
2051
|
+
var value=nil;
|
2052
|
+
(key=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(1)])]));(value=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(assoc, "_at_", [(2)])]));return smalltalk.send(self['@constants'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send(key, "__minus_gt", [value])]);})]);})() : nil;
|
2053
|
+
(($receiver = smalltalk.send(obj, "_at_", ["superList"])) != nil && $receiver != undefined) ? (function(){return (self['@superList']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_superList", [])]));})() : nil;
|
2054
|
+
(($receiver = smalltalk.send(obj, "_at_", ["rubyFullName"])) != nil && $receiver != undefined) ? (function(){(self['@rubyFullName']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_rubyFullName", [])]));return (self['@smalltalkFullName']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_smalltalkFullName", [])]));})() : nil;
|
2055
|
+
return self;}
|
2056
|
+
}),
|
2057
|
+
smalltalk.MaglevModule);
|
2058
|
+
|
2059
|
+
smalltalk.addMethod(
|
2060
|
+
unescape('_parseJSONNotLoaded_'),
|
2061
|
+
smalltalk.method({
|
2062
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
2063
|
+
fn: function (obj){
|
2064
|
+
var self=this;
|
2065
|
+
smalltalk.send(self, "_parseJSONNotLoaded_", [obj], smalltalk.MaglevObject);
|
2066
|
+
return self;}
|
2067
|
+
}),
|
2068
|
+
smalltalk.MaglevModule);
|
2069
|
+
|
2070
|
+
smalltalk.addMethod(
|
2071
|
+
unescape('_rubyFullName'),
|
2072
|
+
smalltalk.method({
|
2073
|
+
selector: unescape('rubyFullName'),
|
2074
|
+
fn: function (){
|
2075
|
+
var self=this;
|
2076
|
+
return smalltalk.send(self['@rubyFullName'], "_string", []);
|
2077
|
+
return self;}
|
2078
|
+
}),
|
2079
|
+
smalltalk.MaglevModule);
|
2080
|
+
|
2081
|
+
smalltalk.addMethod(
|
2082
|
+
unescape('_smalltalkFullName'),
|
2083
|
+
smalltalk.method({
|
2084
|
+
selector: unescape('smalltalkFullName'),
|
2085
|
+
fn: function (){
|
2086
|
+
var self=this;
|
2087
|
+
return smalltalk.send(self['@smalltalkFullName'], "_string", []);
|
2088
|
+
return self;}
|
2089
|
+
}),
|
2090
|
+
smalltalk.MaglevModule);
|
2091
|
+
|
2092
|
+
smalltalk.addMethod(
|
2093
|
+
unescape('_sourceCodeFor_language_withCallback_'),
|
2094
|
+
smalltalk.method({
|
2095
|
+
selector: unescape('sourceCodeFor%3Alanguage%3AwithCallback%3A'),
|
2096
|
+
fn: function (selectorString, lang, aBlock){
|
2097
|
+
var self=this;
|
2098
|
+
var params=nil;
|
2099
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["language", lang]);smalltalk.send($rec, "_at_put_", ["selector", selectorString]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
2100
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/code/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, aBlock]);
|
2101
|
+
return self;}
|
2102
|
+
}),
|
2103
|
+
smalltalk.MaglevModule);
|
2104
|
+
|
2105
|
+
smalltalk.addMethod(
|
2106
|
+
unescape('_superList'),
|
2107
|
+
smalltalk.method({
|
2108
|
+
selector: unescape('superList'),
|
2109
|
+
fn: function (){
|
2110
|
+
var self=this;
|
2111
|
+
return self['@superList'];
|
2112
|
+
return self;}
|
2113
|
+
}),
|
2114
|
+
smalltalk.MaglevModule);
|
2115
|
+
|
2116
|
+
|
2117
|
+
smalltalk.addMethod(
|
2118
|
+
unescape('_basetype'),
|
2119
|
+
smalltalk.method({
|
2120
|
+
selector: unescape('basetype'),
|
2121
|
+
fn: function (){
|
2122
|
+
var self=this;
|
2123
|
+
return smalltalk.symbolFor("module");
|
2124
|
+
return self;}
|
2125
|
+
}),
|
2126
|
+
smalltalk.MaglevModule.klass);
|
2127
|
+
|
2128
|
+
smalltalk.addMethod(
|
2129
|
+
unescape('_inlineViewClass'),
|
2130
|
+
smalltalk.method({
|
2131
|
+
selector: unescape('inlineViewClass'),
|
2132
|
+
fn: function (){
|
2133
|
+
var self=this;
|
2134
|
+
return (smalltalk.MaglevModuleInline || MaglevModuleInline);
|
2135
|
+
return self;}
|
2136
|
+
}),
|
2137
|
+
smalltalk.MaglevModule.klass);
|
2138
|
+
|
2139
|
+
smalltalk.addMethod(
|
2140
|
+
unescape('_windowViewClass'),
|
2141
|
+
smalltalk.method({
|
2142
|
+
selector: unescape('windowViewClass'),
|
2143
|
+
fn: function (){
|
2144
|
+
var self=this;
|
2145
|
+
return (smalltalk.MaglevModuleWindow || MaglevModuleWindow);
|
2146
|
+
return self;}
|
2147
|
+
}),
|
2148
|
+
smalltalk.MaglevModule.klass);
|
2149
|
+
|
2150
|
+
|
2151
|
+
smalltalk.addClass('MaglevClass', smalltalk.MaglevModule, ['superclassObject', 'size', 'subclasses', 'instances', 'instancesSize'], 'Maglev-Core');
|
2152
|
+
smalltalk.addMethod(
|
2153
|
+
unescape('_ensureSubclassesLoadedWithCallback_'),
|
2154
|
+
smalltalk.method({
|
2155
|
+
selector: unescape('ensureSubclassesLoadedWithCallback%3A'),
|
2156
|
+
fn: function (aBlock){
|
2157
|
+
var self=this;
|
2158
|
+
(($receiver = self['@subclasses']) == nil || $receiver == undefined) ? (function(){return smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(self, "_oop", [])]), smalltalk.send(self, "_paramsSubclasses", []), (function(obj){smalltalk.send(self, "_parseJSON_", [obj]);return smalltalk.send(aBlock, "_value", []);})]);})() : (function(){return smalltalk.send(aBlock, "_value", []);})();
|
2159
|
+
return self;}
|
2160
|
+
}),
|
2161
|
+
smalltalk.MaglevClass);
|
2162
|
+
|
2163
|
+
smalltalk.addMethod(
|
2164
|
+
unescape('_instances'),
|
2165
|
+
smalltalk.method({
|
2166
|
+
selector: unescape('instances'),
|
2167
|
+
fn: function (){
|
2168
|
+
var self=this;
|
2169
|
+
return self['@instances'];
|
2170
|
+
return self;}
|
2171
|
+
}),
|
2172
|
+
smalltalk.MaglevClass);
|
2173
|
+
|
2174
|
+
smalltalk.addMethod(
|
2175
|
+
unescape('_instancesSize'),
|
2176
|
+
smalltalk.method({
|
2177
|
+
selector: unescape('instancesSize'),
|
2178
|
+
fn: function (){
|
2179
|
+
var self=this;
|
2180
|
+
return self['@instancesSize'];
|
2181
|
+
return self;}
|
2182
|
+
}),
|
2183
|
+
smalltalk.MaglevClass);
|
2184
|
+
|
2185
|
+
smalltalk.addMethod(
|
2186
|
+
unescape('_loadInstancesFrom_to_withCallback_'),
|
2187
|
+
smalltalk.method({
|
2188
|
+
selector: unescape('loadInstancesFrom%3Ato%3AwithCallback%3A'),
|
2189
|
+
fn: function (from, to, aBlock){
|
2190
|
+
var self=this;
|
2191
|
+
var params=nil;
|
2192
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["range_instances_from", from]);smalltalk.send($rec, "_at_put_", ["range_instances_to", to]);smalltalk.send($rec, "_at_put_", ["instances", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
2193
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(self, "_oop", [])]), params, (function(obj){return smalltalk.send(aBlock, "_value_", [smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObjectWithoutUpdate_", [obj])]);})]);
|
2194
|
+
return self;}
|
2195
|
+
}),
|
2196
|
+
smalltalk.MaglevClass);
|
2197
|
+
|
2198
|
+
smalltalk.addMethod(
|
2199
|
+
unescape('_paramsSubclasses'),
|
2200
|
+
smalltalk.method({
|
2201
|
+
selector: unescape('paramsSubclasses'),
|
2202
|
+
fn: function (){
|
2203
|
+
var self=this;
|
2204
|
+
return (function($rec){smalltalk.send($rec, "_at_put_", ["subclasses", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
2205
|
+
return self;}
|
2206
|
+
}),
|
2207
|
+
smalltalk.MaglevClass);
|
2208
|
+
|
2209
|
+
smalltalk.addMethod(
|
2210
|
+
unescape('_parseJSON_'),
|
2211
|
+
smalltalk.method({
|
2212
|
+
selector: unescape('parseJSON%3A'),
|
2213
|
+
fn: function (obj){
|
2214
|
+
var self=this;
|
2215
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevModule);
|
2216
|
+
(($receiver = smalltalk.send(obj, "_at_", ["superclassObject"])) != nil && $receiver != undefined) ? (function(){return (self['@superclassObject']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_superclassObject", [])]));})() : nil;
|
2217
|
+
(($receiver = smalltalk.send(obj, "_at_", ["subclasses"])) != nil && $receiver != undefined) ? (function(){return (self['@subclasses']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_subclasses", [])]));})() : nil;
|
2218
|
+
(($receiver = smalltalk.send(obj, "_at_", ["instancesSize"])) != nil && $receiver != undefined) ? (function(){(($receiver = self['@instances']) == nil || $receiver == undefined) ? (function(){return (self['@instances']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;(self['@instancesSize']=smalltalk.send(obj, "_instancesSize", []));return smalltalk.send(smalltalk.send(obj, "_instances", []), "_keysAndValuesDo_", [(function(index, element){return smalltalk.send(self['@instances'], "_at_put_", [smalltalk.send(index, "_asNumber", []), smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [element])]);})]);})() : nil;
|
2219
|
+
return self;}
|
2220
|
+
}),
|
2221
|
+
smalltalk.MaglevClass);
|
2222
|
+
|
2223
|
+
smalltalk.addMethod(
|
2224
|
+
unescape('_subclasses'),
|
2225
|
+
smalltalk.method({
|
2226
|
+
selector: unescape('subclasses'),
|
2227
|
+
fn: function (){
|
2228
|
+
var self=this;
|
2229
|
+
return self['@subclasses'];
|
2230
|
+
return self;}
|
2231
|
+
}),
|
2232
|
+
smalltalk.MaglevClass);
|
2233
|
+
|
2234
|
+
smalltalk.addMethod(
|
2235
|
+
unescape('_superclassObject'),
|
2236
|
+
smalltalk.method({
|
2237
|
+
selector: unescape('superclassObject'),
|
2238
|
+
fn: function (){
|
2239
|
+
var self=this;
|
2240
|
+
return self['@superclassObject'];
|
2241
|
+
return self;}
|
2242
|
+
}),
|
2243
|
+
smalltalk.MaglevClass);
|
2244
|
+
|
2245
|
+
|
2246
|
+
smalltalk.addMethod(
|
2247
|
+
unescape('_basetype'),
|
2248
|
+
smalltalk.method({
|
2249
|
+
selector: unescape('basetype'),
|
2250
|
+
fn: function (){
|
2251
|
+
var self=this;
|
2252
|
+
return smalltalk.symbolFor("class");
|
2253
|
+
return self;}
|
2254
|
+
}),
|
2255
|
+
smalltalk.MaglevClass.klass);
|
2256
|
+
|
2257
|
+
smalltalk.addMethod(
|
2258
|
+
unescape('_inlineViewClass'),
|
2259
|
+
smalltalk.method({
|
2260
|
+
selector: unescape('inlineViewClass'),
|
2261
|
+
fn: function (){
|
2262
|
+
var self=this;
|
2263
|
+
return (smalltalk.MaglevClassInline || MaglevClassInline);
|
2264
|
+
return self;}
|
2265
|
+
}),
|
2266
|
+
smalltalk.MaglevClass.klass);
|
2267
|
+
|
2268
|
+
smalltalk.addMethod(
|
2269
|
+
unescape('_windowViewClass'),
|
2270
|
+
smalltalk.method({
|
2271
|
+
selector: unescape('windowViewClass'),
|
2272
|
+
fn: function (){
|
2273
|
+
var self=this;
|
2274
|
+
return (smalltalk.MaglevClassWindow || MaglevClassWindow);
|
2275
|
+
return self;}
|
2276
|
+
}),
|
2277
|
+
smalltalk.MaglevClass.klass);
|
2278
|
+
|
2279
|
+
|
2280
|
+
smalltalk.addClass('MaglevSystemClass', smalltalk.MaglevClass, ['gemVersionReport', 'gemVersionReportSize', 'stoneVersionReport', 'stoneVersionReportSize'], 'Maglev-Core');
|
2281
|
+
smalltalk.addMethod(
|
2282
|
+
unescape('_gemVersionReport'),
|
2283
|
+
smalltalk.method({
|
2284
|
+
selector: unescape('gemVersionReport'),
|
2285
|
+
fn: function (){
|
2286
|
+
var self=this;
|
2287
|
+
return self['@gemVersionReport'];
|
2288
|
+
return self;}
|
2289
|
+
}),
|
2290
|
+
smalltalk.MaglevSystemClass);
|
2291
|
+
|
2292
|
+
smalltalk.addMethod(
|
2293
|
+
unescape('_gemVersionReportSize'),
|
2294
|
+
smalltalk.method({
|
2295
|
+
selector: unescape('gemVersionReportSize'),
|
2296
|
+
fn: function (){
|
2297
|
+
var self=this;
|
2298
|
+
return self['@gemVersionReportSize'];
|
2299
|
+
return self;}
|
2300
|
+
}),
|
2301
|
+
smalltalk.MaglevSystemClass);
|
2302
|
+
|
2303
|
+
smalltalk.addMethod(
|
2304
|
+
unescape('_parseJSON_'),
|
2305
|
+
smalltalk.method({
|
2306
|
+
selector: unescape('parseJSON%3A'),
|
2307
|
+
fn: function (obj){
|
2308
|
+
var self=this;
|
2309
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevClass);
|
2310
|
+
(self['@gemVersionReport']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_gemVersionReport", [])]));
|
2311
|
+
(self['@gemVersionReportSize']=smalltalk.send(obj, "_gemVersionReportSize", []));
|
2312
|
+
(self['@stoneVersionReport']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_stoneVersionReport", [])]));
|
2313
|
+
(self['@stoneVersionReportSize']=smalltalk.send(obj, "_stoneVersionReportSize", []));
|
2314
|
+
return self;}
|
2315
|
+
}),
|
2316
|
+
smalltalk.MaglevSystemClass);
|
2317
|
+
|
2318
|
+
smalltalk.addMethod(
|
2319
|
+
unescape('_stoneVersionReport'),
|
2320
|
+
smalltalk.method({
|
2321
|
+
selector: unescape('stoneVersionReport'),
|
2322
|
+
fn: function (){
|
2323
|
+
var self=this;
|
2324
|
+
return self['@stoneVersionReport'];
|
2325
|
+
return self;}
|
2326
|
+
}),
|
2327
|
+
smalltalk.MaglevSystemClass);
|
2328
|
+
|
2329
|
+
smalltalk.addMethod(
|
2330
|
+
unescape('_stoneVersionReportSize'),
|
2331
|
+
smalltalk.method({
|
2332
|
+
selector: unescape('stoneVersionReportSize'),
|
2333
|
+
fn: function (){
|
2334
|
+
var self=this;
|
2335
|
+
return self['@stoneVersionReportSize'];
|
2336
|
+
return self;}
|
2337
|
+
}),
|
2338
|
+
smalltalk.MaglevSystemClass);
|
2339
|
+
|
2340
|
+
|
2341
|
+
smalltalk.addMethod(
|
2342
|
+
unescape('_basetype'),
|
2343
|
+
smalltalk.method({
|
2344
|
+
selector: unescape('basetype'),
|
2345
|
+
fn: function (){
|
2346
|
+
var self=this;
|
2347
|
+
return smalltalk.symbolFor("systemClass");
|
2348
|
+
return self;}
|
2349
|
+
}),
|
2350
|
+
smalltalk.MaglevSystemClass.klass);
|
2351
|
+
|
2352
|
+
smalltalk.addMethod(
|
2353
|
+
unescape('_windowViewClass'),
|
2354
|
+
smalltalk.method({
|
2355
|
+
selector: unescape('windowViewClass'),
|
2356
|
+
fn: function (){
|
2357
|
+
var self=this;
|
2358
|
+
return (smalltalk.MaglevSystemClassWindow || MaglevSystemClassWindow);
|
2359
|
+
return self;}
|
2360
|
+
}),
|
2361
|
+
smalltalk.MaglevSystemClass.klass);
|
2362
|
+
|
2363
|
+
|
2364
|
+
smalltalk.addClass('MaglevNilClass', smalltalk.MaglevObject, [], 'Maglev-Core');
|
2365
|
+
smalltalk.addMethod(
|
2366
|
+
unescape('_ifNotMaglevNil_'),
|
2367
|
+
smalltalk.method({
|
2368
|
+
selector: unescape('ifNotMaglevNil%3A'),
|
2369
|
+
fn: function (aBlock){
|
2370
|
+
var self=this;
|
2371
|
+
return self;
|
2372
|
+
return self;}
|
2373
|
+
}),
|
2374
|
+
smalltalk.MaglevNilClass);
|
2375
|
+
|
2376
|
+
smalltalk.addMethod(
|
2377
|
+
unescape('_isMaglevNil'),
|
2378
|
+
smalltalk.method({
|
2379
|
+
selector: unescape('isMaglevNil'),
|
2380
|
+
fn: function (){
|
2381
|
+
var self=this;
|
2382
|
+
return true;
|
2383
|
+
return self;}
|
2384
|
+
}),
|
2385
|
+
smalltalk.MaglevNilClass);
|
2386
|
+
|
2387
|
+
smalltalk.addMethod(
|
2388
|
+
unescape('_string'),
|
2389
|
+
smalltalk.method({
|
2390
|
+
selector: unescape('string'),
|
2391
|
+
fn: function (){
|
2392
|
+
var self=this;
|
2393
|
+
return unescape("%28nil%29");
|
2394
|
+
return self;}
|
2395
|
+
}),
|
2396
|
+
smalltalk.MaglevNilClass);
|
2397
|
+
|
2398
|
+
|
2399
|
+
smalltalk.MaglevNilClass.klass.iVarNames = ['instance'];
|
2400
|
+
smalltalk.addMethod(
|
2401
|
+
unescape('_basetype'),
|
2402
|
+
smalltalk.method({
|
2403
|
+
selector: unescape('basetype'),
|
2404
|
+
fn: function (){
|
2405
|
+
var self=this;
|
2406
|
+
return smalltalk.symbolFor("nilclass");
|
2407
|
+
return self;}
|
2408
|
+
}),
|
2409
|
+
smalltalk.MaglevNilClass.klass);
|
2410
|
+
|
2411
|
+
smalltalk.addMethod(
|
2412
|
+
unescape('_inlineViewClass'),
|
2413
|
+
smalltalk.method({
|
2414
|
+
selector: unescape('inlineViewClass'),
|
2415
|
+
fn: function (){
|
2416
|
+
var self=this;
|
2417
|
+
return (smalltalk.MaglevNilClassInline || MaglevNilClassInline);
|
2418
|
+
return self;}
|
2419
|
+
}),
|
2420
|
+
smalltalk.MaglevNilClass.klass);
|
2421
|
+
|
2422
|
+
smalltalk.addMethod(
|
2423
|
+
unescape('_instance'),
|
2424
|
+
smalltalk.method({
|
2425
|
+
selector: unescape('instance'),
|
2426
|
+
fn: function (){
|
2427
|
+
var self=this;
|
2428
|
+
(($receiver = self['@instance']) == nil || $receiver == undefined) ? (function(){return (self['@instance']=smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_reloadObject_", [(20)]));})() : $receiver;
|
2429
|
+
return self['@instance'];
|
2430
|
+
return self;}
|
2431
|
+
}),
|
2432
|
+
smalltalk.MaglevNilClass.klass);
|
2433
|
+
|
2434
|
+
smalltalk.addMethod(
|
2435
|
+
unescape('_windowViewClass'),
|
2436
|
+
smalltalk.method({
|
2437
|
+
selector: unescape('windowViewClass'),
|
2438
|
+
fn: function (){
|
2439
|
+
var self=this;
|
2440
|
+
return (smalltalk.MaglevNilClassWindow || MaglevNilClassWindow);
|
2441
|
+
return self;}
|
2442
|
+
}),
|
2443
|
+
smalltalk.MaglevNilClass.klass);
|
2444
|
+
|
2445
|
+
|
2446
|
+
smalltalk.addClass('MaglevRubyWorkspace', smalltalk.MaglevObject, [], 'Maglev-Core');
|
2447
|
+
|
2448
|
+
smalltalk.addMethod(
|
2449
|
+
unescape('_basetype'),
|
2450
|
+
smalltalk.method({
|
2451
|
+
selector: unescape('basetype'),
|
2452
|
+
fn: function (){
|
2453
|
+
var self=this;
|
2454
|
+
return smalltalk.symbolFor("rubyWorkspace");
|
2455
|
+
return self;}
|
2456
|
+
}),
|
2457
|
+
smalltalk.MaglevRubyWorkspace.klass);
|
2458
|
+
|
2459
|
+
smalltalk.addMethod(
|
2460
|
+
unescape('_inlineViewClass'),
|
2461
|
+
smalltalk.method({
|
2462
|
+
selector: unescape('inlineViewClass'),
|
2463
|
+
fn: function (){
|
2464
|
+
var self=this;
|
2465
|
+
return (smalltalk.MaglevRubyWorkspaceInline || MaglevRubyWorkspaceInline);
|
2466
|
+
return self;}
|
2467
|
+
}),
|
2468
|
+
smalltalk.MaglevRubyWorkspace.klass);
|
2469
|
+
|
2470
|
+
smalltalk.addMethod(
|
2471
|
+
unescape('_windowViewClass'),
|
2472
|
+
smalltalk.method({
|
2473
|
+
selector: unescape('windowViewClass'),
|
2474
|
+
fn: function (){
|
2475
|
+
var self=this;
|
2476
|
+
return (smalltalk.MaglevRubyWorkspaceWindow || MaglevRubyWorkspaceWindow);
|
2477
|
+
return self;}
|
2478
|
+
}),
|
2479
|
+
smalltalk.MaglevRubyWorkspace.klass);
|
2480
|
+
|
2481
|
+
|
2482
|
+
smalltalk.addClass('MaglevString', smalltalk.MaglevObject, ['string', 'isStringComplete'], 'Maglev-Core');
|
2483
|
+
smalltalk.addMethod(
|
2484
|
+
unescape('_parseJSON_'),
|
2485
|
+
smalltalk.method({
|
2486
|
+
selector: unescape('parseJSON%3A'),
|
2487
|
+
fn: function (obj){
|
2488
|
+
var self=this;
|
2489
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
2490
|
+
(self['@string']=smalltalk.send(obj, "_string", []));
|
2491
|
+
(self['@isStringComplete']=smalltalk.send(obj, "_stringComplete", []));
|
2492
|
+
return self;}
|
2493
|
+
}),
|
2494
|
+
smalltalk.MaglevString);
|
2495
|
+
|
2496
|
+
smalltalk.addMethod(
|
2497
|
+
unescape('_parseJSONNotLoaded_'),
|
2498
|
+
smalltalk.method({
|
2499
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
2500
|
+
fn: function (obj){
|
2501
|
+
var self=this;
|
2502
|
+
smalltalk.send(self, "_parseJSONNotLoaded_", [obj], smalltalk.MaglevObject);
|
2503
|
+
(self['@string']=smalltalk.send(obj, "_string", []));
|
2504
|
+
(self['@isStringComplete']=smalltalk.send(obj, "_stringComplete", []));
|
2505
|
+
return self;}
|
2506
|
+
}),
|
2507
|
+
smalltalk.MaglevString);
|
2508
|
+
|
2509
|
+
smalltalk.addMethod(
|
2510
|
+
unescape('_string'),
|
2511
|
+
smalltalk.method({
|
2512
|
+
selector: unescape('string'),
|
2513
|
+
fn: function (){
|
2514
|
+
var self=this;
|
2515
|
+
return self['@string'];
|
2516
|
+
return self;}
|
2517
|
+
}),
|
2518
|
+
smalltalk.MaglevString);
|
2519
|
+
|
2520
|
+
|
2521
|
+
smalltalk.addMethod(
|
2522
|
+
unescape('_basetype'),
|
2523
|
+
smalltalk.method({
|
2524
|
+
selector: unescape('basetype'),
|
2525
|
+
fn: function (){
|
2526
|
+
var self=this;
|
2527
|
+
return smalltalk.symbolFor("string");
|
2528
|
+
return self;}
|
2529
|
+
}),
|
2530
|
+
smalltalk.MaglevString.klass);
|
2531
|
+
|
2532
|
+
smalltalk.addMethod(
|
2533
|
+
unescape('_inlineViewClass'),
|
2534
|
+
smalltalk.method({
|
2535
|
+
selector: unescape('inlineViewClass'),
|
2536
|
+
fn: function (){
|
2537
|
+
var self=this;
|
2538
|
+
return (smalltalk.MaglevStringInline || MaglevStringInline);
|
2539
|
+
return self;}
|
2540
|
+
}),
|
2541
|
+
smalltalk.MaglevString.klass);
|
2542
|
+
|
2543
|
+
smalltalk.addMethod(
|
2544
|
+
unescape('_windowViewClass'),
|
2545
|
+
smalltalk.method({
|
2546
|
+
selector: unescape('windowViewClass'),
|
2547
|
+
fn: function (){
|
2548
|
+
var self=this;
|
2549
|
+
return (smalltalk.MaglevStringWindow || MaglevStringWindow);
|
2550
|
+
return self;}
|
2551
|
+
}),
|
2552
|
+
smalltalk.MaglevString.klass);
|
2553
|
+
|
2554
|
+
|
2555
|
+
smalltalk.addClass('MaglevSymbol', smalltalk.MaglevObject, ['string', 'isStringComplete'], 'Maglev-Core');
|
2556
|
+
smalltalk.addMethod(
|
2557
|
+
unescape('_parseJSON_'),
|
2558
|
+
smalltalk.method({
|
2559
|
+
selector: unescape('parseJSON%3A'),
|
2560
|
+
fn: function (obj){
|
2561
|
+
var self=this;
|
2562
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
2563
|
+
(self['@string']=smalltalk.send(obj, "_string", []));
|
2564
|
+
(self['@isStringComplete']=smalltalk.send(obj, "_stringComplete", []));
|
2565
|
+
return self;}
|
2566
|
+
}),
|
2567
|
+
smalltalk.MaglevSymbol);
|
2568
|
+
|
2569
|
+
smalltalk.addMethod(
|
2570
|
+
unescape('_parseJSONNotLoaded_'),
|
2571
|
+
smalltalk.method({
|
2572
|
+
selector: unescape('parseJSONNotLoaded%3A'),
|
2573
|
+
fn: function (obj){
|
2574
|
+
var self=this;
|
2575
|
+
smalltalk.send(self, "_parseJSONNotLoaded_", [obj], smalltalk.MaglevObject);
|
2576
|
+
(self['@string']=smalltalk.send(obj, "_string", []));
|
2577
|
+
(self['@isStringComplete']=smalltalk.send(obj, "_stringComplete", []));
|
2578
|
+
return self;}
|
2579
|
+
}),
|
2580
|
+
smalltalk.MaglevSymbol);
|
2581
|
+
|
2582
|
+
smalltalk.addMethod(
|
2583
|
+
unescape('_string'),
|
2584
|
+
smalltalk.method({
|
2585
|
+
selector: unescape('string'),
|
2586
|
+
fn: function (){
|
2587
|
+
var self=this;
|
2588
|
+
return self['@string'];
|
2589
|
+
return self;}
|
2590
|
+
}),
|
2591
|
+
smalltalk.MaglevSymbol);
|
2592
|
+
|
2593
|
+
|
2594
|
+
smalltalk.addMethod(
|
2595
|
+
unescape('_basetype'),
|
2596
|
+
smalltalk.method({
|
2597
|
+
selector: unescape('basetype'),
|
2598
|
+
fn: function (){
|
2599
|
+
var self=this;
|
2600
|
+
return smalltalk.symbolFor("symbol");
|
2601
|
+
return self;}
|
2602
|
+
}),
|
2603
|
+
smalltalk.MaglevSymbol.klass);
|
2604
|
+
|
2605
|
+
smalltalk.addMethod(
|
2606
|
+
unescape('_inlineViewClass'),
|
2607
|
+
smalltalk.method({
|
2608
|
+
selector: unescape('inlineViewClass'),
|
2609
|
+
fn: function (){
|
2610
|
+
var self=this;
|
2611
|
+
return (smalltalk.MaglevSymbolInline || MaglevSymbolInline);
|
2612
|
+
return self;}
|
2613
|
+
}),
|
2614
|
+
smalltalk.MaglevSymbol.klass);
|
2615
|
+
|
2616
|
+
smalltalk.addMethod(
|
2617
|
+
unescape('_windowViewClass'),
|
2618
|
+
smalltalk.method({
|
2619
|
+
selector: unescape('windowViewClass'),
|
2620
|
+
fn: function (){
|
2621
|
+
var self=this;
|
2622
|
+
return (smalltalk.MaglevSymbolWindow || MaglevSymbolWindow);
|
2623
|
+
return self;}
|
2624
|
+
}),
|
2625
|
+
smalltalk.MaglevSymbol.klass);
|
2626
|
+
|
2627
|
+
|
2628
|
+
smalltalk.addClass('MaglevThread', smalltalk.MaglevObject, ['exception', 'localStorage', 'localStorageSize', 'status', 'isRailsThread'], 'Maglev-Core');
|
2629
|
+
smalltalk.addMethod(
|
2630
|
+
unescape('_exception'),
|
2631
|
+
smalltalk.method({
|
2632
|
+
selector: unescape('exception'),
|
2633
|
+
fn: function (){
|
2634
|
+
var self=this;
|
2635
|
+
return self['@exception'];
|
2636
|
+
return self;}
|
2637
|
+
}),
|
2638
|
+
smalltalk.MaglevThread);
|
2639
|
+
|
2640
|
+
smalltalk.addMethod(
|
2641
|
+
unescape('_hasException'),
|
2642
|
+
smalltalk.method({
|
2643
|
+
selector: unescape('hasException'),
|
2644
|
+
fn: function (){
|
2645
|
+
var self=this;
|
2646
|
+
try{(($receiver = self['@exception']) == nil || $receiver == undefined) ? (function(){return (function(){throw({name: 'stReturn', selector: '_hasException', fn: function(){return false}})})();})() : $receiver;
|
2647
|
+
(function(){throw({name: 'stReturn', selector: '_hasException', fn: function(){return smalltalk.send(smalltalk.send(self['@exception'], "_isMaglevNil", []), "_not", [])}})})();
|
2648
|
+
return self;
|
2649
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_hasException'){return e.fn()} throw(e)}}
|
2650
|
+
}),
|
2651
|
+
smalltalk.MaglevThread);
|
2652
|
+
|
2653
|
+
smalltalk.addMethod(
|
2654
|
+
unescape('_inspection'),
|
2655
|
+
smalltalk.method({
|
2656
|
+
selector: unescape('inspection'),
|
2657
|
+
fn: function (){
|
2658
|
+
var self=this;
|
2659
|
+
try{((($receiver = smalltalk.send(self, "_hasException", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_inspection', fn: function(){return smalltalk.send(smalltalk.send(unescape("%23%3CGsProcess%5B"), "__comma", [smalltalk.send(self['@exception'], "_inspection", [])]), "__comma", [unescape("%5D%3E")])}})})();})() : (function(){return (function(){throw({name: 'stReturn', selector: '_inspection', fn: function(){return smalltalk.send(self, "_inspection", [], smalltalk.MaglevObject)}})})();})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_inspection', fn: function(){return smalltalk.send(smalltalk.send(unescape("%23%3CGsProcess%5B"), "__comma", [smalltalk.send(self['@exception'], "_inspection", [])]), "__comma", [unescape("%5D%3E")])}})})();}), (function(){return (function(){throw({name: 'stReturn', selector: '_inspection', fn: function(){return smalltalk.send(self, "_inspection", [], smalltalk.MaglevObject)}})})();})]));
|
2660
|
+
return self;
|
2661
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_inspection'){return e.fn()} throw(e)}}
|
2662
|
+
}),
|
2663
|
+
smalltalk.MaglevThread);
|
2664
|
+
|
2665
|
+
smalltalk.addMethod(
|
2666
|
+
unescape('_isRailsThread'),
|
2667
|
+
smalltalk.method({
|
2668
|
+
selector: unescape('isRailsThread'),
|
2669
|
+
fn: function (){
|
2670
|
+
var self=this;
|
2671
|
+
return smalltalk.send(self['@isRailsThread'], "__eq", [true]);
|
2672
|
+
return self;}
|
2673
|
+
}),
|
2674
|
+
smalltalk.MaglevThread);
|
2675
|
+
|
2676
|
+
smalltalk.addMethod(
|
2677
|
+
unescape('_localStorage'),
|
2678
|
+
smalltalk.method({
|
2679
|
+
selector: unescape('localStorage'),
|
2680
|
+
fn: function (){
|
2681
|
+
var self=this;
|
2682
|
+
return self['@localStorage'];
|
2683
|
+
return self;}
|
2684
|
+
}),
|
2685
|
+
smalltalk.MaglevThread);
|
2686
|
+
|
2687
|
+
smalltalk.addMethod(
|
2688
|
+
unescape('_localStorageSize'),
|
2689
|
+
smalltalk.method({
|
2690
|
+
selector: unescape('localStorageSize'),
|
2691
|
+
fn: function (){
|
2692
|
+
var self=this;
|
2693
|
+
return self['@localStorageSize'];
|
2694
|
+
return self;}
|
2695
|
+
}),
|
2696
|
+
smalltalk.MaglevThread);
|
2697
|
+
|
2698
|
+
smalltalk.addMethod(
|
2699
|
+
unescape('_parseJSON_'),
|
2700
|
+
smalltalk.method({
|
2701
|
+
selector: unescape('parseJSON%3A'),
|
2702
|
+
fn: function (obj){
|
2703
|
+
var self=this;
|
2704
|
+
var objException=nil;
|
2705
|
+
smalltalk.send(self, "_parseJSON_", [obj], smalltalk.MaglevObject);
|
2706
|
+
(objException=smalltalk.send(obj, "_at_", ["exception"]));
|
2707
|
+
(($receiver = objException) != nil && $receiver != undefined) ? (function(){return (self['@exception']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [objException]));})() : nil;
|
2708
|
+
(self['@localStorage']=smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(obj, "_threadLocalStorage", [])]));
|
2709
|
+
(self['@localStorageSize']=smalltalk.send(obj, "_threadLocalStorageSize", []));
|
2710
|
+
(self['@status']=smalltalk.send(obj, "_status", []));
|
2711
|
+
(self['@isRailsThread']=smalltalk.send(obj, "_isRailsThread", []));
|
2712
|
+
return self;}
|
2713
|
+
}),
|
2714
|
+
smalltalk.MaglevThread);
|
2715
|
+
|
2716
|
+
smalltalk.addMethod(
|
2717
|
+
unescape('_proceedWithCallback_'),
|
2718
|
+
smalltalk.method({
|
2719
|
+
selector: unescape('proceedWithCallback%3A'),
|
2720
|
+
fn: function (aBlock){
|
2721
|
+
var self=this;
|
2722
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/proceed/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
2723
|
+
return self;}
|
2724
|
+
}),
|
2725
|
+
smalltalk.MaglevThread);
|
2726
|
+
|
2727
|
+
smalltalk.addMethod(
|
2728
|
+
unescape('_stackFrame_withCallback_'),
|
2729
|
+
smalltalk.method({
|
2730
|
+
selector: unescape('stackFrame%3AwithCallback%3A'),
|
2731
|
+
fn: function (anInteger, aBlock){
|
2732
|
+
var self=this;
|
2733
|
+
var params=nil;
|
2734
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["index", anInteger]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
2735
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/frame/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, aBlock]);
|
2736
|
+
return self;}
|
2737
|
+
}),
|
2738
|
+
smalltalk.MaglevThread);
|
2739
|
+
|
2740
|
+
smalltalk.addMethod(
|
2741
|
+
unescape('_stackTraceMethodsWithCallback_'),
|
2742
|
+
smalltalk.method({
|
2743
|
+
selector: unescape('stackTraceMethodsWithCallback%3A'),
|
2744
|
+
fn: function (aBlock){
|
2745
|
+
var self=this;
|
2746
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/frames/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), aBlock]);
|
2747
|
+
return self;}
|
2748
|
+
}),
|
2749
|
+
smalltalk.MaglevThread);
|
2750
|
+
|
2751
|
+
smalltalk.addMethod(
|
2752
|
+
unescape('_status'),
|
2753
|
+
smalltalk.method({
|
2754
|
+
selector: unescape('status'),
|
2755
|
+
fn: function (){
|
2756
|
+
var self=this;
|
2757
|
+
return self['@status'];
|
2758
|
+
return self;}
|
2759
|
+
}),
|
2760
|
+
smalltalk.MaglevThread);
|
2761
|
+
|
2762
|
+
smalltalk.addMethod(
|
2763
|
+
unescape('_stepInto_withCallback_'),
|
2764
|
+
smalltalk.method({
|
2765
|
+
selector: unescape('stepInto%3AwithCallback%3A'),
|
2766
|
+
fn: function (frameIndex, aBlock){
|
2767
|
+
var self=this;
|
2768
|
+
var params=nil;
|
2769
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["index", frameIndex]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
2770
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/stepInto/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, aBlock]);
|
2771
|
+
return self;}
|
2772
|
+
}),
|
2773
|
+
smalltalk.MaglevThread);
|
2774
|
+
|
2775
|
+
smalltalk.addMethod(
|
2776
|
+
unescape('_stepOver_withCallback_'),
|
2777
|
+
smalltalk.method({
|
2778
|
+
selector: unescape('stepOver%3AwithCallback%3A'),
|
2779
|
+
fn: function (frameIndex, aBlock){
|
2780
|
+
var self=this;
|
2781
|
+
var params=nil;
|
2782
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["index", frameIndex]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
2783
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/stepOver/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, aBlock]);
|
2784
|
+
return self;}
|
2785
|
+
}),
|
2786
|
+
smalltalk.MaglevThread);
|
2787
|
+
|
2788
|
+
smalltalk.addMethod(
|
2789
|
+
unescape('_trimTo_withCallback_'),
|
2790
|
+
smalltalk.method({
|
2791
|
+
selector: unescape('trimTo%3AwithCallback%3A'),
|
2792
|
+
fn: function (frameIndex, aBlock){
|
2793
|
+
var self=this;
|
2794
|
+
var params=nil;
|
2795
|
+
(params=(function($rec){smalltalk.send($rec, "_at_put_", ["index", frameIndex]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
|
2796
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("code/trim/"), "__comma", [smalltalk.send(self['@oop'], "_asString", [])]), params, aBlock]);
|
2797
|
+
return self;}
|
2798
|
+
}),
|
2799
|
+
smalltalk.MaglevThread);
|
2800
|
+
|
2801
|
+
|
2802
|
+
smalltalk.addMethod(
|
2803
|
+
unescape('_basetype'),
|
2804
|
+
smalltalk.method({
|
2805
|
+
selector: unescape('basetype'),
|
2806
|
+
fn: function (){
|
2807
|
+
var self=this;
|
2808
|
+
return smalltalk.symbolFor("thread");
|
2809
|
+
return self;}
|
2810
|
+
}),
|
2811
|
+
smalltalk.MaglevThread.klass);
|
2812
|
+
|
2813
|
+
smalltalk.addMethod(
|
2814
|
+
unescape('_inlineViewClass'),
|
2815
|
+
smalltalk.method({
|
2816
|
+
selector: unescape('inlineViewClass'),
|
2817
|
+
fn: function (){
|
2818
|
+
var self=this;
|
2819
|
+
return (smalltalk.MaglevThreadInline || MaglevThreadInline);
|
2820
|
+
return self;}
|
2821
|
+
}),
|
2822
|
+
smalltalk.MaglevThread.klass);
|
2823
|
+
|
2824
|
+
smalltalk.addMethod(
|
2825
|
+
unescape('_windowViewClass'),
|
2826
|
+
smalltalk.method({
|
2827
|
+
selector: unescape('windowViewClass'),
|
2828
|
+
fn: function (){
|
2829
|
+
var self=this;
|
2830
|
+
return (smalltalk.MaglevThreadWindow || MaglevThreadWindow);
|
2831
|
+
return self;}
|
2832
|
+
}),
|
2833
|
+
smalltalk.MaglevThread.klass);
|
2834
|
+
|
2835
|
+
|
2836
|
+
smalltalk.addClass('MaglevObjectSpace', smalltalk.Object, ['objects', 'evalObject'], 'Maglev-Core');
|
2837
|
+
smalltalk.addMethod(
|
2838
|
+
unescape('_at_'),
|
2839
|
+
smalltalk.method({
|
2840
|
+
selector: unescape('at%3A'),
|
2841
|
+
fn: function (anOop){
|
2842
|
+
var self=this;
|
2843
|
+
return smalltalk.send(self['@objects'], "_at_ifAbsent_", [anOop, (function(){return smalltalk.send(self, "_reloadObject_", [anOop]);})]);
|
2844
|
+
return self;}
|
2845
|
+
}),
|
2846
|
+
smalltalk.MaglevObjectSpace);
|
2847
|
+
|
2848
|
+
smalltalk.addMethod(
|
2849
|
+
unescape('_at_withCallback_'),
|
2850
|
+
smalltalk.method({
|
2851
|
+
selector: unescape('at%3AwithCallback%3A'),
|
2852
|
+
fn: function (anOop, aBlock){
|
2853
|
+
var self=this;
|
2854
|
+
((($receiver = smalltalk.send(self['@objects'], "_includesKey_", [anOop])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(aBlock, "_value_", [smalltalk.send(self['@objects'], "_at_", [anOop])]);})() : (function(){return smalltalk.send(self, "_reloadObject_withCallback_", [anOop, aBlock]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(aBlock, "_value_", [smalltalk.send(self['@objects'], "_at_", [anOop])]);}), (function(){return smalltalk.send(self, "_reloadObject_withCallback_", [anOop, aBlock]);})]));
|
2855
|
+
return self;}
|
2856
|
+
}),
|
2857
|
+
smalltalk.MaglevObjectSpace);
|
2858
|
+
|
2859
|
+
smalltalk.addMethod(
|
2860
|
+
unescape('_evalObject'),
|
2861
|
+
smalltalk.method({
|
2862
|
+
selector: unescape('evalObject'),
|
2863
|
+
fn: function (){
|
2864
|
+
var self=this;
|
2865
|
+
return self['@evalObject'];
|
2866
|
+
return self;}
|
2867
|
+
}),
|
2868
|
+
smalltalk.MaglevObjectSpace);
|
2869
|
+
|
2870
|
+
smalltalk.addMethod(
|
2871
|
+
unescape('_evalObject_'),
|
2872
|
+
smalltalk.method({
|
2873
|
+
selector: unescape('evalObject%3A'),
|
2874
|
+
fn: function (anObject){
|
2875
|
+
var self=this;
|
2876
|
+
(self['@evalObject']=anObject);
|
2877
|
+
return self;}
|
2878
|
+
}),
|
2879
|
+
smalltalk.MaglevObjectSpace);
|
2880
|
+
|
2881
|
+
smalltalk.addMethod(
|
2882
|
+
unescape('_hasLoadedOop_'),
|
2883
|
+
smalltalk.method({
|
2884
|
+
selector: unescape('hasLoadedOop%3A'),
|
2885
|
+
fn: function (oop){
|
2886
|
+
var self=this;
|
2887
|
+
return smalltalk.send(smalltalk.send(self['@objects'], "_includesKey_", [oop]), "_and_", [(function(){return smalltalk.send(smalltalk.send(self['@objects'], "_at_", [oop]), "_isLoaded", []);})]);
|
2888
|
+
return self;}
|
2889
|
+
}),
|
2890
|
+
smalltalk.MaglevObjectSpace);
|
2891
|
+
|
2892
|
+
smalltalk.addMethod(
|
2893
|
+
unescape('_hasOop_'),
|
2894
|
+
smalltalk.method({
|
2895
|
+
selector: unescape('hasOop%3A'),
|
2896
|
+
fn: function (oop){
|
2897
|
+
var self=this;
|
2898
|
+
return smalltalk.send(self['@objects'], "_includesKey_", [oop]);
|
2899
|
+
return self;}
|
2900
|
+
}),
|
2901
|
+
smalltalk.MaglevObjectSpace);
|
2902
|
+
|
2903
|
+
smalltalk.addMethod(
|
2904
|
+
unescape('_initialize'),
|
2905
|
+
smalltalk.method({
|
2906
|
+
selector: unescape('initialize'),
|
2907
|
+
fn: function (){
|
2908
|
+
var self=this;
|
2909
|
+
(self['@objects']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
|
2910
|
+
return self;}
|
2911
|
+
}),
|
2912
|
+
smalltalk.MaglevObjectSpace);
|
2913
|
+
|
2914
|
+
smalltalk.addMethod(
|
2915
|
+
unescape('_registerWindow_'),
|
2916
|
+
smalltalk.method({
|
2917
|
+
selector: unescape('registerWindow%3A'),
|
2918
|
+
fn: function (aWindow){
|
2919
|
+
var self=this;
|
2920
|
+
smalltalk.send(smalltalk.send(self['@objects'], "_at_", [smalltalk.send(smalltalk.send(aWindow, "_object", []), "_oop", [])]), "_addWindow_", [aWindow]);
|
2921
|
+
return self;}
|
2922
|
+
}),
|
2923
|
+
smalltalk.MaglevObjectSpace);
|
2924
|
+
|
2925
|
+
smalltalk.addMethod(
|
2926
|
+
unescape('_reloadObject_'),
|
2927
|
+
smalltalk.method({
|
2928
|
+
selector: unescape('reloadObject%3A'),
|
2929
|
+
fn: function (anOop){
|
2930
|
+
var self=this;
|
2931
|
+
var obj=nil;
|
2932
|
+
(obj=smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(anOop, "_asString", [])]), smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])]));
|
2933
|
+
return smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [obj]);
|
2934
|
+
return self;}
|
2935
|
+
}),
|
2936
|
+
smalltalk.MaglevObjectSpace);
|
2937
|
+
|
2938
|
+
smalltalk.addMethod(
|
2939
|
+
unescape('_reloadObject_withCallback_'),
|
2940
|
+
smalltalk.method({
|
2941
|
+
selector: unescape('reloadObject%3AwithCallback%3A'),
|
2942
|
+
fn: function (anOop, aBlock){
|
2943
|
+
var self=this;
|
2944
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(anOop, "_asString", [])]), smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []), (function(obj){return smalltalk.send(aBlock, "_value_", [smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [obj])]);})]);
|
2945
|
+
return self;}
|
2946
|
+
}),
|
2947
|
+
smalltalk.MaglevObjectSpace);
|
2948
|
+
|
2949
|
+
smalltalk.addMethod(
|
2950
|
+
unescape('_reloadObject_withCallback_params_'),
|
2951
|
+
smalltalk.method({
|
2952
|
+
selector: unescape('reloadObject%3AwithCallback%3Aparams%3A'),
|
2953
|
+
fn: function (anOop, aBlock, aParamsDict){
|
2954
|
+
var self=this;
|
2955
|
+
smalltalk.send((smalltalk.MaglevAjax || MaglevAjax), "_ajax_data_withCallback_", [smalltalk.send(unescape("object/index/"), "__comma", [smalltalk.send(anOop, "_asString", [])]), aParamsDict, (function(obj){return smalltalk.send(aBlock, "_value_", [smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [obj])]);})]);
|
2956
|
+
return self;}
|
2957
|
+
}),
|
2958
|
+
smalltalk.MaglevObjectSpace);
|
2959
|
+
|
2960
|
+
smalltalk.addMethod(
|
2961
|
+
unescape('_unregisterWindow_'),
|
2962
|
+
smalltalk.method({
|
2963
|
+
selector: unescape('unregisterWindow%3A'),
|
2964
|
+
fn: function (aWindow){
|
2965
|
+
var self=this;
|
2966
|
+
smalltalk.send(smalltalk.send(self['@objects'], "_at_", [smalltalk.send(smalltalk.send(aWindow, "_object", []), "_oop", [])]), "_removeWindow_", [aWindow]);
|
2967
|
+
return self;}
|
2968
|
+
}),
|
2969
|
+
smalltalk.MaglevObjectSpace);
|
2970
|
+
|
2971
|
+
smalltalk.addMethod(
|
2972
|
+
unescape('_updateObject_'),
|
2973
|
+
smalltalk.method({
|
2974
|
+
selector: unescape('updateObject%3A'),
|
2975
|
+
fn: function (anObject){
|
2976
|
+
var self=this;
|
2977
|
+
((($receiver = smalltalk.send(anObject, "_isLoaded", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@objects'], "_at_put_", [smalltalk.send(anObject, "_oop", []), anObject]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self['@objects'], "_at_put_", [smalltalk.send(anObject, "_oop", []), anObject]);})]));
|
2978
|
+
return self;}
|
2979
|
+
}),
|
2980
|
+
smalltalk.MaglevObjectSpace);
|
2981
|
+
|
2982
|
+
|
2983
|
+
smalltalk.MaglevObjectSpace.klass.iVarNames = ['instance'];
|
2984
|
+
smalltalk.addMethod(
|
2985
|
+
unescape('_instance'),
|
2986
|
+
smalltalk.method({
|
2987
|
+
selector: unescape('instance'),
|
2988
|
+
fn: function (){
|
2989
|
+
var self=this;
|
2990
|
+
(($receiver = self['@instance']) == nil || $receiver == undefined) ? (function(){return (self['@instance']=smalltalk.send(self, "_new", []));})() : $receiver;
|
2991
|
+
return self['@instance'];
|
2992
|
+
return self;}
|
2993
|
+
}),
|
2994
|
+
smalltalk.MaglevObjectSpace.klass);
|
2995
|
+
|
2996
|
+
|