opal 0.10.6 → 0.11.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.codeclimate.yml +19 -0
- data/.gitmodules +1 -1
- data/.jshintrc +1 -2
- data/.travis.yml +26 -18
- data/CHANGELOG.md +89 -23
- data/{CODE_OF_CONDUCT.md → CONDUCT.md} +0 -0
- data/Gemfile +19 -21
- data/HACKING.md +2 -0
- data/README.md +7 -6
- data/Rakefile +1 -1
- data/appveyor.yml +21 -4
- data/benchmark-ips/bm_case.rb +33 -0
- data/benchmark-ips/bm_constants_lookup.rb +13 -0
- data/benchmark-ips/bm_is_number.rb +29 -0
- data/benchmark-ips/bm_symbol_to_proc.rb +19 -0
- data/benchmark/bm_constant_lookup_big.rb +799 -0
- data/benchmark/bm_constant_lookup_small.rb +59 -0
- data/benchmark/bm_module_definition_big.rb +400 -0
- data/benchmark/bm_module_definition_small.rb +30 -0
- data/bin/opal-repl +23 -1
- data/docs/compiled_ruby.md +16 -14
- data/docs/faq.md +3 -3
- data/docs/rspec.md +2 -1
- data/docs/unsupported_features.md +6 -4
- data/examples/rack/Gemfile +1 -0
- data/examples/rack/app/application.rb +14 -3
- data/examples/rack/app/user.rb +2 -0
- data/examples/rack/config.ru +1 -1
- data/examples/rack/index.html.erb +1 -0
- data/lib/opal.rb +6 -1
- data/lib/opal/ast/builder.rb +17 -0
- data/lib/opal/ast/node.rb +30 -0
- data/lib/opal/builder.rb +14 -3
- data/lib/opal/builder_processors.rb +1 -0
- data/lib/opal/cli.rb +45 -59
- data/lib/opal/cli_options.rb +11 -7
- data/lib/opal/cli_runners.rb +1 -0
- data/lib/opal/cli_runners/applescript.rb +3 -3
- data/lib/opal/cli_runners/nashorn.rb +1 -0
- data/lib/opal/cli_runners/nodejs.rb +4 -1
- data/lib/opal/cli_runners/phantom.js +1 -2
- data/lib/opal/cli_runners/phantomjs.rb +3 -2
- data/lib/opal/cli_runners/server.rb +1 -0
- data/lib/opal/compiler.rb +145 -94
- data/lib/opal/config.rb +1 -0
- data/lib/opal/deprecations.rb +18 -0
- data/lib/opal/erb.rb +1 -0
- data/lib/opal/errors.rb +1 -0
- data/lib/opal/fragment.rb +1 -0
- data/lib/opal/hike_path_finder.rb +1 -0
- data/lib/opal/nodes.rb +3 -0
- data/lib/opal/nodes/arglist.rb +2 -1
- data/lib/opal/nodes/args/initialize_kwargs.rb +1 -0
- data/lib/opal/nodes/args/kwarg.rb +7 -7
- data/lib/opal/nodes/args/kwoptarg.rb +6 -7
- data/lib/opal/nodes/args/kwrestarg.rb +5 -5
- data/lib/opal/nodes/args/mlhsarg.rb +3 -2
- data/lib/opal/nodes/args/normarg.rb +6 -7
- data/lib/opal/nodes/args/optarg.rb +5 -7
- data/lib/opal/nodes/args/post_args.rb +6 -5
- data/lib/opal/nodes/args/post_kwargs.rb +1 -0
- data/lib/opal/nodes/args/restarg.rb +7 -7
- data/lib/opal/nodes/array.rb +1 -0
- data/lib/opal/nodes/base.rb +24 -3
- data/lib/opal/nodes/call.rb +167 -155
- data/lib/opal/nodes/call_special.rb +31 -217
- data/lib/opal/nodes/case.rb +36 -22
- data/lib/opal/nodes/class.rb +4 -3
- data/lib/opal/nodes/constants.rb +28 -48
- data/lib/opal/nodes/csend.rb +25 -0
- data/lib/opal/nodes/def.rb +49 -16
- data/lib/opal/nodes/defined.rb +170 -60
- data/lib/opal/nodes/definitions.rb +40 -133
- data/lib/opal/nodes/defs.rb +29 -0
- data/lib/opal/nodes/for.rb +52 -25
- data/lib/opal/nodes/hash.rb +12 -35
- data/lib/opal/nodes/helpers.rb +27 -54
- data/lib/opal/nodes/if.rb +21 -32
- data/lib/opal/nodes/inline_args.rb +12 -13
- data/lib/opal/nodes/iter.rb +61 -36
- data/lib/opal/nodes/literal.rb +189 -116
- data/lib/opal/nodes/logic.rb +20 -25
- data/lib/opal/nodes/masgn.rb +20 -18
- data/lib/opal/nodes/module.rb +10 -11
- data/lib/opal/nodes/node_with_args.rb +14 -17
- data/lib/opal/nodes/rescue.rb +37 -70
- data/lib/opal/nodes/runtime_helpers.rb +8 -3
- data/lib/opal/nodes/scope.rb +9 -5
- data/lib/opal/nodes/singleton_class.rb +4 -3
- data/lib/opal/nodes/super.rb +115 -87
- data/lib/opal/nodes/top.rb +7 -2
- data/lib/opal/nodes/variables.rb +46 -35
- data/lib/opal/nodes/while.rb +11 -1
- data/lib/opal/nodes/yield.rb +1 -17
- data/lib/opal/parser.rb +28 -770
- data/lib/opal/path_reader.rb +5 -1
- data/lib/opal/paths.rb +10 -4
- data/lib/opal/regexp_anchors.rb +1 -0
- data/lib/opal/rewriter.rb +60 -0
- data/lib/opal/rewriters/base.rb +60 -0
- data/lib/opal/rewriters/binary_operator_assignment.rb +144 -0
- data/lib/opal/rewriters/block_to_iter.rb +17 -0
- data/lib/opal/rewriters/break_finder.rb +34 -0
- data/lib/opal/rewriters/dot_js_syntax.rb +60 -0
- data/lib/opal/rewriters/explicit_writer_return.rb +58 -0
- data/lib/opal/rewriters/js_reserved_words.rb +111 -0
- data/lib/opal/rewriters/logical_operator_assignment.rb +155 -0
- data/lib/opal/rewriters/opal_engine_check.rb +42 -0
- data/lib/opal/rewriters/rubyspec/filters_rewriter.rb +67 -0
- data/lib/opal/server.rb +4 -0
- data/lib/opal/simple_server.rb +100 -0
- data/lib/opal/source_map.rb +1 -1
- data/lib/opal/util.rb +5 -5
- data/lib/opal/version.rb +2 -1
- data/lib/tilt/opal.rb +1 -0
- data/opal.gemspec +8 -7
- data/opal/README.md +1 -1
- data/opal/corelib/array.rb +137 -83
- data/opal/corelib/basic_object.rb +6 -6
- data/opal/corelib/class.rb +14 -11
- data/opal/corelib/complex.rb +5 -1
- data/opal/corelib/constants.rb +3 -3
- data/opal/corelib/enumerable.rb +129 -11
- data/opal/corelib/error.rb +35 -17
- data/opal/corelib/file.rb +65 -170
- data/opal/corelib/hash.rb +128 -13
- data/opal/corelib/helpers.rb +12 -15
- data/opal/corelib/io.rb +1 -0
- data/opal/corelib/kernel.rb +40 -21
- data/opal/corelib/marshal/read_buffer.rb +1 -1
- data/opal/corelib/method.rb +33 -13
- data/opal/corelib/module.rb +133 -81
- data/opal/corelib/number.rb +141 -25
- data/opal/corelib/numeric.rb +0 -8
- data/opal/corelib/process.rb +44 -4
- data/opal/corelib/random.rb +117 -0
- data/opal/corelib/random/seedrandom.js.rb +15 -0
- data/opal/corelib/range.rb +133 -10
- data/opal/corelib/regexp.rb +37 -9
- data/opal/corelib/runtime.js +601 -390
- data/opal/corelib/string.rb +39 -8
- data/opal/corelib/string/encoding.rb +51 -7
- data/opal/corelib/struct.rb +20 -0
- data/opal/corelib/time.rb +3 -3
- data/opal/corelib/variables.rb +1 -1
- data/opal/opal.rb +1 -0
- data/spec/filters/bugs/array.rb +5 -1
- data/spec/filters/bugs/basicobject.rb +2 -5
- data/spec/filters/bugs/bigdecimal.rb +8 -22
- data/spec/filters/bugs/class.rb +2 -1
- data/spec/filters/bugs/comparable.rb +5 -0
- data/spec/filters/bugs/date.rb +3 -3
- data/spec/filters/bugs/enumerable.rb +4 -11
- data/spec/filters/bugs/enumerator.rb +2 -4
- data/spec/filters/bugs/exception.rb +16 -2
- data/spec/filters/bugs/file.rb +8 -0
- data/spec/filters/bugs/float.rb +7 -1
- data/spec/filters/bugs/hash.rb +6 -2
- data/spec/filters/bugs/integer.rb +2 -0
- data/spec/filters/bugs/io.rb +8 -0
- data/spec/filters/bugs/kernel.rb +9 -138
- data/spec/filters/bugs/language.rb +89 -174
- data/spec/filters/bugs/marshal.rb +33 -35
- data/spec/filters/bugs/method.rb +0 -24
- data/spec/filters/bugs/module.rb +19 -55
- data/spec/filters/bugs/numeric.rb +0 -119
- data/spec/filters/bugs/pathname.rb +2 -0
- data/spec/filters/bugs/proc.rb +5 -4
- data/spec/filters/bugs/random.rb +7 -0
- data/spec/filters/bugs/range.rb +12 -120
- data/spec/filters/bugs/rational.rb +1 -1
- data/spec/filters/bugs/regexp.rb +2 -40
- data/spec/filters/bugs/set.rb +0 -1
- data/spec/filters/bugs/string.rb +5 -8
- data/spec/filters/bugs/stringscanner.rb +11 -19
- data/spec/filters/bugs/time.rb +7 -1
- data/spec/filters/bugs/unboundmethod.rb +1 -11
- data/spec/filters/unsupported/array.rb +5 -1
- data/spec/filters/unsupported/basicobject.rb +1 -1
- data/spec/filters/unsupported/bignum.rb +4 -1
- data/spec/filters/unsupported/class.rb +1 -1
- data/spec/filters/unsupported/delegator.rb +1 -1
- data/spec/filters/unsupported/enumerable.rb +1 -1
- data/spec/filters/unsupported/enumerator.rb +1 -1
- data/spec/filters/unsupported/file.rb +4 -0
- data/spec/filters/unsupported/fixnum.rb +1 -1
- data/spec/filters/unsupported/float.rb +4 -1
- data/spec/filters/unsupported/freeze.rb +27 -5
- data/spec/filters/unsupported/hash.rb +7 -15
- data/spec/filters/unsupported/integer.rb +1 -1
- data/spec/filters/unsupported/kernel.rb +2 -1
- data/spec/filters/unsupported/language.rb +6 -1
- data/spec/filters/unsupported/marshal.rb +1 -1
- data/spec/filters/unsupported/matchdata.rb +4 -1
- data/spec/filters/unsupported/math.rb +1 -1
- data/spec/filters/unsupported/pathname.rb +1 -1
- data/spec/filters/unsupported/privacy.rb +141 -9
- data/spec/filters/unsupported/proc.rb +1 -1
- data/spec/filters/unsupported/random.rb +4 -0
- data/spec/filters/unsupported/range.rb +7 -0
- data/spec/filters/unsupported/regexp.rb +25 -15
- data/spec/filters/unsupported/set.rb +1 -1
- data/spec/filters/unsupported/singleton.rb +1 -1
- data/spec/filters/unsupported/string.rb +110 -101
- data/spec/filters/unsupported/struct.rb +1 -1
- data/spec/filters/unsupported/symbol.rb +2 -1
- data/spec/filters/unsupported/taint.rb +22 -7
- data/spec/filters/unsupported/thread.rb +1 -1
- data/spec/filters/unsupported/time.rb +1 -1
- data/spec/lib/builder_spec.rb +17 -0
- data/spec/lib/cli_spec.rb +37 -8
- data/spec/lib/compiler/call_spec.rb +98 -66
- data/spec/lib/compiler_spec.rb +39 -30
- data/spec/lib/dependency_resolver_spec.rb +2 -2
- data/spec/lib/deprecations_spec.rb +16 -0
- data/spec/lib/fixtures/source_location_test.rb +7 -0
- data/spec/lib/rewriters/binary_operator_assignment_spec.rb +151 -0
- data/spec/lib/rewriters/block_to_iter_spec.rb +28 -0
- data/spec/lib/rewriters/dot_js_syntax_spec.rb +108 -0
- data/spec/lib/rewriters/explicit_writer_return_spec.rb +186 -0
- data/spec/lib/rewriters/js_reserved_words_spec.rb +116 -0
- data/spec/lib/rewriters/logical_operator_assignment_spec.rb +202 -0
- data/spec/lib/rewriters/opal_engine_check_spec.rb +82 -0
- data/spec/lib/rewriters/rubyspec/filters_rewriter_spec.rb +53 -0
- data/spec/lib/simple_server_spec.rb +54 -0
- data/spec/mspec-opal/formatters.rb +65 -17
- data/spec/mspec-opal/runner.rb +47 -67
- data/spec/opal/core/date_spec.rb +14 -0
- data/spec/opal/core/exception_spec.rb +10 -0
- data/spec/opal/core/hash/internals_spec.rb +10 -10
- data/spec/opal/core/kernel/rand_spec.rb +0 -4
- data/spec/opal/core/kernel/respond_to_spec.rb +5 -2
- data/spec/opal/core/language/constant_lookup_spec.rb +38 -0
- data/spec/opal/core/language/predefined_spec.rb +1 -1
- data/spec/opal/core/language/safe_navigator_spec.rb +7 -0
- data/spec/opal/core/language/send_spec.rb +1 -9
- data/spec/opal/core/language/string_spec.rb +8 -8
- data/spec/opal/core/language/versions/def_2_0_spec.rb +0 -4
- data/spec/opal/core/language_spec.rb +32 -0
- data/spec/opal/core/module/const_get_spec.rb +1 -1
- data/spec/opal/core/runtime/is_a_spec.rb +36 -0
- data/spec/opal/core/runtime/rescue_spec.rb +35 -0
- data/spec/opal/core/runtime_spec.rb +4 -4
- data/spec/opal/core/string_spec.rb +8 -8
- data/spec/opal/core/time_spec.rb +26 -17
- data/spec/opal/stdlib/erb/quoted.opalerb +1 -1
- data/spec/opal/stdlib/json/parse_spec.rb +4 -0
- data/spec/opal/stdlib/native/hash_spec.rb +16 -0
- data/spec/ruby_specs +2 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/support/rewriters_helper.rb +24 -0
- data/stdlib/base64.rb +4 -2
- data/stdlib/bigdecimal/bignumber.js.rb +1 -1
- data/stdlib/date.rb +18 -19
- data/stdlib/json.rb +16 -4
- data/stdlib/nashorn/file.rb +15 -0
- data/stdlib/native.rb +21 -12
- data/stdlib/nodejs/dir.rb +1 -1
- data/stdlib/nodejs/file.rb +49 -20
- data/stdlib/nodejs/io.rb +22 -1
- data/stdlib/nodejs/{node_modules/js-yaml/dist/js-yaml.js → js-yaml-3-6-1.js} +815 -626
- data/stdlib/nodejs/kernel.rb +3 -1
- data/stdlib/nodejs/package.json +0 -1
- data/stdlib/nodejs/stacktrace.rb +163 -0
- data/stdlib/nodejs/yaml.rb +2 -1
- data/stdlib/opal-platform.rb +15 -0
- data/stdlib/opal/platform.rb +5 -13
- data/stdlib/pathname.rb +1 -1
- data/stdlib/strscan.rb +15 -1
- data/stdlib/yaml.rb +1 -1
- data/tasks/benchmarking.rake +9 -0
- data/tasks/building.rake +24 -20
- data/tasks/linting.rake +24 -13
- data/tasks/testing.rake +322 -205
- data/tasks/testing/mspec_special_calls.rb +44 -15
- data/tasks/testing/opal_rspec_smoketest.Gemfile +13 -0
- data/test/nodejs/fixtures/hello.rb +1 -0
- data/test/nodejs/test_file.rb +57 -0
- data/test/nodejs/test_io.rb +18 -0
- data/test/nodejs/test_opal_builder.rb +12 -0
- data/test/opal/unsupported_and_bugs.rb +9 -0
- metadata +127 -240
- data/lib/opal/parser/grammar.rb +0 -6157
- data/lib/opal/parser/grammar.y +0 -2011
- data/lib/opal/parser/keywords.rb +0 -66
- data/lib/opal/parser/lexer.rb +0 -1352
- data/lib/opal/parser/parser_scope.rb +0 -28
- data/lib/opal/parser/sexp.rb +0 -90
- data/lib/opal/sprockets.rb +0 -77
- data/lib/opal/sprockets/environment.rb +0 -23
- data/lib/opal/sprockets/erb.rb +0 -28
- data/lib/opal/sprockets/path_reader.rb +0 -36
- data/lib/opal/sprockets/processor.rb +0 -173
- data/lib/opal/sprockets/server.rb +0 -133
- data/lib/opal/sprockets/source_map_header_patch.rb +0 -41
- data/lib/opal/sprockets/source_map_server.rb +0 -117
- data/spec/filters/bugs/compiler_opal.rb +0 -5
- data/spec/filters/bugs/language_opal.rb +0 -88
- data/spec/filters/unsupported/module.rb +0 -8
- data/spec/lib/compiler/pre_processed_conditionals_spec.rb +0 -87
- data/spec/lib/lexer_spec.rb +0 -110
- data/spec/lib/parser/alias_spec.rb +0 -26
- data/spec/lib/parser/and_spec.rb +0 -13
- data/spec/lib/parser/aref_spec.rb +0 -10
- data/spec/lib/parser/attrasgn_spec.rb +0 -28
- data/spec/lib/parser/begin_spec.rb +0 -42
- data/spec/lib/parser/block_spec.rb +0 -12
- data/spec/lib/parser/break_spec.rb +0 -17
- data/spec/lib/parser/call_spec.rb +0 -201
- data/spec/lib/parser/class_spec.rb +0 -35
- data/spec/lib/parser/comments_spec.rb +0 -11
- data/spec/lib/parser/def_spec.rb +0 -109
- data/spec/lib/parser/if_spec.rb +0 -26
- data/spec/lib/parser/iter_spec.rb +0 -59
- data/spec/lib/parser/lambda_spec.rb +0 -219
- data/spec/lib/parser/literal_spec.rb +0 -118
- data/spec/lib/parser/masgn_spec.rb +0 -37
- data/spec/lib/parser/module_spec.rb +0 -27
- data/spec/lib/parser/not_spec.rb +0 -21
- data/spec/lib/parser/op_asgn1_spec.rb +0 -23
- data/spec/lib/parser/op_asgn2_spec.rb +0 -23
- data/spec/lib/parser/op_asgn_spec.rb +0 -17
- data/spec/lib/parser/or_spec.rb +0 -13
- data/spec/lib/parser/return_spec.rb +0 -22
- data/spec/lib/parser/sclass_spec.rb +0 -21
- data/spec/lib/parser/string_spec.rb +0 -286
- data/spec/lib/parser/super_spec.rb +0 -20
- data/spec/lib/parser/unary_spec.rb +0 -52
- data/spec/lib/parser/undef_spec.rb +0 -19
- data/spec/lib/parser/unless_spec.rb +0 -13
- data/spec/lib/parser/variables_spec.rb +0 -112
- data/spec/lib/parser/while_spec.rb +0 -15
- data/spec/lib/parser/yield_spec.rb +0 -20
- data/spec/lib/sprockets/erb_spec.rb +0 -38
- data/spec/lib/sprockets/path_reader_spec.rb +0 -41
- data/spec/lib/sprockets/processor_spec.rb +0 -79
- data/spec/lib/sprockets/server_spec.rb +0 -102
- data/spec/lib/sprockets_spec.rb +0 -39
- data/spec/lib/tilt/opal_spec.rb +0 -37
- data/spec/opal/core/language/block_spec.rb +0 -538
- data/spec/opal/core/language/proc_spec.rb +0 -263
- data/spec/opal/core/language/variables_spec.rb +0 -1366
- data/spec/opal/core/runtime/block_send_spec.rb +0 -28
- data/spec/opal/core/runtime/send_spec.rb +0 -34
- data/spec/support/parser_helpers.rb +0 -37
- data/stdlib/nodejs/node_modules/js-yaml/HISTORY.md +0 -277
- data/stdlib/nodejs/node_modules/js-yaml/LICENSE +0 -21
- data/stdlib/nodejs/node_modules/js-yaml/README.md +0 -288
- data/stdlib/nodejs/node_modules/js-yaml/bin/js-yaml.js +0 -140
- data/stdlib/nodejs/node_modules/js-yaml/bower.json +0 -23
- data/stdlib/nodejs/node_modules/js-yaml/dist/js-yaml.min.js +0 -3
- data/stdlib/nodejs/node_modules/js-yaml/examples/custom_types.js +0 -102
- data/stdlib/nodejs/node_modules/js-yaml/examples/custom_types.yml +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/examples/dumper.js +0 -31
- data/stdlib/nodejs/node_modules/js-yaml/examples/dumper.json +0 -22
- data/stdlib/nodejs/node_modules/js-yaml/examples/sample_document.js +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/examples/sample_document.yml +0 -197
- data/stdlib/nodejs/node_modules/js-yaml/index.js +0 -7
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml.js +0 -39
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/common.js +0 -62
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -554
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/exception.js +0 -25
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1581
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/mark.js +0 -78
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema.js +0 -103
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -133
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -37
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -110
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -183
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -85
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -84
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -27
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -36
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -56
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -61
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -33
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -98
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/HISTORY.md +0 -115
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/LICENSE +0 -21
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/README.md +0 -239
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +0 -36
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/choice.js +0 -22
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/constants.js +0 -59
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/help.js +0 -13
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +0 -33
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/parents.js +0 -28
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +0 -23
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +0 -49
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/sum.js +0 -35
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +0 -270
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/index.js +0 -1
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action.js +0 -146
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +0 -55
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +0 -40
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +0 -48
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +0 -50
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +0 -27
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +0 -26
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +0 -148
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +0 -50
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +0 -481
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +0 -14
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +0 -50
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +0 -75
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +0 -1168
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/const.js +0 -18
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +0 -88
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +0 -798
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +0 -77
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/.npmignore +0 -2
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/.travis.yml +0 -8
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +0 -825
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/bower.json +0 -33
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +0 -11
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/foo.js +0 -10
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js +0 -26
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +0 -673
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log +0 -0
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/package.json +0 -107
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +0 -23
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +0 -22
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +0 -69
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +0 -6
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +0 -1415
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/package.json +0 -62
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/README.md +0 -73
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +0 -117
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +0 -177
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/esprima.js +0 -3908
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/package.json +0 -69
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/compat.js +0 -239
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/reflect.js +0 -422
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/run.js +0 -66
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/runner.js +0 -387
- data/stdlib/nodejs/node_modules/js-yaml/node_modules/esprima/test/test.js +0 -20238
- data/stdlib/nodejs/node_modules/js-yaml/package.json +0 -83
@@ -0,0 +1,33 @@
|
|
1
|
+
Benchmark.ips do |x|
|
2
|
+
obj = Object.new
|
3
|
+
x.report("numeric statement") do
|
4
|
+
case 1
|
5
|
+
when 4 then 4
|
6
|
+
when 3 then 3
|
7
|
+
when 2 then 2
|
8
|
+
when 1 then 1
|
9
|
+
end
|
10
|
+
nil
|
11
|
+
end
|
12
|
+
x.report("statement") do
|
13
|
+
case 1
|
14
|
+
when 4 then 4
|
15
|
+
when 3 then 3
|
16
|
+
when 2 then 2
|
17
|
+
when obj then :obj
|
18
|
+
when 1 then 1
|
19
|
+
end
|
20
|
+
nil
|
21
|
+
end
|
22
|
+
x.report("expression") do
|
23
|
+
case 1
|
24
|
+
when 4 then 4
|
25
|
+
when 3 then 3
|
26
|
+
when 2 then 2
|
27
|
+
when obj then :obj
|
28
|
+
when 1 then 1
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
x.compare!
|
33
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Why .$$is_number is better than isNaN:
|
2
|
+
#
|
3
|
+
#
|
4
|
+
# Warming up --------------------------------------
|
5
|
+
# .$$is_number 106.722k i/100ms
|
6
|
+
# isNaN() 105.040k i/100ms
|
7
|
+
# obj.$$is_number 106.864k i/100ms
|
8
|
+
# isNaN(obj) 89.287k i/100ms
|
9
|
+
# Calculating -------------------------------------
|
10
|
+
# .$$is_number 12.052M (± 6.6%) i/s - 59.978M in 5.002614s
|
11
|
+
# isNaN() 12.338M (± 5.4%) i/s - 61.448M in 4.997957s
|
12
|
+
# obj.$$is_number 12.514M (± 6.8%) i/s - 62.302M in 5.005715s
|
13
|
+
# isNaN(obj) 4.211M (± 5.9%) i/s - 20.982M in 5.001643s
|
14
|
+
#
|
15
|
+
# Comparison:
|
16
|
+
# obj.$$is_number: 12513664.2 i/s
|
17
|
+
# isNaN(): 12338259.3 i/s - same-ish: difference falls within error
|
18
|
+
# .$$is_number: 12051756.8 i/s - same-ish: difference falls within error
|
19
|
+
# isNaN(obj): 4211175.7 i/s - 2.97x slower
|
20
|
+
#
|
21
|
+
Benchmark.ips do |x|
|
22
|
+
number = 123
|
23
|
+
number_obj = 123.itself
|
24
|
+
x.report(".$$is_number") { number.JS['$$is_number'] }
|
25
|
+
x.report("isNaN()") { `!isNaN(number)` }
|
26
|
+
x.report("obj.$$is_number") { number_obj.JS['$$is_number'] }
|
27
|
+
x.report("isNaN(obj)") { `!isNaN(number_obj)` }
|
28
|
+
x.compare!
|
29
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# https://github.com/opal/opal/issues/1659#issuecomment-298222232
|
2
|
+
|
3
|
+
Benchmark.ips do |x|
|
4
|
+
a = []
|
5
|
+
|
6
|
+
50.times do |i|
|
7
|
+
a << %(#{i}\n)
|
8
|
+
end
|
9
|
+
|
10
|
+
x.report('map block') do
|
11
|
+
a.map {|it| it.chomp }
|
12
|
+
end
|
13
|
+
|
14
|
+
x.report('map symbol') do
|
15
|
+
a.map(&:chomp)
|
16
|
+
end
|
17
|
+
|
18
|
+
x.compare!
|
19
|
+
end
|
@@ -0,0 +1,799 @@
|
|
1
|
+
module Scope0
|
2
|
+
CONST0 = 0
|
3
|
+
module Scope1
|
4
|
+
CONST1 = 1
|
5
|
+
CONST0
|
6
|
+
module Scope2
|
7
|
+
CONST2 = 2
|
8
|
+
CONST0
|
9
|
+
module Scope3
|
10
|
+
CONST3 = 3
|
11
|
+
CONST1
|
12
|
+
module Scope4
|
13
|
+
CONST4 = 4
|
14
|
+
CONST0
|
15
|
+
module Scope5
|
16
|
+
CONST5 = 5
|
17
|
+
CONST2
|
18
|
+
module Scope6
|
19
|
+
CONST6 = 6
|
20
|
+
CONST1
|
21
|
+
module Scope7
|
22
|
+
CONST7 = 7
|
23
|
+
CONST3
|
24
|
+
module Scope8
|
25
|
+
CONST8 = 8
|
26
|
+
CONST6
|
27
|
+
module Scope9
|
28
|
+
CONST9 = 9
|
29
|
+
CONST1
|
30
|
+
module Scope10
|
31
|
+
CONST10 = 10
|
32
|
+
CONST5
|
33
|
+
module Scope11
|
34
|
+
CONST11 = 11
|
35
|
+
CONST10
|
36
|
+
module Scope12
|
37
|
+
CONST12 = 12
|
38
|
+
CONST3
|
39
|
+
module Scope13
|
40
|
+
CONST13 = 13
|
41
|
+
CONST8
|
42
|
+
module Scope14
|
43
|
+
CONST14 = 14
|
44
|
+
CONST9
|
45
|
+
module Scope15
|
46
|
+
CONST15 = 15
|
47
|
+
CONST12
|
48
|
+
module Scope16
|
49
|
+
CONST16 = 16
|
50
|
+
CONST6
|
51
|
+
module Scope17
|
52
|
+
CONST17 = 17
|
53
|
+
CONST2
|
54
|
+
module Scope18
|
55
|
+
CONST18 = 18
|
56
|
+
CONST13
|
57
|
+
module Scope19
|
58
|
+
CONST19 = 19
|
59
|
+
CONST7
|
60
|
+
module Scope20
|
61
|
+
CONST20 = 20
|
62
|
+
CONST3
|
63
|
+
module Scope21
|
64
|
+
CONST21 = 21
|
65
|
+
CONST0
|
66
|
+
module Scope22
|
67
|
+
CONST22 = 22
|
68
|
+
CONST20
|
69
|
+
module Scope23
|
70
|
+
CONST23 = 23
|
71
|
+
CONST3
|
72
|
+
module Scope24
|
73
|
+
CONST24 = 24
|
74
|
+
CONST8
|
75
|
+
module Scope25
|
76
|
+
CONST25 = 25
|
77
|
+
CONST5
|
78
|
+
module Scope26
|
79
|
+
CONST26 = 26
|
80
|
+
CONST24
|
81
|
+
module Scope27
|
82
|
+
CONST27 = 27
|
83
|
+
CONST19
|
84
|
+
module Scope28
|
85
|
+
CONST28 = 28
|
86
|
+
CONST3
|
87
|
+
module Scope29
|
88
|
+
CONST29 = 29
|
89
|
+
CONST5
|
90
|
+
module Scope30
|
91
|
+
CONST30 = 30
|
92
|
+
CONST3
|
93
|
+
module Scope31
|
94
|
+
CONST31 = 31
|
95
|
+
CONST12
|
96
|
+
module Scope32
|
97
|
+
CONST32 = 32
|
98
|
+
CONST11
|
99
|
+
module Scope33
|
100
|
+
CONST33 = 33
|
101
|
+
CONST31
|
102
|
+
module Scope34
|
103
|
+
CONST34 = 34
|
104
|
+
CONST12
|
105
|
+
module Scope35
|
106
|
+
CONST35 = 35
|
107
|
+
CONST5
|
108
|
+
module Scope36
|
109
|
+
CONST36 = 36
|
110
|
+
CONST22
|
111
|
+
module Scope37
|
112
|
+
CONST37 = 37
|
113
|
+
CONST20
|
114
|
+
module Scope38
|
115
|
+
CONST38 = 38
|
116
|
+
CONST27
|
117
|
+
module Scope39
|
118
|
+
CONST39 = 39
|
119
|
+
CONST7
|
120
|
+
module Scope40
|
121
|
+
CONST40 = 40
|
122
|
+
CONST38
|
123
|
+
module Scope41
|
124
|
+
CONST41 = 41
|
125
|
+
CONST35
|
126
|
+
module Scope42
|
127
|
+
CONST42 = 42
|
128
|
+
CONST37
|
129
|
+
module Scope43
|
130
|
+
CONST43 = 43
|
131
|
+
CONST32
|
132
|
+
module Scope44
|
133
|
+
CONST44 = 44
|
134
|
+
CONST28
|
135
|
+
module Scope45
|
136
|
+
CONST45 = 45
|
137
|
+
CONST20
|
138
|
+
module Scope46
|
139
|
+
CONST46 = 46
|
140
|
+
CONST43
|
141
|
+
module Scope47
|
142
|
+
CONST47 = 47
|
143
|
+
CONST2
|
144
|
+
module Scope48
|
145
|
+
CONST48 = 48
|
146
|
+
CONST41
|
147
|
+
module Scope49
|
148
|
+
CONST49 = 49
|
149
|
+
CONST46
|
150
|
+
module Scope50
|
151
|
+
CONST50 = 50
|
152
|
+
CONST17
|
153
|
+
module Scope51
|
154
|
+
CONST51 = 51
|
155
|
+
CONST38
|
156
|
+
module Scope52
|
157
|
+
CONST52 = 52
|
158
|
+
CONST49
|
159
|
+
module Scope53
|
160
|
+
CONST53 = 53
|
161
|
+
CONST9
|
162
|
+
module Scope54
|
163
|
+
CONST54 = 54
|
164
|
+
CONST5
|
165
|
+
module Scope55
|
166
|
+
CONST55 = 55
|
167
|
+
CONST41
|
168
|
+
module Scope56
|
169
|
+
CONST56 = 56
|
170
|
+
CONST11
|
171
|
+
module Scope57
|
172
|
+
CONST57 = 57
|
173
|
+
CONST48
|
174
|
+
module Scope58
|
175
|
+
CONST58 = 58
|
176
|
+
CONST30
|
177
|
+
module Scope59
|
178
|
+
CONST59 = 59
|
179
|
+
CONST53
|
180
|
+
module Scope60
|
181
|
+
CONST60 = 60
|
182
|
+
CONST40
|
183
|
+
module Scope61
|
184
|
+
CONST61 = 61
|
185
|
+
CONST42
|
186
|
+
module Scope62
|
187
|
+
CONST62 = 62
|
188
|
+
CONST52
|
189
|
+
module Scope63
|
190
|
+
CONST63 = 63
|
191
|
+
CONST15
|
192
|
+
module Scope64
|
193
|
+
CONST64 = 64
|
194
|
+
CONST5
|
195
|
+
module Scope65
|
196
|
+
CONST65 = 65
|
197
|
+
CONST62
|
198
|
+
module Scope66
|
199
|
+
CONST66 = 66
|
200
|
+
CONST43
|
201
|
+
module Scope67
|
202
|
+
CONST67 = 67
|
203
|
+
CONST24
|
204
|
+
module Scope68
|
205
|
+
CONST68 = 68
|
206
|
+
CONST48
|
207
|
+
module Scope69
|
208
|
+
CONST69 = 69
|
209
|
+
CONST34
|
210
|
+
module Scope70
|
211
|
+
CONST70 = 70
|
212
|
+
CONST24
|
213
|
+
module Scope71
|
214
|
+
CONST71 = 71
|
215
|
+
CONST12
|
216
|
+
module Scope72
|
217
|
+
CONST72 = 72
|
218
|
+
CONST30
|
219
|
+
module Scope73
|
220
|
+
CONST73 = 73
|
221
|
+
CONST72
|
222
|
+
module Scope74
|
223
|
+
CONST74 = 74
|
224
|
+
CONST40
|
225
|
+
module Scope75
|
226
|
+
CONST75 = 75
|
227
|
+
CONST36
|
228
|
+
module Scope76
|
229
|
+
CONST76 = 76
|
230
|
+
CONST31
|
231
|
+
module Scope77
|
232
|
+
CONST77 = 77
|
233
|
+
CONST30
|
234
|
+
module Scope78
|
235
|
+
CONST78 = 78
|
236
|
+
CONST15
|
237
|
+
module Scope79
|
238
|
+
CONST79 = 79
|
239
|
+
CONST1
|
240
|
+
module Scope80
|
241
|
+
CONST80 = 80
|
242
|
+
CONST70
|
243
|
+
module Scope81
|
244
|
+
CONST81 = 81
|
245
|
+
CONST4
|
246
|
+
module Scope82
|
247
|
+
CONST82 = 82
|
248
|
+
CONST29
|
249
|
+
module Scope83
|
250
|
+
CONST83 = 83
|
251
|
+
CONST31
|
252
|
+
module Scope84
|
253
|
+
CONST84 = 84
|
254
|
+
CONST49
|
255
|
+
module Scope85
|
256
|
+
CONST85 = 85
|
257
|
+
CONST14
|
258
|
+
module Scope86
|
259
|
+
CONST86 = 86
|
260
|
+
CONST34
|
261
|
+
module Scope87
|
262
|
+
CONST87 = 87
|
263
|
+
CONST65
|
264
|
+
module Scope88
|
265
|
+
CONST88 = 88
|
266
|
+
CONST48
|
267
|
+
module Scope89
|
268
|
+
CONST89 = 89
|
269
|
+
CONST70
|
270
|
+
module Scope90
|
271
|
+
CONST90 = 90
|
272
|
+
CONST80
|
273
|
+
module Scope91
|
274
|
+
CONST91 = 91
|
275
|
+
CONST67
|
276
|
+
module Scope92
|
277
|
+
CONST92 = 92
|
278
|
+
CONST34
|
279
|
+
module Scope93
|
280
|
+
CONST93 = 93
|
281
|
+
CONST1
|
282
|
+
module Scope94
|
283
|
+
CONST94 = 94
|
284
|
+
CONST48
|
285
|
+
module Scope95
|
286
|
+
CONST95 = 95
|
287
|
+
CONST18
|
288
|
+
module Scope96
|
289
|
+
CONST96 = 96
|
290
|
+
CONST1
|
291
|
+
module Scope97
|
292
|
+
CONST97 = 97
|
293
|
+
CONST38
|
294
|
+
module Scope98
|
295
|
+
CONST98 = 98
|
296
|
+
CONST37
|
297
|
+
module Scope99
|
298
|
+
CONST99 = 99
|
299
|
+
CONST19
|
300
|
+
module Scope100
|
301
|
+
CONST100 = 100
|
302
|
+
CONST45
|
303
|
+
module Scope101
|
304
|
+
CONST101 = 101
|
305
|
+
CONST26
|
306
|
+
module Scope102
|
307
|
+
CONST102 = 102
|
308
|
+
CONST94
|
309
|
+
module Scope103
|
310
|
+
CONST103 = 103
|
311
|
+
CONST1
|
312
|
+
module Scope104
|
313
|
+
CONST104 = 104
|
314
|
+
CONST65
|
315
|
+
module Scope105
|
316
|
+
CONST105 = 105
|
317
|
+
CONST20
|
318
|
+
module Scope106
|
319
|
+
CONST106 = 106
|
320
|
+
CONST33
|
321
|
+
module Scope107
|
322
|
+
CONST107 = 107
|
323
|
+
CONST51
|
324
|
+
module Scope108
|
325
|
+
CONST108 = 108
|
326
|
+
CONST34
|
327
|
+
module Scope109
|
328
|
+
CONST109 = 109
|
329
|
+
CONST104
|
330
|
+
module Scope110
|
331
|
+
CONST110 = 110
|
332
|
+
CONST98
|
333
|
+
module Scope111
|
334
|
+
CONST111 = 111
|
335
|
+
CONST64
|
336
|
+
module Scope112
|
337
|
+
CONST112 = 112
|
338
|
+
CONST38
|
339
|
+
module Scope113
|
340
|
+
CONST113 = 113
|
341
|
+
CONST23
|
342
|
+
module Scope114
|
343
|
+
CONST114 = 114
|
344
|
+
CONST54
|
345
|
+
module Scope115
|
346
|
+
CONST115 = 115
|
347
|
+
CONST44
|
348
|
+
module Scope116
|
349
|
+
CONST116 = 116
|
350
|
+
CONST7
|
351
|
+
module Scope117
|
352
|
+
CONST117 = 117
|
353
|
+
CONST45
|
354
|
+
module Scope118
|
355
|
+
CONST118 = 118
|
356
|
+
CONST40
|
357
|
+
module Scope119
|
358
|
+
CONST119 = 119
|
359
|
+
CONST34
|
360
|
+
module Scope120
|
361
|
+
CONST120 = 120
|
362
|
+
CONST111
|
363
|
+
module Scope121
|
364
|
+
CONST121 = 121
|
365
|
+
CONST15
|
366
|
+
module Scope122
|
367
|
+
CONST122 = 122
|
368
|
+
CONST111
|
369
|
+
module Scope123
|
370
|
+
CONST123 = 123
|
371
|
+
CONST114
|
372
|
+
module Scope124
|
373
|
+
CONST124 = 124
|
374
|
+
CONST1
|
375
|
+
module Scope125
|
376
|
+
CONST125 = 125
|
377
|
+
CONST106
|
378
|
+
module Scope126
|
379
|
+
CONST126 = 126
|
380
|
+
CONST42
|
381
|
+
module Scope127
|
382
|
+
CONST127 = 127
|
383
|
+
CONST39
|
384
|
+
module Scope128
|
385
|
+
CONST128 = 128
|
386
|
+
CONST124
|
387
|
+
module Scope129
|
388
|
+
CONST129 = 129
|
389
|
+
CONST90
|
390
|
+
module Scope130
|
391
|
+
CONST130 = 130
|
392
|
+
CONST57
|
393
|
+
module Scope131
|
394
|
+
CONST131 = 131
|
395
|
+
CONST53
|
396
|
+
module Scope132
|
397
|
+
CONST132 = 132
|
398
|
+
CONST38
|
399
|
+
module Scope133
|
400
|
+
CONST133 = 133
|
401
|
+
CONST46
|
402
|
+
module Scope134
|
403
|
+
CONST134 = 134
|
404
|
+
CONST20
|
405
|
+
module Scope135
|
406
|
+
CONST135 = 135
|
407
|
+
CONST75
|
408
|
+
module Scope136
|
409
|
+
CONST136 = 136
|
410
|
+
CONST25
|
411
|
+
module Scope137
|
412
|
+
CONST137 = 137
|
413
|
+
CONST26
|
414
|
+
module Scope138
|
415
|
+
CONST138 = 138
|
416
|
+
CONST26
|
417
|
+
module Scope139
|
418
|
+
CONST139 = 139
|
419
|
+
CONST26
|
420
|
+
module Scope140
|
421
|
+
CONST140 = 140
|
422
|
+
CONST110
|
423
|
+
module Scope141
|
424
|
+
CONST141 = 141
|
425
|
+
CONST20
|
426
|
+
module Scope142
|
427
|
+
CONST142 = 142
|
428
|
+
CONST31
|
429
|
+
module Scope143
|
430
|
+
CONST143 = 143
|
431
|
+
CONST9
|
432
|
+
module Scope144
|
433
|
+
CONST144 = 144
|
434
|
+
CONST23
|
435
|
+
module Scope145
|
436
|
+
CONST145 = 145
|
437
|
+
CONST68
|
438
|
+
module Scope146
|
439
|
+
CONST146 = 146
|
440
|
+
CONST144
|
441
|
+
module Scope147
|
442
|
+
CONST147 = 147
|
443
|
+
CONST19
|
444
|
+
module Scope148
|
445
|
+
CONST148 = 148
|
446
|
+
CONST38
|
447
|
+
module Scope149
|
448
|
+
CONST149 = 149
|
449
|
+
CONST136
|
450
|
+
module Scope150
|
451
|
+
CONST150 = 150
|
452
|
+
CONST143
|
453
|
+
module Scope151
|
454
|
+
CONST151 = 151
|
455
|
+
CONST34
|
456
|
+
module Scope152
|
457
|
+
CONST152 = 152
|
458
|
+
CONST53
|
459
|
+
module Scope153
|
460
|
+
CONST153 = 153
|
461
|
+
CONST20
|
462
|
+
module Scope154
|
463
|
+
CONST154 = 154
|
464
|
+
CONST81
|
465
|
+
module Scope155
|
466
|
+
CONST155 = 155
|
467
|
+
CONST69
|
468
|
+
module Scope156
|
469
|
+
CONST156 = 156
|
470
|
+
CONST55
|
471
|
+
module Scope157
|
472
|
+
CONST157 = 157
|
473
|
+
CONST6
|
474
|
+
module Scope158
|
475
|
+
CONST158 = 158
|
476
|
+
CONST73
|
477
|
+
module Scope159
|
478
|
+
CONST159 = 159
|
479
|
+
CONST31
|
480
|
+
module Scope160
|
481
|
+
CONST160 = 160
|
482
|
+
CONST95
|
483
|
+
module Scope161
|
484
|
+
CONST161 = 161
|
485
|
+
CONST148
|
486
|
+
module Scope162
|
487
|
+
CONST162 = 162
|
488
|
+
CONST152
|
489
|
+
module Scope163
|
490
|
+
CONST163 = 163
|
491
|
+
CONST108
|
492
|
+
module Scope164
|
493
|
+
CONST164 = 164
|
494
|
+
CONST157
|
495
|
+
module Scope165
|
496
|
+
CONST165 = 165
|
497
|
+
CONST40
|
498
|
+
module Scope166
|
499
|
+
CONST166 = 166
|
500
|
+
CONST104
|
501
|
+
module Scope167
|
502
|
+
CONST167 = 167
|
503
|
+
CONST61
|
504
|
+
module Scope168
|
505
|
+
CONST168 = 168
|
506
|
+
CONST114
|
507
|
+
module Scope169
|
508
|
+
CONST169 = 169
|
509
|
+
CONST36
|
510
|
+
module Scope170
|
511
|
+
CONST170 = 170
|
512
|
+
CONST85
|
513
|
+
module Scope171
|
514
|
+
CONST171 = 171
|
515
|
+
CONST153
|
516
|
+
module Scope172
|
517
|
+
CONST172 = 172
|
518
|
+
CONST117
|
519
|
+
module Scope173
|
520
|
+
CONST173 = 173
|
521
|
+
CONST45
|
522
|
+
module Scope174
|
523
|
+
CONST174 = 174
|
524
|
+
CONST47
|
525
|
+
module Scope175
|
526
|
+
CONST175 = 175
|
527
|
+
CONST25
|
528
|
+
module Scope176
|
529
|
+
CONST176 = 176
|
530
|
+
CONST12
|
531
|
+
module Scope177
|
532
|
+
CONST177 = 177
|
533
|
+
CONST38
|
534
|
+
module Scope178
|
535
|
+
CONST178 = 178
|
536
|
+
CONST33
|
537
|
+
module Scope179
|
538
|
+
CONST179 = 179
|
539
|
+
CONST178
|
540
|
+
module Scope180
|
541
|
+
CONST180 = 180
|
542
|
+
CONST33
|
543
|
+
module Scope181
|
544
|
+
CONST181 = 181
|
545
|
+
CONST4
|
546
|
+
module Scope182
|
547
|
+
CONST182 = 182
|
548
|
+
CONST66
|
549
|
+
module Scope183
|
550
|
+
CONST183 = 183
|
551
|
+
CONST75
|
552
|
+
module Scope184
|
553
|
+
CONST184 = 184
|
554
|
+
CONST30
|
555
|
+
module Scope185
|
556
|
+
CONST185 = 185
|
557
|
+
CONST141
|
558
|
+
module Scope186
|
559
|
+
CONST186 = 186
|
560
|
+
CONST124
|
561
|
+
module Scope187
|
562
|
+
CONST187 = 187
|
563
|
+
CONST27
|
564
|
+
module Scope188
|
565
|
+
CONST188 = 188
|
566
|
+
CONST180
|
567
|
+
module Scope189
|
568
|
+
CONST189 = 189
|
569
|
+
CONST39
|
570
|
+
module Scope190
|
571
|
+
CONST190 = 190
|
572
|
+
CONST110
|
573
|
+
module Scope191
|
574
|
+
CONST191 = 191
|
575
|
+
CONST112
|
576
|
+
module Scope192
|
577
|
+
CONST192 = 192
|
578
|
+
CONST16
|
579
|
+
module Scope193
|
580
|
+
CONST193 = 193
|
581
|
+
CONST131
|
582
|
+
module Scope194
|
583
|
+
CONST194 = 194
|
584
|
+
CONST51
|
585
|
+
module Scope195
|
586
|
+
CONST195 = 195
|
587
|
+
CONST130
|
588
|
+
module Scope196
|
589
|
+
CONST196 = 196
|
590
|
+
CONST151
|
591
|
+
module Scope197
|
592
|
+
CONST197 = 197
|
593
|
+
CONST74
|
594
|
+
module Scope198
|
595
|
+
CONST198 = 198
|
596
|
+
CONST181
|
597
|
+
module Scope199
|
598
|
+
CONST199 = 199
|
599
|
+
CONST20
|
600
|
+
end
|
601
|
+
end
|
602
|
+
end
|
603
|
+
end
|
604
|
+
end
|
605
|
+
end
|
606
|
+
end
|
607
|
+
end
|
608
|
+
end
|
609
|
+
end
|
610
|
+
end
|
611
|
+
end
|
612
|
+
end
|
613
|
+
end
|
614
|
+
end
|
615
|
+
end
|
616
|
+
end
|
617
|
+
end
|
618
|
+
end
|
619
|
+
end
|
620
|
+
end
|
621
|
+
end
|
622
|
+
end
|
623
|
+
end
|
624
|
+
end
|
625
|
+
end
|
626
|
+
end
|
627
|
+
end
|
628
|
+
end
|
629
|
+
end
|
630
|
+
end
|
631
|
+
end
|
632
|
+
end
|
633
|
+
end
|
634
|
+
end
|
635
|
+
end
|
636
|
+
end
|
637
|
+
end
|
638
|
+
end
|
639
|
+
end
|
640
|
+
end
|
641
|
+
end
|
642
|
+
end
|
643
|
+
end
|
644
|
+
end
|
645
|
+
end
|
646
|
+
end
|
647
|
+
end
|
648
|
+
end
|
649
|
+
end
|
650
|
+
end
|
651
|
+
end
|
652
|
+
end
|
653
|
+
end
|
654
|
+
end
|
655
|
+
end
|
656
|
+
end
|
657
|
+
end
|
658
|
+
end
|
659
|
+
end
|
660
|
+
end
|
661
|
+
end
|
662
|
+
end
|
663
|
+
end
|
664
|
+
end
|
665
|
+
end
|
666
|
+
end
|
667
|
+
end
|
668
|
+
end
|
669
|
+
end
|
670
|
+
end
|
671
|
+
end
|
672
|
+
end
|
673
|
+
end
|
674
|
+
end
|
675
|
+
end
|
676
|
+
end
|
677
|
+
end
|
678
|
+
end
|
679
|
+
end
|
680
|
+
end
|
681
|
+
end
|
682
|
+
end
|
683
|
+
end
|
684
|
+
end
|
685
|
+
end
|
686
|
+
end
|
687
|
+
end
|
688
|
+
end
|
689
|
+
end
|
690
|
+
end
|
691
|
+
end
|
692
|
+
end
|
693
|
+
end
|
694
|
+
end
|
695
|
+
end
|
696
|
+
end
|
697
|
+
end
|
698
|
+
end
|
699
|
+
end
|
700
|
+
end
|
701
|
+
end
|
702
|
+
end
|
703
|
+
end
|
704
|
+
end
|
705
|
+
end
|
706
|
+
end
|
707
|
+
end
|
708
|
+
end
|
709
|
+
end
|
710
|
+
end
|
711
|
+
end
|
712
|
+
end
|
713
|
+
end
|
714
|
+
end
|
715
|
+
end
|
716
|
+
end
|
717
|
+
end
|
718
|
+
end
|
719
|
+
end
|
720
|
+
end
|
721
|
+
end
|
722
|
+
end
|
723
|
+
end
|
724
|
+
end
|
725
|
+
end
|
726
|
+
end
|
727
|
+
end
|
728
|
+
end
|
729
|
+
end
|
730
|
+
end
|
731
|
+
end
|
732
|
+
end
|
733
|
+
end
|
734
|
+
end
|
735
|
+
end
|
736
|
+
end
|
737
|
+
end
|
738
|
+
end
|
739
|
+
end
|
740
|
+
end
|
741
|
+
end
|
742
|
+
end
|
743
|
+
end
|
744
|
+
end
|
745
|
+
end
|
746
|
+
end
|
747
|
+
end
|
748
|
+
end
|
749
|
+
end
|
750
|
+
end
|
751
|
+
end
|
752
|
+
end
|
753
|
+
end
|
754
|
+
end
|
755
|
+
end
|
756
|
+
end
|
757
|
+
end
|
758
|
+
end
|
759
|
+
end
|
760
|
+
end
|
761
|
+
end
|
762
|
+
end
|
763
|
+
end
|
764
|
+
end
|
765
|
+
end
|
766
|
+
end
|
767
|
+
end
|
768
|
+
end
|
769
|
+
end
|
770
|
+
end
|
771
|
+
end
|
772
|
+
end
|
773
|
+
end
|
774
|
+
end
|
775
|
+
end
|
776
|
+
end
|
777
|
+
end
|
778
|
+
end
|
779
|
+
end
|
780
|
+
end
|
781
|
+
end
|
782
|
+
end
|
783
|
+
end
|
784
|
+
end
|
785
|
+
end
|
786
|
+
end
|
787
|
+
end
|
788
|
+
end
|
789
|
+
end
|
790
|
+
end
|
791
|
+
end
|
792
|
+
end
|
793
|
+
end
|
794
|
+
end
|
795
|
+
end
|
796
|
+
end
|
797
|
+
end
|
798
|
+
end
|
799
|
+
end
|