class Chronic::Scalar
def self.scan(tokens, options)
def self.scan(tokens, options) # for each token tokens.each_index do |i| if t = scan_for_scalars(tokens[i], tokens[i + 1]) then tokens[i].tag(t) end if t = scan_for_days(tokens[i], tokens[i + 1]) then tokens[i].tag(t) end if t = scan_for_months(tokens[i], tokens[i + 1]) then tokens[i].tag(t) end if t = scan_for_years(tokens[i], tokens[i + 1], options) then tokens[i].tag(t) end end end