Trait swc_common::source_map::SourceMapGenConfig [−][src]
pub trait SourceMapGenConfig {
fn file_name_to_source(&self, f: &FileName) -> String;
fn names(&self) -> Vec<&str>ⓘ { ... }
fn inline_sources_content(&self, f: &FileName) -> bool { ... }
}
Required methods
fn file_name_to_source(&self, f: &FileName) -> String
fn file_name_to_source(&self, f: &FileName) -> String
Provided methods
fn inline_sources_content(&self, f: &FileName) -> bool
fn inline_sources_content(&self, f: &FileName) -> bool
You can override this to control sourceContents
.