Sha256: f3a1d8b3b3b88c44455b6233c9632007df3a9511478fb27b618137aa69208bb5

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

module Rubrowser
  module Parser
    # 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubrowser-0.2.6 lib/rubrowser/parser/builder.rb