コード例 #1
0
 public override bool test(CSsemi.CSemiExp semi)
 {
     int index = semi.Contains(":");
     if (index != -1)
     {
         CSsemi.CSemiExp local = new CSsemi.CSemiExp();
         local.displayNewLines = false;
         local.Add("Inheritance").Add(semi[index + 1]).Add(semi[index - 2]).Add(semi[index - 1]);
         doActions(local);
         if ((index = semi.Contains(",")) != -1)
         {
             local.insert(1, semi[index + 1]);
             local.remove(2);
             doActions(local);
         }
         return true;
     }
     return false;
 }