[][src]Type Definition cpclib_asm::preamble::Listing

type Listing = BaseListing<Token>;

Standard listing is a specific implementation

Trait Implementations

impl ListingExt for Listing[src]

fn add_code<S: AsRef<str> + Display>(
    &mut self,
    code: S
) -> Result<(), AssemblerError>
[src]

Add additional tokens, that need to be parsed from a string, to the listing

fn number_of_bytes(&self) -> Result<usize, AssemblerError>[src]

Compute the size of the listing when assembling it.

fn estimated_duration(&self) -> Result<usize, String>[src]

Get the execution duration. If field duration is set, returns it. Otherwise, compute it

fn save<P: AsRef<Path>>(&self, path: P) -> Result<()>[src]

Save the listing on disc in a string version

impl ListingFromStr for Listing[src]