Home
last modified time | relevance | path

Searched defs:ParseStream (Results 1 – 25 of 53) sorted by relevance

123

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/src/
H A Dexpr.rs1286 input: ParseStream, in parse_expr()
1405 input: ParseStream, in parse_expr()
1470 fn ambiguous_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in ambiguous_expr()
1504 fn unary_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in unary_expr()
1541 fn unary_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in unary_expr()
1563 input: ParseStream, in trailer_expr()
1581 fn trailer_helper(input: ParseStream, mut e: Expr) -> Result<Expr> { in trailer_helper()
1669 fn trailer_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in trailer_expr()
1715 fn atom_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in atom_expr()
1817 fn atom_expr(input: ParseStream, _allow_struct: AllowStruct) -> Result<Expr> { in atom_expr()
[all …]
H A Dty.rs366 input: ParseStream, in ambig_ty()
724 fn parse_bare_fn(input: ParseStream, allow_mut_self: bool) -> Result<Option<TypeBareFn>> { in parse_bare_fn()
875 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
911 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
923 input: ParseStream, in parse_bounds()
964 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
1012 fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
1033 input: ParseStream, in parse_bare_fn_arg()
H A Dstmt.rs154 fn parse_stmt(input: ParseStream, allow_nosemi: bool) -> Result<Stmt> { in parse_stmt()
211 fn stmt_mac(input: ParseStream, attrs: Vec<Attribute>, path: Path) -> Result<Stmt> { in stmt_mac()
230 fn stmt_local(input: ParseStream, attrs: Vec<Attribute>, begin: ParseBuffer) -> Result<Stmt> { in stmt_local()
276 input: ParseStream, in stmt_expr()
H A Dpat.rs460 fn pat_tuple_struct(input: ParseStream, path: Path) -> Result<PatTupleStruct> { in pat_tuple_struct()
468 fn pat_struct(begin: ParseBuffer, input: ParseStream, path: Path) -> Result<Pat> { in pat_struct()
558 input: ParseStream, in pat_range()
581 fn pat_range_half_open(input: ParseStream, begin: ParseBuffer) -> Result<Pat> { in pat_range_half_open()
739 fn multi_pat_impl(input: ParseStream, leading_vert: Option<Token![|]>) -> Result<Pat> { in multi_pat_impl()
H A Dpath.rs405 fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
603 pub(crate) fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
618 input: ParseStream, in parse_rest()
632 pub fn qpath(input: ParseStream, expr_style: bool) -> Result<(Option<QSelf>, Path)> { in qpath()
H A Dtoken.rs896 pub fn keyword(input: ParseStream, token: &str) -> Result<Span> { in keyword()
915 pub fn punct<S: FromSpans>(input: ParseStream, token: &str) -> Result<S> { in punct()
921 fn punct_helper(input: ParseStream, token: &str, spans: &mut [Span; 3]) -> Result<()> { in punct_helper()
H A Dderive.rs165 input: ParseStream, in data_struct()
201 input: ParseStream, in data_enum()
H A Ditem.rs1177 fn parse(input: ParseStream, where_clause_location: WhereClauseLocation) -> Result<Self> { in parse()
1546 input: ParseStream, in parse_rest_of_fn()
2094 input: ParseStream, in parse_rest_of_trait()
2153 input: ParseStream, in parse_start_of_trait_alias()
2164 input: ParseStream, in parse_rest_of_trait_alias()
2418 fn parse_impl(input: ParseStream, allow_verbatim_impl: bool) -> Result<Option<ItemImpl>> { in parse_impl()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/
H A Dty.rs319 input: ParseStream, in ambig_ty()
775 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
811 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
823 input: ParseStream, in parse_bounds()
864 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
912 fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
932 fn parse_bare_fn_arg(input: ParseStream, allow_self: bool) -> Result<BareFnArg> { in parse_bare_fn_arg()
980 fn parse_bare_variadic(input: ParseStream, attrs: Vec<Attribute>) -> Result<BareVariadic> { in parse_bare_variadic()
H A Dexpr.rs1359 input: ParseStream, in parse_expr()
1456 fn parse_expr(input: ParseStream, mut lhs: Expr, base: Precedence) -> Result<Expr> { in parse_expr()
1515 input: ParseStream, in ambiguous_expr()
1546 fn unary_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in unary_expr()
1614 input: ParseStream, in trailer_expr()
1632 fn trailer_helper(input: ParseStream, mut e: Expr) -> Result<Expr> { in trailer_helper()
1796 fn atom_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in atom_expr()
1944 input: ParseStream, in path_or_macro_or_struct()
1960 input: ParseStream, in rest_of_path_or_macro_or_struct()
2159 input: ParseStream, in expr_group()
[all …]
H A Dstmt.rs197 fn parse_stmt(input: ParseStream, allow_nosemi: AllowNoSemi) -> Result<Stmt> { in parse_stmt()
264 fn stmt_mac(input: ParseStream, attrs: Vec<Attribute>, path: Path) -> Result<StmtMacro> { in stmt_mac()
281 fn stmt_local(input: ParseStream, attrs: Vec<Attribute>) -> Result<Local> { in stmt_local()
333 input: ParseStream, in stmt_expr()
H A Dpath.rs454 input: ParseStream, in do_parse()
508 fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
601 pub(crate) fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
616 input: ParseStream, in parse_rest()
636 pub(crate) fn qpath(input: ParseStream, expr_style: bool) -> Result<(Option<QSelf>, Path)> { in qpath()
H A Ditem.rs949 input: ParseStream, in parse_rest_of_item()
1150 input: ParseStream, in parse()
1198 input: ParseStream, in parse_optional_bounds()
1326 input: ParseStream, in parse_item_use()
1360 input: ParseStream, in parse_use_tree()
1540 input: ParseStream, in parse_rest_of_fn()
1576 input: ParseStream, in parse_fn_arg_or_variadic()
1671 input: ParseStream, in parse_fn_args()
2168 input: ParseStream, in parse_rest_of_trait()
2228 input: ParseStream, in parse_start_of_trait_alias()
[all …]
H A Dpat.rs397 fn multi_pat_impl(input: ParseStream, leading_vert: Option<Token![|]>) -> Result<Pat> { in multi_pat_impl()
487 input: ParseStream, in pat_tuple_struct()
514 fn pat_struct(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<PatStruct> { in pat_struct()
597 fn pat_range(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<Pat> { in pat_range()
H A Dderive.rs149 input: ParseStream, in data_struct()
185 input: ParseStream, in data_enum()
H A Dtoken.rs1025 pub(crate) fn keyword(input: ParseStream, token: &str) -> Result<Span> { in keyword()
1045 pub fn punct<const N: usize>(input: ParseStream, token: &str) -> Result<[Span; N]> { in punct()
1051 fn punct_helper(input: ParseStream, token: &str, spans: &mut [Span]) -> Result<()> { in punct_helper()
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/
Dty.rs319 input: ParseStream, in ambig_ty()
775 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
811 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
823 input: ParseStream, in parse_bounds()
864 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
912 fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
932 fn parse_bare_fn_arg(input: ParseStream, allow_self: bool) -> Result<BareFnArg> { in parse_bare_fn_arg()
980 fn parse_bare_variadic(input: ParseStream, attrs: Vec<Attribute>) -> Result<BareVariadic> { in parse_bare_variadic()
Dexpr.rs1359 input: ParseStream, in parse_expr()
1456 fn parse_expr(input: ParseStream, mut lhs: Expr, base: Precedence) -> Result<Expr> { in parse_expr()
1515 input: ParseStream, in ambiguous_expr()
1546 fn unary_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in unary_expr()
1614 input: ParseStream, in trailer_expr()
1632 fn trailer_helper(input: ParseStream, mut e: Expr) -> Result<Expr> { in trailer_helper()
1796 fn atom_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in atom_expr()
1944 input: ParseStream, in path_or_macro_or_struct()
1960 input: ParseStream, in rest_of_path_or_macro_or_struct()
2159 input: ParseStream, in expr_group()
[all …]
Dstmt.rs197 fn parse_stmt(input: ParseStream, allow_nosemi: AllowNoSemi) -> Result<Stmt> { in parse_stmt()
264 fn stmt_mac(input: ParseStream, attrs: Vec<Attribute>, path: Path) -> Result<StmtMacro> { in stmt_mac()
281 fn stmt_local(input: ParseStream, attrs: Vec<Attribute>) -> Result<Local> { in stmt_local()
333 input: ParseStream, in stmt_expr()
Dpath.rs454 input: ParseStream, in do_parse()
508 fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
601 pub(crate) fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
616 input: ParseStream, in parse_rest()
636 pub(crate) fn qpath(input: ParseStream, expr_style: bool) -> Result<(Option<QSelf>, Path)> { in qpath()
Ditem.rs949 input: ParseStream, in parse_rest_of_item()
1150 input: ParseStream, in parse()
1198 input: ParseStream, in parse_optional_bounds()
1326 input: ParseStream, in parse_item_use()
1360 input: ParseStream, in parse_use_tree()
1540 input: ParseStream, in parse_rest_of_fn()
1576 input: ParseStream, in parse_fn_arg_or_variadic()
1671 input: ParseStream, in parse_fn_args()
2168 input: ParseStream, in parse_rest_of_trait()
2228 input: ParseStream, in parse_start_of_trait_alias()
[all …]
Dpat.rs397 fn multi_pat_impl(input: ParseStream, leading_vert: Option<Token![|]>) -> Result<Pat> { in multi_pat_impl()
487 input: ParseStream, in pat_tuple_struct()
514 fn pat_struct(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<PatStruct> { in pat_struct()
597 fn pat_range(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<Pat> { in pat_range()
Dderive.rs149 input: ParseStream, in data_struct()
185 input: ParseStream, in data_enum()
Dtoken.rs1025 pub(crate) fn keyword(input: ParseStream, token: &str) -> Result<Span> { in keyword()
1045 pub fn punct<const N: usize>(input: ParseStream, token: &str) -> Result<[Span; N]> { in punct()
1051 fn punct_helper(input: ParseStream, token: &str, spans: &mut [Span]) -> Result<()> { in punct_helper()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxxbridge-macro-1.0.120/src/syntax/
H A Dparse.rs744 input: ParseStream, in parse_extern_verbatim_type()
845 input: ParseStream, in parse_type_alias()
907 input: ParseStream, in parse_extern_type_bounded()

123