def transform(self, data, mark, next):
method = getattr(self, '<STR_LIT>' % self.current, None)<EOL>return method(data, mark, next) if method else data<EOL>
Apply the appropriate transformation function on current state data,
which is supposed to end at this point.

It is expected transformation logic makes use of :attr:`start`,
:attr:`current` and :attr:`streaming` instance attributes to
bettee know the state is being left.

:param data: string to transform (includes start)
:type data: str
:param mark: string producing the new state jump
:type mark: str
:param next: state is about to star, None on finish
:type next: str or None

:returns: transformed data
:rtype: str