Add a SourceMap to libreader.

Give crate clients the possiblility of mapping source-level entity names
to proper entity references that are valid in the parsed function.
This commit is contained in:
Jakob Stoklund Olesen
2016-09-16 12:14:23 -07:00
parent d5ed27cce6
commit 3796be696f
4 changed files with 146 additions and 3 deletions

View File

@@ -8,8 +8,10 @@ extern crate cretonne;
pub use parser::{Result, parse_functions, parse_test};
pub use testcommand::{TestCommand, TestOption};
pub use testfile::{TestFile, Details};
pub use sourcemap::SourceMap;
mod lexer;
mod parser;
mod testcommand;
mod testfile;
mod sourcemap;