Home
last modified time | relevance | path

Searched defs:SourceMap (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/rust/compiler/rustc_span/src/
Dprofiling.rs16 fn record_arg_with_span<A>(&mut self, source_map: &SourceMap, event_arg: A, span: crate::Span) in record_arg_with_span()
22 fn record_arg_with_span<A>(&mut self, source_map: &SourceMap, event_arg: A, span: crate::Span) in record_arg_with_span()
Dsource_map.rs176 pub struct SourceMap { struct
180 files: RwLock<SourceMapFiles>, argument
183 // `--remap-path-prefix` to all `SourceFile`s allocated within this `SourceMap`. argument
190 impl SourceMap { argument
191 pub fn new(path_mapping: FilePathMapping) -> SourceMap { in new()
203 ) -> SourceMap { in with_file_loader_and_hash_kind()
/third_party/rust/rust/compiler/rustc_parse/src/lexer/
Ddiagnostics.rs24 pub fn same_indentation_level(sm: &SourceMap, open_sp: Span, close_sp: Span) -> bool { in same_indentation_level()
60 sm: &SourceMap, in report_suspicious_mismatch_block()
/third_party/rust/rust/compiler/rustc_errors/src/
Dannotate_snippet_emitter_writer.rs72 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
104 source_map: Option<Lrc<SourceMap>>, in new()
Demitter.rs64 source_map: Option<Lrc<SourceMap>>, in new_emitter()
238 fn source_map(&self) -> Option<&Lrc<SourceMap>>; in source_map()
533 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
591 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
667 source_map: Option<Lrc<SourceMap>>, in stderr()
695 source_map: Option<Lrc<SourceMap>>, in new()
2800 pub fn is_case_difference(sm: &SourceMap, suggested: &str, sp: Span) -> bool { in is_case_difference()
Djson.rs57 source_map: Lrc<SourceMap>, in stderr()
111 source_map: Lrc<SourceMap>, in new()
215 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
Dlib.rs188 sm: &SourceMap, in splice_lines()
550 sm: Option<Lrc<SourceMap>>, in with_tty_emitter()
565 sm: Option<Lrc<SourceMap>>, in with_tty_emitter_and_flags()
1835 source_map: &SourceMap, in add_elided_lifetime_in_path_suggestion()
/third_party/rust/rust/src/tools/rustfmt/src/parse/
Dsession.rs44 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
83 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
122 source_map: Lrc<SourceMap>, in default_handler()
380 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
401 source_map: Option<Lrc<SourceMap>>, in build_emitter()
/third_party/rust/rust/compiler/rustc_span/src/source_map/
Dtests.rs13 impl SourceMap { impl
280 impl SourceMapExtension for SourceMap { implementation
/third_party/weex-loader/test/
Dtest.js32 const SourceMap = require('source-map'); constant
/third_party/rust/crates/syn/benches/
Drust.rs67 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in bench()
/third_party/rust/rust/src/librustdoc/passes/lint/
Dcheck_code_block_syntax.rs170 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
/third_party/rust/rust/compiler/rustc_ast/src/util/
Dcomments.rs177 pub fn gather_comments(sm: &SourceMap, path: FileName, src: String) -> Vec<Comment> { in gather_comments()
/third_party/typescript/src/harness/
DdocumentsUtil.ts63 export class SourceMap { class
/third_party/rust/rust/src/tools/clippy/clippy_utils/src/
Dsource.rs52 fn f(sm: &SourceMap, sp: Range<BytePos>) -> Option<SourceFileRange> { in get_source_text()
474 pub fn trim_span(sm: &SourceMap, span: Span) -> Span { in trim_span()
Dlib.rs2520 pub fn span_contains_comment(sm: &SourceMap, span: Span) -> bool { in span_contains_comment()
2532 pub fn span_extract_comment(sm: &SourceMap, span: Span) -> String { in span_extract_comment()
2541 pub fn span_find_starting_semi(sm: &SourceMap, span: Span) -> Span { in span_find_starting_semi()
/third_party/rust/rust/compiler/rustc_session/src/
Dparse.rs273 pub fn source_map(&self) -> &SourceMap { in source_map()
277 pub fn clone_source_map(&self) -> Lrc<SourceMap> { in clone_source_map()
Dsession.rs737 pub fn source_map(&self) -> &SourceMap { in source_map()
1316 source_map: Lrc<SourceMap>, in default_emitter()
/third_party/rust/crates/proc-macro2/src/
Dfallback.rs442 struct SourceMap { struct
447 impl SourceMap { impl
/third_party/rust/rust/compiler/rustc_expand/src/mbe/
Ddiagnostics.rs304 pub(super) fn annotate_doc_comment(err: &mut Diagnostic, sm: &SourceMap, span: Span) { in annotate_doc_comment()
/third_party/rust/rust/src/librustdoc/
Dcore.rs127 source_map: Option<Lrc<source_map::SourceMap>>, in new_handler()
Ddoctest.rs943 source_map: Option<Lrc<SourceMap>>, in new()
/third_party/rust/rust/compiler/rustc_mir_transform/src/coverage/
Dmod.rs505 source_map: &SourceMap, in make_code_region()
/third_party/rust/rust/compiler/rustc_hir_pretty/src/
Dlib.rs152 sm: &'a SourceMap, in print_crate()
171 sm: &'a SourceMap, in new_from_input()
/third_party/rust/rust/compiler/rustc_ast_pretty/src/pprust/
Dstate.rs61 pub fn new(sm: &'a SourceMap, filename: FileName, input: String) -> Comments<'a> { in new()
103 sm: &'a SourceMap, in print_crate()

12