Sha256: d0d690e3e8bd004979b6c8e8f60e45cd41e24646245ba2d8e9317d2f9138206b

Contents?: true

Size: 330 Bytes

Versions: 18

Compression:

Stored size: 330 Bytes

Contents

# typed: true

module Parlour
  class ParseError < StandardError
    extend T::Sig

    sig { returns(Parser::Source::Buffer) }
    attr_reader :buffer

    sig { returns(Parser::Source::Range) }
    attr_reader :range

    def initialize(buffer, range)
      super()
      @buffer = buffer
      @range = range
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
parlour-9.0.0 lib/parlour/parse_error.rb
parlour-8.1.0 lib/parlour/parse_error.rb
parlour-8.0.0 lib/parlour/parse_error.rb
parlour-7.0.0 lib/parlour/parse_error.rb
parlour-6.0.1 lib/parlour/parse_error.rb
parlour-6.0.0 lib/parlour/parse_error.rb
parlour-5.0.0 lib/parlour/parse_error.rb
parlour-5.0.0.beta.6 lib/parlour/parse_error.rb
parlour-5.0.0.beta.5 lib/parlour/parse_error.rb
parlour-5.0.0.beta.4 lib/parlour/parse_error.rb
parlour-5.0.0.beta.3 lib/parlour/parse_error.rb
parlour-5.0.0.beta.2 lib/parlour/parse_error.rb
parlour-5.0.0.beta.1 lib/parlour/parse_error.rb
parlour-4.0.1 lib/parlour/parse_error.rb
parlour-4.0.0 lib/parlour/parse_error.rb
parlour-3.0.0 lib/parlour/parse_error.rb
parlour-2.1.0 lib/parlour/parse_error.rb
parlour-2.0.0 lib/parlour/parse_error.rb