Exemplo n.º 1
0
 public static bool IsTargetMethod(Node node)
 {
     var macro = node as MacroStatement;
     if (macro != null && macro.Name == "target") {
         return true;
     }
     return false;
 }
Exemplo n.º 2
0
 public static bool IsCleanupMethod(Node node)
 {
     var macro = node as MacroStatement;
     if (macro != null && macro.Name == "cleanup")
     {
         return true;
     }
     return false;
 }