Sha256: e438b133ecd6a5434d6bb136df55555dbcaf0c9db301e75b1bc7c1e424588a48

Contents?: true

Size: 305 Bytes

Versions: 13

Compression:

Stored size: 305 Bytes

Contents

module Antlr4::Runtime

  class ConsoleErrorListener < BaseErrorListener
    include Singleton

    def syntaxError(_recognizer, _offending_symbol, line, char_position_in_line, msg, _e)
      STDERR.puts 'line ' << line.to_s << ':' << char_position_in_line.to_s << ' ' << msg.to_s << ''
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
antlr4-runtime-0.2.12 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.11 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.10 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.9 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.8 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.7 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.6 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.5 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.4 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.3 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.2 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.1 lib/antlr4/runtime/console_error_listener.rb
antlr4-runtime-0.2.0 lib/antlr4/runtime/console_error_listener.rb