Trait gimli::LineNumberProgram [] [src]

pub trait LineNumberProgram<'input, Endian> where Endian: Endianity {
    fn header<'a>(&'a self) -> &'a LineNumberProgramHeader<'input, Endian>;
    fn add_file(&mut self, file: FileEntry<'input>);
}

A LineNumberProgram provides access to a LineNumberProgramHeader and a way to add files to the files table if necessary. Gimli consumers should never need to use or see this trait.

Required Methods

Get a reference to the held LineNumberProgramHeader.

Add a file to the file table if necessary.

Implementors