original_string: public function compile(ContainerBuilder $container)
      {
          try {
              foreach ($this->passConfig->getPasses() as $pass) {
                  $pass->process($container);
              }
          } catch (\Exception $e) {
              $usedEnvs = [];
              $prev = $e;
  
              do {
                  $msg = $prev->getMessage();
  
                  if ($msg !== $resolvedMsg = $container->resolveEnvPlaceholders($msg, null, $usedEnvs)) {
                      $r = new \ReflectionProperty($prev, 'message');
                      $r->setAccessible(true);
                      $r->setValue($prev, $resolvedMsg);
                  }
              } while ($prev = $prev->getPrevious());
  
              if ($usedEnvs) {
                  $e = new EnvParameterException($usedEnvs, $e);
              }
  
              throw $e;
          } finally {
              $this->getServiceReferenceGraph()->clear();
          }
      }
code: public function compile(ContainerBuilder $container)
      {
          try {
              foreach ($this->passConfig->getPasses() as $pass) {
                  $pass->process($container);
              }
          } catch (\Exception $e) {
              $usedEnvs = [];
              $prev = $e;
  
              do {
                  $msg = $prev->getMessage();
  
                  if ($msg !== $resolvedMsg = $container->resolveEnvPlaceholders($msg, null, $usedEnvs)) {
                      $r = new \ReflectionProperty($prev, 'message');
                      $r->setAccessible(true);
                      $r->setValue($prev, $resolvedMsg);
                  }
              } while ($prev = $prev->getPrevious());
  
              if ($usedEnvs) {
                  $e = new EnvParameterException($usedEnvs, $e);
              }
  
              throw $e;
          } finally {
              $this->getServiceReferenceGraph()->clear();
          }
      }
code_tokens: public function compile ( ContainerBuilder $ container ) { try { foreach ( $ this -> passConfig -> getPasses ( ) as $ pass ) { $ pass -> process ( $ container ) ; } } catch ( \ Exception $ e ) { $ usedEnvs = [ ] ; $ prev = $ e ; do { $ msg = $ prev -> getMessage ( ) ; if ( $ msg !== $ resolvedMsg = $ container -> resolveEnvPlaceholders ( $ msg , null , $ usedEnvs ) ) { $ r = new \ ReflectionProperty ( $ prev , 'message' ) ; $ r -> setAccessible ( true ) ; $ r -> setValue ( $ prev , $ resolvedMsg ) ; } } while ( $ prev = $ prev -> getPrevious ( ) ) ; if ( $ usedEnvs ) { $ e = new EnvParameterException ( $ usedEnvs , $ e ) ; } throw $ e ; } finally { $ this -> getServiceReferenceGraph ( ) -> clear ( ) ; } }
docstring: Run the Compiler and process all Passes.
docstring_tokens: Run the Compiler and process all Passes .