def METHOD_NAME(self, node):
    with node.stream() as stream:
        for (line_number, line) in enumerate(stream):
            if not line.decode().rstrip().endswith('\\'):
                continue
            self.add_message('backslash-line-continuation', line=line_number)