original_string: public function addPostProcessor($callback, $autoload = false)
  	{
  		if ($autoload) {
  			$name = str_replace('Dwoo_Processor_', '', $callback);
  			$class = 'Dwoo_Processor_'.$name;
  
  			if (class_exists($class, false)) {
  				$callback = array(new $class($this), 'process');
  			} elseif (function_exists($class)) {
  				$callback = $class;
  			} else {
  				$callback = array('autoload'=>true, 'class'=>$class, 'name'=>$name);
  			}
  
  			$this->processors['post'][] = $callback;
  		} else {
  			$this->processors['post'][] = $callback;
  		}
  	}
code: public function addPostProcessor($callback, $autoload = false)
  	{
  		if ($autoload) {
  			$name = str_replace('Dwoo_Processor_', '', $callback);
  			$class = 'Dwoo_Processor_'.$name;
  
  			if (class_exists($class, false)) {
  				$callback = array(new $class($this), 'process');
  			} elseif (function_exists($class)) {
  				$callback = $class;
  			} else {
  				$callback = array('autoload'=>true, 'class'=>$class, 'name'=>$name);
  			}
  
  			$this->processors['post'][] = $callback;
  		} else {
  			$this->processors['post'][] = $callback;
  		}
  	}
code_tokens: public function addPostProcessor ( $ callback , $ autoload = false ) { if ( $ autoload ) { $ name = str_replace ( 'Dwoo_Processor_' , '' , $ callback ) ; $ class = 'Dwoo_Processor_' . $ name ; if ( class_exists ( $ class , false ) ) { $ callback = array ( new $ class ( $ this ) , 'process' ) ; } elseif ( function_exists ( $ class ) ) { $ callback = $ class ; } else { $ callback = array ( 'autoload' => true , 'class' => $ class , 'name' => $ name ) ; } $ this -> processors [ 'post' ] [ ] = $ callback ; } else { $ this -> processors [ 'post' ] [ ] = $ callback ; } }
docstring: adds a postprocessor to the compiler, it will be called
  before the template is compiled
  
  @param mixed $callback either a valid callback to the postprocessor or a simple name if the autoload is set to true
  @param bool $autoload if set to true, the postprocessor is auto-loaded from one of the plugin directories, else you must provide a valid callback
docstring_tokens: adds a postprocessor to the compiler it will be called before the template is compiled