Searched refs:punct_offset (Results 1 – 2 of 2) sorted by relevance
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/mbe/src/ |
H A D | syntax_bridge.rs | 470 punct_offset: Option<(SyntaxToken, TextSize)>, field 488 punct_offset: None, in new() 548 if let Some((punct, offset)) = self.punct_offset.clone() { in bump() 552 self.punct_offset = Some((punct.clone(), offset)); in bump() 566 self.punct_offset = Some((curr.clone(), 0.into())); in bump() 569 self.punct_offset = None; in bump() 578 if let Some((punct, mut offset)) = self.punct_offset.clone() { in peek()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/mbe/src/ |
H A D | syntax_bridge.rs | 470 punct_offset: Option<(SyntaxToken, TextSize)>, field 488 punct_offset: None, in new() 548 if let Some((punct, offset)) = self.punct_offset.clone() { in bump() 552 self.punct_offset = Some((punct.clone(), offset)); in bump() 566 self.punct_offset = Some((curr.clone(), 0.into())); in bump() 569 self.punct_offset = None; in bump() 578 if let Some((punct, mut offset)) = self.punct_offset.clone() { in peek()
|