Sha256: 8e1a2d526fb0155b3efab1248651d587c0b90c8ebed014e519085384d6cefb47

Contents?: true

Size: 283 Bytes

Versions: 28

Compression:

Stored size: 283 Bytes

Contents

module Ruby2JS
  class Converter

    # (prototype expr) 

    # NOTE: prototype is a synthetic 

    handle :prototype do |expr|
      begin
        prototype, @prototype = @prototype, true
        parse(expr)
      ensure
        @prototype = prototype
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby2js-2.0.4 lib/ruby2js/converter/prototype.rb
ruby2js-2.0.3 lib/ruby2js/converter/prototype.rb
ruby2js-2.0.2 lib/ruby2js/converter/prototype.rb
ruby2js-2.0.1 lib/ruby2js/converter/prototype.rb
ruby2js-2.0.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.15.1 lib/ruby2js/converter/prototype.rb
ruby2js-1.15.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.14.1 lib/ruby2js/converter/prototype.rb
ruby2js-1.14.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.13.1 lib/ruby2js/converter/prototype.rb
ruby2js-1.13.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.12.2 lib/ruby2js/converter/prototype.rb
ruby2js-1.12.1 lib/ruby2js/converter/prototype.rb
ruby2js-1.12.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.11.1 lib/ruby2js/converter/prototype.rb
ruby2js-1.11.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.10.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.9.3 lib/ruby2js/converter/prototype.rb
ruby2js-1.9.2 lib/ruby2js/converter/prototype.rb
ruby2js-1.9.1 lib/ruby2js/converter/prototype.rb