blob: 79c4ffd7b87cbc486b46927199db8fa1b7b3e7cf [file] [log] [blame]
package atom
// Transformer is the interface that wraps the basic Transform method.
// Transform takes a given atom and identifier and Writes out a new atom and
// identifier to the output atom Writer. Transform must not modify the atom in
// any way.
type Transformer interface {
Transform(id Id, atom Atom, output Writer)