parameters: (args)
return_statement: return (
          CtuConfig(collect=args.ctu_phases.collect,
                    analyze=args.ctu_phases.analyze,
                    dir=args.ctu_dir,
                    extdef_map_cmd=args.extdef_map_cmd)
          if hasattr(args, 'ctu_phases') and hasattr(args.ctu_phases, 'dir')
          else CtuConfig(collect=False, analyze=False, dir='', extdef_map_cmd=''))
docstring: CTU configuration is created from the chosen phases and dir.
docstring_summary: CTU configuration is created from the chosen phases and dir.
docstring_tokens: CTU configuration is created from the chosen phases and dir .
function: def get_ctu_config_from_args(args):
      """ CTU configuration is created from the chosen phases and dir. """
  
      return (
          CtuConfig(collect=args.ctu_phases.collect,
                    analyze=args.ctu_phases.analyze,
                    dir=args.ctu_dir,
                    extdef_map_cmd=args.extdef_map_cmd)
          if hasattr(args, 'ctu_phases') and hasattr(args.ctu_phases, 'dir')
          else CtuConfig(collect=False, analyze=False, dir='', extdef_map_cmd=''))
function_tokens: def get_ctu_config_from_args ( args ) : return ( CtuConfig ( collect = args . ctu_phases . collect , analyze = args . ctu_phases . analyze , dir = args . ctu_dir , extdef_map_cmd = args . extdef_map_cmd ) if hasattr ( args , 'ctu_phases' ) and hasattr ( args . ctu_phases , 'dir' ) else CtuConfig ( collect = False , analyze = False , dir = '' , extdef_map_cmd = '' ) )