Sha256: fbf3604439d7880ab7044a6f102025912bb09251b42785fd2ace972f1f6eba60

Contents?: true

Size: 379 Bytes

Versions: 23

Compression:

Stored size: 379 Bytes

Contents

module WebIDL
  module Parser
    module DebugHelper

      def terminal_parse_failure(*args)
        p :terminal_parse_failure => args
        super
      end

      def instantiate_node(node, input, interval, *args)
        p :instantiating_from => caller.first[/in `(.+)'/, 1], :str => input[interval]
        super
      end

    end # DebugHelper
  end # Parser
end # WebIDL

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
webidl-0.0.3 lib/webidl/parser/debug_helper.rb
webidl-0.0.2 lib/webidl/parser/debug_helper.rb
webidl-0.0.1 lib/webidl/parser/debug_helper.rb