pygccxml.declarations.comment module

Describe a C++ comment declaration.

class comment_t(name='', declarations=None)

Bases: object

property begin_column

An integer value which corresponds to the column of the file where the comment begins @type: int

property begin_line

An integer value which corresponds to the line of the file where the comment begins @type: int

property begin_offset

An integer value representing the number of bytes from the beginning of the file to the start of the comment @type: int

property end_column

An integer value which corresponds to the column of character in a line of the file where the comment ends @type: int

property end_line

An integer value which corresponds to the line of the file where the comment ends @type: int

property end_offset

An integer value representing the number of bytes from the beginning of the file to the end of the comment @type: int

property location

An instance of the location_t class which contains the file where the comment can be found. @type: location_t

property text

A list of strings where each entry in the list is one line of the comment. These comments will not end in a newline @type: list