module Opal::Parser::DefaultConfig

def self.included(klass)

def self.included(klass)
  klass.extend(ClassMethods)
  klass.diagnostics_consumer = ->(diagnostic) do
    if RUBY_ENGINE != 'opal'
      $stderr.puts(diagnostic.render)
    end
  end
end