示例#1
0
 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");
 }
示例#2
0
 public void Visit(TargetToken token)
 {
     VisitedTargetToken++;
       TotalCount++;
       Tokens.Add(token);
 }