parameters: (parser, args, from_build_command)
docstring: Validation done by the parser itself, but semantic check still
      needs to be done. This method is doing that.
docstring_summary: Validation done by the parser itself, but semantic check still
      needs to be done. This method is doing that.
docstring_tokens: Validation done by the parser itself but semantic check still needs to be done . This method is doing that .
function: def validate(parser, args, from_build_command):
      """ Validation done by the parser itself, but semantic check still
      needs to be done. This method is doing that. """
  
      # Make plugins always a list. (It might be None when not specified.)
      args.plugins = args.plugins if args.plugins else []
  
      if args.help_checkers_verbose:
          print_checkers(get_checkers(args.clang, args.plugins))
          parser.exit()
      elif args.help_checkers:
          print_active_checkers(get_checkers(args.clang, args.plugins))
          parser.exit()
  
      if from_build_command and not args.build:
          parser.error('missing build command')
function_tokens: def validate ( parser , args , from_build_command ) : # Make plugins always a list. (It might be None when not specified.) args . plugins = args . plugins if args . plugins else [ ] if args . help_checkers_verbose : print_checkers ( get_checkers ( args . clang , args . plugins ) ) parser . exit ( ) elif args . help_checkers : print_active_checkers ( get_checkers ( args . clang , args . plugins ) ) parser . exit ( ) if from_build_command and not args . build : parser . error ( 'missing build command' )