'Parameters
data : str
String with lines separated by \''

def __init__(self, data):

    if isinstance(data, list):
        self._str = data
    else:
        self._str = data.split('\n')
    self.reset()
