public void Visit(TargetToken token) { valueResolver.Normalize(token); currentTarget = Project.Targets.AddNewTarget(token["Name"]); getAndDo( token, depends => currentTarget.DependsOnTargets = depends, "DependsOnTargets", "Depends", "Deps"); getAndDo( token, condition => currentTarget.Condition = condition, "Condition", "If", "When"); }
public void Visit(TargetToken token) { VisitedTargetToken++; TotalCount++; Tokens.Add(token); }