Home
last modified time | relevance | path

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

/third_party/rust/crates/syn/src/
Dstmt.rs182 fn parse_stmt(input: ParseStream, allow_nosemi: AllowNoSemi) -> Result<Stmt> { in parse_stmt()
249 fn stmt_mac(input: ParseStream, attrs: Vec<Attribute>, path: Path) -> Result<StmtMacro> { in stmt_mac()
266 fn stmt_local(input: ParseStream, attrs: Vec<Attribute>) -> Result<Local> { in stmt_local()
318 input: ParseStream, in stmt_expr()
Dty.rs297 input: ParseStream, in ambig_ty()
753 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
789 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
801 input: ParseStream, in parse_bounds()
842 pub(crate) fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
890 fn parse(input: ParseStream, allow_plus: bool) -> Result<Self> { in parse()
910 fn parse_bare_fn_arg(input: ParseStream, allow_self: bool) -> Result<BareFnArg> { in parse_bare_fn_arg()
958 fn parse_bare_variadic(input: ParseStream, attrs: Vec<Attribute>) -> Result<BareVariadic> { in parse_bare_variadic()
Dderive.rs136 input: ParseStream, in data_struct()
172 input: ParseStream, in data_enum()
Dpath.rs429 input: ParseStream, in do_parse()
483 fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
576 pub(crate) fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
591 input: ParseStream, in parse_rest()
611 pub(crate) fn qpath(input: ParseStream, expr_style: bool) -> Result<(Option<QSelf>, Path)> { in qpath()
Dpat.rs371 fn multi_pat_impl(input: ParseStream, leading_vert: Option<Token![|]>) -> Result<Pat> { in multi_pat_impl()
461 input: ParseStream, in pat_tuple_struct()
488 fn pat_struct(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<PatStruct> { in pat_struct()
571 fn pat_range(input: ParseStream, qself: Option<QSelf>, path: Path) -> Result<Pat> { in pat_range()
Dexpr.rs1190 input: ParseStream, in parse_expr()
1287 fn parse_expr(input: ParseStream, mut lhs: Expr, base: Precedence) -> Result<Expr> { in parse_expr()
1346 input: ParseStream, in ambiguous_expr()
1377 fn unary_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in unary_expr()
1445 input: ParseStream, in trailer_expr()
1463 fn trailer_helper(input: ParseStream, mut e: Expr) -> Result<Expr> { in trailer_helper()
1627 fn atom_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in atom_expr()
1775 input: ParseStream, in path_or_macro_or_struct()
1791 input: ParseStream, in rest_of_path_or_macro_or_struct()
2051 input: ParseStream, in expr_group()
[all …]
Dmeta.rs385 input: ParseStream, in parse_nested_meta()
Ditem.rs913 input: ParseStream, in parse_rest_of_item()
1114 input: ParseStream, in parse()
1162 input: ParseStream, in parse_optional_bounds()
1290 input: ParseStream, in parse_item_use()
1324 input: ParseStream, in parse_use_tree()
1504 input: ParseStream, in parse_rest_of_fn()
1540 input: ParseStream, in parse_fn_arg_or_variadic()
1635 input: ParseStream, in parse_fn_args()
2132 input: ParseStream, in parse_rest_of_trait()
2192 input: ParseStream, in parse_start_of_trait_alias()
[all …]
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()
Dattr.rs623 pub(crate) fn parse_inner(input: ParseStream, attrs: &mut Vec<Attribute>) -> Result<()> { in parse_inner()
Dpunctuated.rs285 input: ParseStream, in parse_terminated_with()
337 input: ParseStream, in parse_separated_nonempty_with()
Dparse.rs223 pub type ParseStream<'a> = &'a ParseBuffer<'a>; typedef
Dgenerics.rs783 input: ParseStream, in parse_multiple()
/third_party/rust/crates/cxx/gen/src/
Dfile.rs20 fn parse(input: ParseStream, modules: &mut Vec<Module>) -> Result<()> { in parse()
/third_party/rust/crates/cxx/syntax/
Dqualified.rs37 fn parse_unquoted(input: ParseStream, allow_raw: bool) -> Result<QualifiedName> { in parse_unquoted()
Dparse.rs744 input: ParseStream, in parse_extern_verbatim_type()
845 input: ParseStream, in parse_type_alias()
907 input: ParseStream, in parse_extern_type_bounded()
/third_party/rust/crates/syn/codegen/src/
Dparse.rs288 fn peek_tag(input: ParseStream, tag: &str) -> bool { in peek_tag()