/external/rust/crates/syn/src/ |
D | lit.rs | 123 token.set_span(span); in new() 218 g.set_span(span); in parse_with() 220 other => other.set_span(span), in parse_with() 237 pub fn set_span(&mut self, span: Span) { in set_span() method 238 self.repr.token.set_span(span); in set_span() 253 token.set_span(span); in new() 272 pub fn set_span(&mut self, span: Span) { in set_span() method 273 self.repr.token.set_span(span); in set_span() 288 token.set_span(span); in new() 307 pub fn set_span(&mut self, span: Span) { in set_span() method [all …]
|
D | lifetime.rs | 67 pub fn set_span(&mut self, span: Span) { in set_span() method 69 self.ident.set_span(span); in set_span() 149 apostrophe.set_span(self.apostrophe); in to_tokens()
|
D | error.rs | 269 punct.set_span(start); in to_compile_error() 276 string.set_span(end); in to_compile_error() 280 group.set_span(end); in to_compile_error()
|
D | mac.rs | 45 group.set_span(match macro_delimiter { in delimiter_span_close()
|
D | token.rs | 983 op.set_span(*span); in punct() 988 op.set_span(*span); in punct() 1010 g.set_span(span); in delim()
|
/external/rust/crates/quote/src/ |
D | runtime.rs | 178 g.set_span(span); in push_group_spanned() 202 g.set_span(span); in respan_token_tree() 204 other => other.set_span(span), in respan_token_tree() 263 apostrophe.set_span(self.span); in push_lifetime_spanned() 289 punct.set_span(span); 300 punct.set_span(span); 303 punct.set_span(span); 315 punct.set_span(span); 318 punct.set_span(span); 321 punct.set_span(span);
|
/external/rust/crates/paste/src/ |
D | error.rs | 31 punct.set_span(self.begin); in to_compile_error() 38 string.set_span(self.end); in to_compile_error() 42 group.set_span(self.end); in to_compile_error()
|
D | attr.rs | 92 group.set_span(span); in expand_attr() 138 lit.set_span(span); in do_paste_name_value_attr()
|
D | lib.rs | 250 group.set_span(span); in expand() 436 apostrophe.set_span(span); in pasted_to_tokens()
|
/external/rust/crates/rustversion/src/ |
D | error.rs | 40 punct.set_span(self.begin); in into_compile_error() 47 string.set_span(self.end); in into_compile_error() 51 group.set_span(self.end); in into_compile_error()
|
/external/rust/crates/proc-macro2/src/ |
D | lib.rs | 581 pub fn set_span(&mut self, span: Span) { in set_span() method 583 TokenTree::Group(t) => t.set_span(span), in set_span() 584 TokenTree::Ident(t) => t.set_span(span), in set_span() 585 TokenTree::Punct(t) => t.set_span(span), in set_span() 586 TokenTree::Literal(t) => t.set_span(span), in set_span() 757 pub fn set_span(&mut self, span: Span) { in set_span() method 758 self.inner.set_span(span.inner); in set_span() 837 pub fn set_span(&mut self, span: Span) { in set_span() method 993 pub fn set_span(&mut self, span: Span) { in set_span() method 994 self.inner.set_span(span.inner); in set_span() [all …]
|
D | wrapper.rs | 164 punct.set_span(tt.span().inner.unwrap_nightly()); in into_compiler_token() 339 o.set_span(crate::Span::_new(Span::Compiler(tt.span()))); in next() 651 pub fn set_span(&mut self, span: Span) { in set_span() method 653 (Group::Compiler(g), Span::Compiler(s)) => g.set_span(s), in set_span() 654 (Group::Fallback(g), Span::Fallback(s)) => g.set_span(s), in set_span() 722 id.set_span(s); in new_raw() 739 pub fn set_span(&mut self, span: Span) { in set_span() method 741 (Ident::Compiler(t), Span::Compiler(s)) => t.set_span(s), in set_span() 742 (Ident::Fallback(t), Span::Fallback(s)) => t.set_span(s), in set_span() 915 pub fn set_span(&mut self, span: Span) { in set_span() method [all …]
|
D | parse.rs | 213 g.set_span(Span { in token_stream() 226 tt.set_span(crate::Span::_new_fallback(Span { in token_stream() 815 pound.set_span(span); in doc_comment() 820 bang.set_span(span); in doc_comment() 826 equal.set_span(span); in doc_comment() 828 literal.set_span(span); in doc_comment() 835 group.set_span(span); in doc_comment()
|
D | fallback.rs | 105 punct.set_span(crate::Span::_new_fallback(literal.span)); in push_token_from_proc_macro() 702 pub fn set_span(&mut self, span: Span) { in set_span() method 774 pub fn set_span(&mut self, span: Span) { in set_span() method 1011 pub fn set_span(&mut self, span: Span) { in set_span() function
|
/external/rust/crates/thiserror-impl/src/ |
D | attr.rs | 169 group.set_span(delimiter.span); in parse_token_expr() 176 group.set_span(delimiter.span); in parse_token_expr() 183 group.set_span(delimiter.span); in parse_token_expr()
|
D | fmt.rs | 62 ident.set_span(span); in expand_shorthand()
|
/external/rust/crates/async-trait/src/ |
D | receiver.rs | 97 ident.set_span(self.0); in prepend_underscore_to_self() 127 new.set_span(group.span()); in visit_token_stream()
|
/external/rust/crates/serde_derive/src/internals/ |
D | respan.rs | 14 token.set_span(span); in respan_token()
|
/external/rust/crates/litrs/src/ |
D | err.rs | 36 tokens.into_iter().map(|mut t| { t.set_span(span); t }).collect() in to_compile_error() 61 tokens.into_iter().map(|mut t| { t.set_span(span); t }).collect() in to_compile_error2()
|
/external/rust/crates/document-features/ |
D | lib.rs | 180 punct.set_span(span); in compile_error() 187 string.set_span(span); in compile_error() 191 group.set_span(span); in compile_error()
|
/external/rust/crates/clap_derive/src/utils/ |
D | spanned.rs | 83 tt.set_span(self.span); in to_tokens()
|
/external/rust/crates/async-stream-impl/src/ |
D | lib.rs | 91 new.set_span(group.span()); in visit_token_stream_impl() 294 new_group.set_span(group.span()); in replace_for_await()
|
/external/rust/crates/proc-macro-error-attr/src/ |
D | lib.rs | 31 message.set_span(self.span); in into_compile_error()
|
/external/rust/crates/pin-project-internal/src/ |
D | utils.rs | 127 token.set_span(span); in respan_tokens() 290 new.set_span(group.span()); in visit_token_stream()
|
/external/rust/crates/proc-macro-error/src/ |
D | diagnostic.rs | 256 msg.set_span(span_range.last); in to_tokens()
|