refactor parsing transforms into processors