ament_copyright.parser module
- class ament_copyright.parser.ContributingDescriptor(path)
Bases:
FileDescriptor
- parse()
- class ament_copyright.parser.CopyrightDescriptor(name, year_range)
Bases:
object
- class ament_copyright.parser.FileDescriptor(filetype, path)
Bases:
object
- identify_license(content, license_part, licenses=None)
- parse()
- read()
- class ament_copyright.parser.LicenseDescriptor(path)
Bases:
FileDescriptor
- parse()
- class ament_copyright.parser.SourceDescriptor(path)
Bases:
FileDescriptor
- identify_copyright()
- parse()
- ament_copyright.parser.determine_filetype(path)
- ament_copyright.parser.get_comment_block(content, index)
- ament_copyright.parser.get_index_of_next_line(content, index)
- ament_copyright.parser.get_multiline_comment_block(content, index)
- ament_copyright.parser.is_coding_line(content, index)
- ament_copyright.parser.is_comment_line(content, index)
- ament_copyright.parser.is_empty_line(content, index)
- ament_copyright.parser.is_shebang_line(content, index)
- ament_copyright.parser.parse_file(path)
- ament_copyright.parser.remove_formatting(text)
- ament_copyright.parser.scan_past_coding_and_shebang_lines(content)
- ament_copyright.parser.scan_past_empty_lines(content, index)
- ament_copyright.parser.search_copyright_information(content)
- ament_copyright.parser.split_template(sections, separators)