'Prepares the results for output for this file.
Arguments:
file_string: The string of content for this file.
line_comment_delim: A string representing the start of a line
comment. For example "##" for Mako and "//" for JavaScript.'

def prepare_results(self, file_string, line_comment_delim=None):

    string_lines = StringLines(file_string)
    for violation in self.violations:
        violation.prepare_results(self.full_path, string_lines)
    if (line_comment_delim is not None):
        self._filter_commented_code(line_comment_delim)
