Pelzini

This is the code documentation for the Pelzini project

class Transformer

The top-level class of all transformers.
Transformers alter the parser model before it is outputted, for creating reports, etc.

Source code (6 results)

/processor/config.php   Highlighted file source

Line 37: protected $transformers = array();
Line 52: $dpgTransformers = array();
Line 97: $this->transformers = $dpgTransformers;
Line 171: * @return array Transformer classes
Line 173: public function getTransformers() {
Line 174: return $this->transformers;

/processor/fake_namespace_dirs_transformer.php   Highlighted file source

Line 23: * Contains the {@link QualityCheckTransformer} class
Line 25: * @package Transformers
Line 31: * This is a transformer that does quality checks on the codebase
Line 37: class FakeNamespaceDirsTransformer extends Transformer {
Line 40: * Set up the quality check transformer
Line 52: * This transformer generates a report of objects that do not have good enough documentation

/processor/main.php   Highlighted file source

Line 141: foreach ($config->getTransformers() as $transformer) {
Line 142: output_status ('Running ' . get_class($transformer));
Line 144: $result = $transformer->transform($parser_model);
Line 147: output_status ('Processed transformer ' . get_class($transformer) . ' successfully');

/processor/quality_check_transformer.php   Highlighted file source

Line 23: * Contains the {@link QualityCheckTransformer} class
Line 25: * @package Transformers
Line 31: * This is a transformer that does quality checks on the codebase
Line 37: class QualityCheckTransformer extends Transformer {
Line 43: * Set up the quality check transformer
Line 59: * This transformer generates a report of objects that do not have good enough documentation

/processor/transformer.php   Highlighted file source

Line 23: * Contains the {@link Transformer} class
Line 25: * @package Transformers
Line 31: * The top-level class of all transformers.
Line 32: * Transformers alter the parser model before it is outputted, for creating reports, etc.
Line 34: abstract class Transformer

/processor/virtual_enumerations_transformer.php   Highlighted file source

Line 23: * Contains the {@link VirtualEnumerationsTransformer} class
Line 25: * @package Transformers
Line 31: * This transformer converts constants that start with the same name into an enumeration of that name.
Line 40: class VirtualEnumerationsTransformer extends Transformer {
Line 50: * This transformer converts constants that start with the same name into an enumeration of that name.

A total of 32 lines in 6 files were found