Home
last modified time | relevance | path

Searched refs:empty_or_trailing (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/syn-mid/src/
Dpat.rs228 let dot2_token = if fields.empty_or_trailing() && content.peek(Token![..]) { in pat_struct()
331 if !self.fields.empty_or_trailing() && self.dot2_token.is_some() { in to_tokens()
Dfunc.rs233 if !self.inputs.empty_or_trailing() { in to_tokens()
/external/rust/crates/syn/src/
Dpunctuated.rs166 self.empty_or_trailing(), in push_value()
210 pub fn empty_or_trailing(&self) -> bool { in empty_or_trailing() method
223 if !self.empty_or_trailing() { in push()
469 self.empty_or_trailing(), in extend()
Dpat.rs488 let dot2_token = if fields.empty_or_trailing() && content.peek(Token![..]) { in pat_struct()
801 if !self.fields.empty_or_trailing() && self.dot2_token.is_some() { in to_tokens()
Dty.rs729 if inputs.empty_or_trailing() && args.peek(Token![...]) { in parse_bare_fn()
1122 if !self.inputs.empty_or_trailing() { in to_tokens()
Ditem.rs3326 if !self.inputs.empty_or_trailing() { in to_tokens()