static ITag ScanDayPortions(Token token, Options options) { ITag tag = null; DayPortionPatterns.ForEach(item => { if (item.Pattern.IsMatch(token.Value)) { tag = new EnumRepeaterDayPortion(item.Portion); return; } }); return(tag); }
static ITag ScanDayPortions(Token token, Options options) { ITag tag = null; DayPortionPatterns.ForEach(item => { if (item.Pattern.IsMatch(token.Value)) { tag = new EnumRepeaterDayPortion(item.Portion); return; } }); return tag; }