parameters: (self)
docstring: minifies the code.
  
      this is also when we do certain optimizations that must be done right before or after minification
docstring_summary: minifies the code.
docstring_tokens: minifies the code .
function: def do_minify(self):
      """minifies the code.
  
      this is also when we do certain optimizations that must be done right before or after minification
      """
      if shared.Settings.SPLIT_MEMORY:
        # must be done before minification
        self.queue += ['splitMemory', 'simplifyExpressions']
  
      if self.opt_level >= 2:
        if self.debug_level < 2 and not self.use_closure_compiler == 2:
          self.queue += ['minifyNames']
        if self.debug_level == 0:
          self.minify_whitespace = True
  
      if self.use_closure_compiler == 1:
        self.queue += ['closure']
      elif self.debug_level <= 2 and shared.Settings.FINALIZE_ASM_JS and not self.use_closure_compiler:
        self.cleanup_shell = True
function_tokens: def do_minify ( self ) : if shared . Settings . SPLIT_MEMORY : # must be done before minification self . queue += [ 'splitMemory' , 'simplifyExpressions' ] if self . opt_level >= 2 : if self . debug_level < 2 and not self . use_closure_compiler == 2 : self . queue += [ 'minifyNames' ] if self . debug_level == 0 : self . minify_whitespace = True if self . use_closure_compiler == 1 : self . queue += [ 'closure' ] elif self . debug_level <= 2 and shared . Settings . FINALIZE_ASM_JS and not self . use_closure_compiler : self . cleanup_shell = True