Sha256: a2cd23e39373da31b352cc89c02ee3a0b7cecef25ffed76d6e0655d8bf3bd967
Contents?: true
Size: 545 Bytes
Versions: 7
Compression:
Stored size: 545 Bytes
Contents
module Treetop module Runtime class ParseFailure < ParseResult attr_reader :index def initialize(input, index, nested_results = []) super(input, nested_results) @index = index end def line input.line_of(index) end def column input.column_of(index) end def success? false end def failure? true end def interval @interval ||= (index...index) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems