class Reg::LookAhead

Public Class Methods

new(reg) click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 84
def initialize(reg)
  @reg=reg
end

Public Instance Methods

itemrange() click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 96
def itemrange
  0..0
end
regs(i) click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 88
def regs(i)
  @reg
end
subregs() click to toggle source
# File lib/redparse/reg_more_sugar.rb, line 92
def subregs
  [@reg]
end