Struct static_analyser::codemap::CodeMap [] [src]

pub struct CodeMap { /* fields omitted */ }

A mapping of Spans to the files in which they are located.

Methods

impl CodeMap
[src]

Create a new, empty CodeMap.

Add a new file to the CodeMap and get back a reference to it.

Get the substring that this Span corresponds to.

The files that this CodeMap contains.

Trait Implementations

impl Debug for CodeMap
[src]

Formats the value using the given formatter.

impl Default for CodeMap
[src]

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