pygccxml.declarations.location module

class location_t(file_name='', line=- 1)

Bases: object

Provides information about the location of the declaration within the source file.

as_tuple()

Return tuple(self.file_name, self.line)

property file_name

Absolute source file name, type string.

property line

Line number, type int.