parameters: (ctx, target, kw)
docstring: Util-function to register each provided visual studio filter parameter in a central lookup map
      * Forked version of RegisterVisualStudioFilter
docstring_summary: Util-function to register each provided visual studio filter parameter in a central lookup map
      * Forked version of RegisterVisualStudioFilter
docstring_tokens: Util - function to register each provided visual studio filter parameter in a central lookup map * Forked version of RegisterVisualStudioFilter
function: def register_visual_studio_filter(ctx, target, kw):
      """
      Util-function to register each provided visual studio filter parameter in a central lookup map
      * Forked version of RegisterVisualStudioFilter
      """
      vs_filter = kw.get('vs_filter', None)
      if not vs_filter:
          raise Errors.WafError("Missing required 'vs_filter' keyword for module definition in file: '{}'".format(ctx.cur_script.abspath()))
  
      if not hasattr(ctx, 'vs_project_filters'):
          ctx.vs_project_filters = {}
  
      ctx.vs_project_filters[target] = vs_filter
function_tokens: def register_visual_studio_filter ( ctx , target , kw ) : vs_filter = kw . get ( 'vs_filter' , None ) if not vs_filter : raise Errors . WafError ( "Missing required 'vs_filter' keyword for module definition in file: '{}'" . format ( ctx . cur_script . abspath ( ) ) ) if not hasattr ( ctx , 'vs_project_filters' ) : ctx . vs_project_filters = { } ctx . vs_project_filters [ target ] = vs_filter