Home
last modified time | relevance | path

Searched refs:Parenthesis (Results 1 – 25 of 32) sorted by relevance

12

/external/rust/crates/syn/src/
Dtt.rs13 (Delimiter::Parenthesis, Delimiter::Parenthesis) in eq()
56 Delimiter::Parenthesis => 0u8.hash(h), in hash()
Dgroup.rs38 parse_delimited(input, Delimiter::Parenthesis).map(|(span, content)| Parens { in parse_parens()
83 Delimiter::Parenthesis => "expected parentheses", in parse_delimited()
Dmac.rs40 MacroDelimiter::Paren(_) => Delimiter::Parenthesis, in delimiter_span_close()
158 Delimiter::Parenthesis => MacroDelimiter::Paren(Paren(span)), in parse_delimiter()
Dtoken.rs611 lookahead::is_delimiter(cursor, Delimiter::Parenthesis) in peek()
1001 "(" => Delimiter::Parenthesis, in delim()
/external/rust/crates/syn/tests/
Dtest_expr.rs126 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_func()
150 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_func()
205 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_macro()
Dtest_stmt.rs57 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_none_group()
Dtest_parse_buffer.rs73 Delimiter::Parenthesis, in trailing_empty_none_group()
Dtest_item.rs16 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_attr()
Dtest_visibility.rs124 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_empty_group_vis()
/external/rust/crates/proc-macro2/tests/
Dtest_fmt.rs8 let parens_empty = Group::new(Delimiter::Parenthesis, TokenStream::new()); in test_fmt_group()
9 let parens_nonempty = Group::new(Delimiter::Parenthesis, inner.clone()); in test_fmt_group()
/external/rust/crates/rustversion/src/
Dlib.rs229 Delimiter::Parenthesis, in try_cfg()
269 Delimiter::Parenthesis, in try_attr()
274 Delimiter::Parenthesis, in try_attr()
Dtoken.rs47 Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::Parenthesis => { in parse_paren()
63 Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::Parenthesis => { in parse_optional_paren()
/external/rust/crates/proc-macro-hack/src/
Dparse.rs3 use proc_macro::Delimiter::{Brace, Bracket, Parenthesis};
229 let ref mut parens = parse_group(braces, Parenthesis)?; in parse_enum_hack()
249 let ref mut path = parse_group(attr, Parenthesis)?; in parse_fake_call_site()
Dquote.rs40 ::proc_macro::Delimiter::Parenthesis,
Dlib.rs509 … #pub_name::Group::new(#pub_name::Delimiter::Parenthesis, #pub_name::TokenStream::new()), in expand_define()
/external/rust/crates/paste/src/
Dattr.rs49 if group.delimiter() == Delimiter::Parenthesis && leading_path % 3 == 1 => in expand_attr()
91 let mut group = Group::new(Delimiter::Parenthesis, expanded); in expand_attr()
Dsegment.rs44 if group.delimiter() == Delimiter::Parenthesis => in parse()
/external/rust/crates/proc-macro2/src/
Dwrapper.rs578 Delimiter::Parenthesis => proc_macro::Delimiter::Parenthesis, in new()
594 proc_macro::Delimiter::Parenthesis => Delimiter::Parenthesis, in delimiter()
Dparse.rs184 b'(' => Some(Delimiter::Parenthesis), in token_stream()
196 b')' => Some(Delimiter::Parenthesis), in token_stream()
/external/rust/crates/thiserror-impl/src/
Dattr.rs152 let mut group = Group::new(Delimiter::Parenthesis, nested); in parse_token_expr()
/external/rust/crates/proc-macro-error/src/
Ddiagnostic.rs314 if group.delimiter() == Delimiter::Parenthesis in from()
/external/rust/crates/quote/src/
Dlib.rs848 $crate::__private::Delimiter::Parenthesis,
1061 $crate::__private::Delimiter::Parenthesis,
/external/libcups/conf/
Dmime.types23 # ( expr ) Parenthesis for expression grouping
/external/rust/crates/pin-project-internal/src/pin_project/
Dderive.rs342 Fields::Unnamed(_) => visit_fields(cx, None, fields, Delimiter::Parenthesis)?, in parse_struct()
504 Fields::Unnamed(_) => visit_fields(cx, Some(ident), fields, Delimiter::Parenthesis)?, in visit_variants()
/external/rust/crates/clap/.github/
DCONTRIBUTING.md84 …s optional, and may be a single file, directory, or logical component. Parenthesis can be omitted …

12