| /third_party/rust/rust/compiler/rustc_span/src/ |
| D | profiling.rs | 16 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()
|
| D | source_map.rs | 176 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/ |
| D | diagnostics.rs | 24 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/ |
| D | annotate_snippet_emitter_writer.rs | 72 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map() 104 source_map: Option<Lrc<SourceMap>>, in new()
|
| D | emitter.rs | 64 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()
|
| D | json.rs | 57 source_map: Lrc<SourceMap>, in stderr() 111 source_map: Lrc<SourceMap>, in new() 215 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
|
| D | lib.rs | 188 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/ |
| D | session.rs | 44 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/ |
| D | tests.rs | 13 impl SourceMap { impl 280 impl SourceMapExtension for SourceMap { implementation
|
| /third_party/weex-loader/test/ |
| D | test.js | 32 const SourceMap = require('source-map'); constant
|
| /third_party/rust/crates/syn/benches/ |
| D | rust.rs | 67 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in bench()
|
| /third_party/rust/rust/src/librustdoc/passes/lint/ |
| D | check_code_block_syntax.rs | 170 fn source_map(&self) -> Option<&Lrc<SourceMap>> { in source_map()
|
| /third_party/rust/rust/compiler/rustc_ast/src/util/ |
| D | comments.rs | 177 pub fn gather_comments(sm: &SourceMap, path: FileName, src: String) -> Vec<Comment> { in gather_comments()
|
| /third_party/typescript/src/harness/ |
| D | documentsUtil.ts | 63 export class SourceMap { class
|
| /third_party/rust/rust/src/tools/clippy/clippy_utils/src/ |
| D | source.rs | 52 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()
|
| D | lib.rs | 2520 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/ |
| D | parse.rs | 273 pub fn source_map(&self) -> &SourceMap { in source_map() 277 pub fn clone_source_map(&self) -> Lrc<SourceMap> { in clone_source_map()
|
| D | session.rs | 737 pub fn source_map(&self) -> &SourceMap { in source_map() 1316 source_map: Lrc<SourceMap>, in default_emitter()
|
| /third_party/rust/crates/proc-macro2/src/ |
| D | fallback.rs | 442 struct SourceMap { struct 447 impl SourceMap { impl
|
| /third_party/rust/rust/compiler/rustc_expand/src/mbe/ |
| D | diagnostics.rs | 304 pub(super) fn annotate_doc_comment(err: &mut Diagnostic, sm: &SourceMap, span: Span) { in annotate_doc_comment()
|
| /third_party/rust/rust/src/librustdoc/ |
| D | core.rs | 127 source_map: Option<Lrc<source_map::SourceMap>>, in new_handler()
|
| D | doctest.rs | 943 source_map: Option<Lrc<SourceMap>>, in new()
|
| /third_party/rust/rust/compiler/rustc_mir_transform/src/coverage/ |
| D | mod.rs | 505 source_map: &SourceMap, in make_code_region()
|
| /third_party/rust/rust/compiler/rustc_hir_pretty/src/ |
| D | lib.rs | 152 sm: &'a SourceMap, in print_crate() 171 sm: &'a SourceMap, in new_from_input()
|
| /third_party/rust/rust/compiler/rustc_ast_pretty/src/pprust/ |
| D | state.rs | 61 pub fn new(sm: &'a SourceMap, filename: FileName, input: String) -> Comments<'a> { in new() 103 sm: &'a SourceMap, in print_crate()
|