Exemplo n.º 1
0
 private static void RemoveTypeHint(ModuleBodyElementDeclaration member, ParserRuleContext functionContext, IModuleRewriter rewriter)
 {
     if (member.TypeHint != null)
     {
         rewriter.Remove(functionContext.GetDescendent <VBAParser.TypeHintContext>());
     }
 }
Exemplo n.º 2
0
 private static void RemoveTypeHint(IInspectionResult result, ParserRuleContext functionContext, IModuleRewriter rewriter)
 {
     if (result.Target.TypeHint != null)
     {
         rewriter.Remove(functionContext.GetDescendent <VBAParser.TypeHintContext>());
     }
 }