/external/rust/crates/syn/src/ |
D | lit.rs | 126 token.set_span(span); in new() 221 g.set_span(span); in parse_with() 223 other => other.set_span(span), in parse_with() 240 pub fn set_span(&mut self, span: Span) { in set_span() method 241 self.repr.token.set_span(span) in set_span() 252 token.set_span(span); in new() 271 pub fn set_span(&mut self, span: Span) { in set_span() method 272 self.repr.token.set_span(span) in set_span() 283 token.set_span(span); in new() 302 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 | 257 punct.set_span(start); in to_compile_error() 264 string.set_span(end); in to_compile_error() 268 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/proc-macro-hack/src/ |
D | error.rs | 24 punct.set_span(err.span); in compile_error() 31 string.set_span(err.span); in compile_error() 35 group.set_span(err.span); in compile_error()
|
/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 | 237 group.set_span(span); in expand() 385 apostrophe.set_span(span); in pasted_to_tokens()
|
/external/rust/crates/quote/src/ |
D | runtime.rs | 194 g.set_span(span); in push_group_spanned() 206 t.set_span(span); in parse_spanned() 242 punct.set_span(span); 253 punct.set_span(span); 256 punct.set_span(span); 268 punct.set_span(span); 271 punct.set_span(span); 274 punct.set_span(span); 351 id.set_span(span); in mk_ident()
|
/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 | 540 pub fn set_span(&mut self, span: Span) { in set_span() method 542 TokenTree::Group(t) => t.set_span(span), in set_span() 543 TokenTree::Ident(t) => t.set_span(span), in set_span() 544 TokenTree::Punct(t) => t.set_span(span), in set_span() 545 TokenTree::Literal(t) => t.set_span(span), in set_span() 708 pub fn set_span(&mut self, span: Span) { in set_span() method 709 self.inner.set_span(span.inner) in set_span() 788 pub fn set_span(&mut self, span: Span) { in set_span() method 944 pub fn set_span(&mut self, span: Span) { in set_span() method 945 self.inner.set_span(span.inner); in set_span() [all …]
|
D | wrapper.rs | 158 punct.set_span(tt.span().inner.unwrap_nightly()); in into_compiler_token() 333 o.set_span(crate::Span::_new(Span::Compiler(tt.span()))); in next() 637 pub fn set_span(&mut self, span: Span) { in set_span() method 639 (Group::Compiler(g), Span::Compiler(s)) => g.set_span(s), in set_span() 640 (Group::Fallback(g), Span::Fallback(s)) => g.set_span(s), in set_span() 697 i.set_span(s); in new_raw() 715 pub fn set_span(&mut self, span: Span) { in set_span() method 717 (Ident::Compiler(t), Span::Compiler(s)) => t.set_span(s), in set_span() 718 (Ident::Fallback(t), Span::Fallback(s)) => t.set_span(s), in set_span() 883 pub fn set_span(&mut self, span: Span) { in set_span() method [all …]
|
D | fallback.rs | 96 punct.set_span(crate::Span::_new_stable(literal.span)); in push_token() 579 pub fn set_span(&mut self, span: Span) { in set_span() method 651 pub fn set_span(&mut self, span: Span) { in set_span() method 881 pub fn set_span(&mut self, span: Span) { in set_span() function
|
D | parse.rs | 213 g.set_span(Span { in token_stream() 226 tt.set_span(crate::Span::_new_stable(Span { in token_stream() 821 tt.set_span(span); in doc_comment() 826 tt.set_span(span); in doc_comment()
|
/external/rust/crates/thiserror-impl/src/ |
D | attr.rs | 153 group.set_span(delimiter.span); in parse_token_expr() 160 group.set_span(delimiter.span); in parse_token_expr() 167 group.set_span(delimiter.span); in parse_token_expr()
|
D | fmt.rs | 58 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/structopt-derive/src/ |
D | spanned.rs | 91 tt.set_span(self.span); in to_tokens()
|
/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 | 117 token.set_span(span); in respan_tokens() 278 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()
|
/external/rust/cxx/syntax/ |
D | check.rs | 616 brace_token.set_span(strct.brace_token.span); in span_for_struct_error() 623 brace_token.set_span(enm.brace_token.span); in span_for_enum_error()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 455 location_->set_span(0, token.line); in StartAt() 456 location_->set_span(1, token.column); in StartAt() 460 location_->set_span(0, other.location_->span(0)); in StartAt() 461 location_->set_span(1, other.location_->span(1)); in StartAt()
|