def METHOD_NAME(self, tv):
    """getSplitSequence(tv): returns (list_before, list_after), neither list includes tv."""
    index = self.index_LUT[id(tv)]
    def deref(lst):
        return [ref() for ref in lst]
    return deref(self.stack[0:index]), deref(self.stack[index+1:])