

def parse_type_output(view, s):
    result = []
    for l in s.splitlines():
        matched = TYPE_RE.match(l)
        if matched:
            result.append(RegionType(matched.group('type'), FilePosition.from_type_pos(s, int(matched.group('line1')), int(matched.group('col1'))), FilePosition.from_type_pos(view, int(matched.group('line2')), int(matched.group('col2')))))
    return result

dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py parse_type_output/VarMisuse@59/71 `view`->`s`