Sha256: 9a160adbc77af1dfec0015dd9c9d136acdfecf0b6e8fe16639ccc9306eb84fa4
Contents?: true
Size: 291 Bytes
Versions: 133
Compression:
Stored size: 291 Bytes
Contents
class Regexp TOKEN_KEYS = %i[ type token text ts te level set_level conditional_level ].freeze Token = Struct.new(*TOKEN_KEYS) do attr_accessor :previous, :next def offset [ts, te] end def length te - ts end end end
Version data entries
133 entries across 129 versions & 20 rubygems