Struct cton_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.

[src]

Look up a value entity.

[src]

Look up a EBB entity.

[src]

Look up a stack slot entity.

[src]

Look up a global variable entity.

[src]

Look up a heap entity.

[src]

Look up a signature entity.

[src]

Look up a function entity.

[src]

Look up a jump table entity.

[src]

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

[src]

Get the source location where an entity was defined.

impl SourceMap
[src]

[src]

Create a new empty SourceMap.

[src]

Define the value entity.

[src]

Define the ebb entity.

[src]

Define the stack slot entity.

[src]

Define the global variable entity.

[src]

Define the heap entity.

[src]

Define the signature entity.

[src]

Define the external function entity.

[src]

Define the jump table entity.

[src]

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]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SourceMap

impl Sync for SourceMap