Sha256: 74eb57b23325e2991ef90756e4e482399bc40b54a833bb391d90fb1d275f4023
Contents?: true
Size: 352 Bytes
Versions: 1
Compression:
Stored size: 352 Bytes
Contents
module Treetop class ParseFailure < ParseResult attr_reader :index def initialize(index, nested_failures = []) super(nested_failures) @index = index end def success? false end def failure? true end def interval @interval ||= (index...index) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
treetop-0.1.0 | lib/treetop/parser/parse_failure.rb |