flitsr.spectrum.Details¶
- class flitsr.spectrum.Details¶
Bases:
RecordClassThe information pertaining to and uniquely identifying a
Spectrum.Element.- Parameters:
pname – Either the full name of the element (if no other information is given), or the path name.
method – The method name of the element.
line_no – The line number of the element.
extra – Any additional information related to this element; May include an index for duplicate elements.
Added in version 2.5.0.
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)constructDetails(details)Static factory method to construct a
Detailsobject from a list of details strings (seeflitsr.spectrumBuilder.SpectrumBuilder.addElementfor format).Attributes
- classmethod constructDetails(details: List[str]) Details¶
Static factory method to construct a
Detailsobject from a list of details strings (seeflitsr.spectrumBuilder.SpectrumBuilder.addElementfor format).- Parameters:
details – A list of strings representing the details of a given
Spectrum.Element.- Returns:
A
Detailsobject for the element details given by details.