Sha256: a66f98d03a7a838bf21ca3683d578a11b2f04823192fdfc4db932a77f90a7e6d

Contents?: true

Size: 469 Bytes

Versions: 17

Compression:

Stored size: 469 Bytes

Contents

module Rubrowser
  module Parser
    class File
      # This class is a workaround for this behaviour
      # https://github.com/whitequark/parser/commit/95401a20e8f4532e32f6361da3918ac8e4bd18c7
      # the snippet that is using this class in File is copied from:
      # https://github.com/eapache/starscope/pull/166/files
      class Builder < ::Parser::Builders::Default
        def string_value(token)
          value(token)
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rubrowser-2.11 lib/rubrowser/parser/file/builder.rb
rubrowser-2.10 lib/rubrowser/parser/file/builder.rb
rubrowser-2.9.1 lib/rubrowser/parser/file/builder.rb
rubrowser-2.9.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.8.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.7.1 lib/rubrowser/parser/file/builder.rb
rubrowser-2.7.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.6.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.5.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.4.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.3.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.2.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.1.0 lib/rubrowser/parser/file/builder.rb
rubrowser-2.0.0 lib/rubrowser/parser/file/builder.rb
rubrowser-0.3.1 lib/rubrowser/parser/file/builder.rb
rubrowser-0.3.0 lib/rubrowser/parser/file/builder.rb
rubrowser-0.2.7 lib/rubrowser/parser/file/builder.rb