def METHOD_NAME(self, node):
    att = []
    if self.options.get('sourcepos'):
        pos = node.sourcepos
        if pos:
            att.append(['data-sourcepos', str(pos[0][0]) + ':' +
                        str(pos[0][1]) + '-' + str(pos[1][0]) + ':' +
                        str(pos[1][1])])
    return att