'Parse a string of SVG transform="" data.'

def parse(self, text):

    next = self.lexer.lex(text).next
    commands = []
    token = next()
    while (token[0] is not EOF):
        (command, token) = self.rule_svg_transform(next, token)
        commands.append(command)
    return commands
