Пример #1
0
 public override IExpression Visit(ICompletionExpression entity, int context)
 {
     return(new CompletionExpression
     {
         VariableReference = _refAnon.Anonymize(entity.VariableReference),
         TypeReference = entity.TypeReference.ToAnonymousName(),
         Token = entity.Token
     });
 }
Пример #2
0
 public override IStatement Visit(IForEachLoop stmt, int context)
 {
     return(new ForEachLoop
     {
         Declaration = _ref.Anonymize(stmt.Declaration),
         LoopedReference = _ref.Anonymize(stmt.LoopedReference),
         Body = Anonymize(stmt.Body)
     });
 }