Sha256: 56385bf1b3f6adadeee1fe9c3f478ba1624f509311ba2ee7b18711eb448433c7
Contents?: true
Size: 900 Bytes
Versions: 18
Compression:
Stored size: 900 Bytes
Contents
module Regexp::Expression module Backreference class Base < Regexp::Expression::Base; end class Name < Backreference::Base attr_reader :name def initialize(token) @name = token.text[3..-2] super(token) end end class Number < Backreference::Base attr_reader :number def initialize(token) @number = token.text[3..-2] super(token) end end class NumberRelative < Backreference::Number; end class NameNestLevel < Backreference::Base; end class NumberNestLevel < Backreference::Base; end class NameCall < Backreference::Base attr_reader :name def initialize(token) @name = token.text[3..-2] super(token) end end class NumberCall < Backreference::Base; end class NumberCallRelative < Backreference::Base; end end end
Version data entries
18 entries across 18 versions & 1 rubygems