Refactored tokener transformer for class methods.
Refactored tokener transformer for class methods.

- Extracts the tokener transformer for improved reuse.
- Cleans up the Rubocop/Reek violations.

bkuhlmann/tokener,bkuhlmann/tokener,bkuhlmann/tokener