class Chronic::Repeater

def self.scan(tokens, options)

Returns an Array of tokens.

options - The Hash of options specified in Chronic::parse.
tokens - An Array of tokens to scan.

tags to each token.
Scan an Array of Token objects and apply any necessary Repeater
def self.scan(tokens, options)
  tokens.each do |token|
    if t = scan_for_season_names(token, options) then token.tag(t); next end
    if t = scan_for_month_names(token, options) then token.tag(t); next end
    if t = scan_for_day_names(token, options) then token.tag(t); next end
    if t = scan_for_day_portions(token, options) then token.tag(t); next end
    if t = scan_for_times(token, options) then token.tag(t); next end
    if t = scan_for_units(token, options) then token.tag(t); next end
  end
end