/// <summary> /// Parses the day expression. /// Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday /// </summary> /// <returns></returns> public override Expr Parse() { EnvToken token = _tokenIt.NextToken.Token as EnvToken; var expr = new EnvExpr(token.Scope, token.VarName); _tokenIt.Advance(); return(expr); }
/// <summary> /// Parses the day expression. /// Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday /// </summary> /// <returns></returns> public override Expr Parse() { EnvToken token = _tokenIt.NextToken.Token as EnvToken; var expr = new EnvExpr(token.Scope, token.VarName); _tokenIt.Advance(); return expr; }