Struct cretonne_reader::SourceMap[][src]

pub struct SourceMap { /* fields omitted */ }

Mapping from entity names to source locations.

Methods

impl SourceMap
[src]

Read-only interface which is exposed outside the parser crate.

Look up a value entity.

Look up a EBB entity.

Look up a stack slot entity.

Look up a global value entity.

Look up a heap entity.

Look up a signature entity.

Look up a function entity.

Look up a jump table entity.

Look up an entity by source name. Returns the entity reference corresponding to name, if it exists.

Get the source location where an entity was defined.

impl SourceMap
[src]

Create a new empty SourceMap.

Define the value entity.

Define the ebb entity.

Define the stack slot entity.

Define the global value entity.

Define the heap entity.

Define the signature entity.

Define the external function entity.

Define the jump table entity.

Define an entity. This can be used for instructions whose numbers never appear in source, or implicitly defined signatures.

Trait Implementations

impl Debug for SourceMap
[src]

Formats the value using the given formatter. Read more

impl Default for SourceMap
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for SourceMap

impl Sync for SourceMap