예제 #1
0
파일: AST.cs 프로젝트: knapiontek/therion
 public void Watch(Define candidate)
 {
     if (candidateList == DefineList.none)
     {
         candidateList = new DefineList();
     }
     candidateList.Add(candidate);
 }
예제 #2
0
파일: AST.cs 프로젝트: knapiontek/therion
 public DefineList Clone()
 {
     if (IsMutable)
     {
         var defineList = new DefineList();
         foreach (var define in this)
         {
             defineList.Add(define.Clone());
         }
         return(defineList);
     }
     return(this);
 }