Pelzini

This is the code documentation for the Pelzini project

class VirtualEnumerationsTransformer

This transformer converts constants that start with the same name into an enumeration of that name.

So if a file has the following constants:
  APP_VERSION
  ITEM_TYPE_APPLE
  ITEM_TYPE_ORANGE

The APPLE and ORANGE constants will become a part of the virtual enumeration ITEM_TYPE.

Class structure