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