Lines Matching refs:ParseStream
1021 use crate::parse::{Parse, ParseStream, Result};
1040 fn parse(input: ParseStream) -> Result<Self> { in parse()
1132 pub fn parse_without_eager_brace(input: ParseStream) -> Result<Expr> { in parse_without_eager_brace()
1170 fn can_begin_expr(input: ParseStream) -> bool { in can_begin_expr()
1190 input: ParseStream, in parse_expr() argument
1287 fn parse_expr(input: ParseStream, mut lhs: Expr, base: Precedence) -> Result<Expr> { in parse_expr() argument
1330 fn peek_precedence(input: ParseStream) -> Precedence { in peek_precedence()
1346 input: ParseStream, in ambiguous_expr() argument
1364 fn expr_attrs(input: ParseStream) -> Result<Vec<Attribute>> { in expr_attrs()
1377 fn unary_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in unary_expr() argument
1416 fn unary_expr(input: ParseStream) -> Result<Expr> { in unary_expr()
1445 input: ParseStream, in trailer_expr() argument
1463 fn trailer_helper(input: ParseStream, mut e: Expr) -> Result<Expr> { in trailer_helper() argument
1551 fn trailer_expr(input: ParseStream) -> Result<Expr> { in trailer_expr()
1627 fn atom_expr(input: ParseStream, allow_struct: AllowStruct) -> Result<Expr> { in atom_expr() argument
1702 fn atom_labeled(input: ParseStream) -> Result<Expr> { in atom_labeled()
1726 fn atom_expr(input: ParseStream) -> Result<Expr> { in atom_expr()
1760 fn expr_builtin(input: ParseStream) -> Result<Expr> { in expr_builtin()
1775 input: ParseStream, in path_or_macro_or_struct() argument
1791 input: ParseStream, in rest_of_path_or_macro_or_struct() argument
1827 fn parse(input: ParseStream) -> Result<Self> { in parse()
1836 fn paren_or_tuple(input: ParseStream) -> Result<Expr> { in paren_or_tuple()
1875 fn array_or_repeat(input: ParseStream) -> Result<Expr> { in array_or_repeat()
1922 fn parse(input: ParseStream) -> Result<Self> { in parse()
1948 fn parse(input: ParseStream) -> Result<Self> { in parse()
1961 pub(crate) fn expr_early(input: ParseStream) -> Result<Expr> { in expr_early()
2042 fn parse(input: ParseStream) -> Result<Self> { in parse()
2051 input: ParseStream, in expr_group() argument
2087 fn parse(input: ParseStream) -> Result<Self> { in parse()
2092 fn expr_paren(input: ParseStream) -> Result<ExprParen> { in expr_paren()
2104 fn parse(input: ParseStream) -> Result<Self> { in parse()
2122 fn parse(input: ParseStream) -> Result<Self> { in parse()
2141 fn else_block(input: ParseStream) -> Result<(Token![else], Box<Expr>)> { in else_block()
2163 fn parse(input: ParseStream) -> Result<Self> { in parse()
2174 fn parse(input: ParseStream) -> Result<Self> { in parse()
2204 fn parse(input: ParseStream) -> Result<Self> { in parse()
2226 fn parse(input: ParseStream) -> Result<Self> { in parse()
2260 fn parse(input: ParseStream) -> Result<Self> {
2292 fn parse(input: ParseStream) -> Result<Self> { in parse()
2301 input: ParseStream, in expr_unary() argument
2315 fn parse(input: ParseStream) -> Result<Self> { in parse()
2324 fn parse(input: ParseStream) -> Result<Self> { in parse()
2338 fn parse(input: ParseStream) -> Result<Self> { in parse()
2347 fn parse(input: ParseStream) -> Result<Self> { in parse()
2356 fn parse(input: ParseStream) -> Result<Self> { in parse()
2368 fn parse(input: ParseStream) -> Result<Self> { in parse()
2384 fn expr_closure(input: ParseStream, allow_struct: AllowStruct) -> Result<ExprClosure> { in expr_closure() argument
2442 fn parse(input: ParseStream) -> Result<Self> { in parse()
2453 fn closure_arg(input: ParseStream) -> Result<Pat> { in closure_arg()
2491 fn parse(input: ParseStream) -> Result<Self> { in parse()
2515 fn parse(input: ParseStream) -> Result<Self> { in parse()
2534 fn parse(input: ParseStream) -> Result<Self> { in parse()
2545 fn parse(input: ParseStream) -> Result<Self> { in parse()
2557 fn parse(input: ParseStream) -> Result<Self> { in parse()
2567 fn expr_break(input: ParseStream, allow_struct: AllowStruct) -> Result<ExprBreak> { in expr_break() argument
2602 fn expr_return(input: ParseStream, allow_struct: AllowStruct) -> Result<ExprReturn> { in expr_return() argument
2624 fn parse(input: ParseStream) -> Result<Self> { in parse()
2653 fn parse(input: ParseStream) -> Result<Self> { in parse()
2660 input: ParseStream, in expr_struct_helper() argument
2707 fn parse(input: ParseStream) -> Result<Self> { in parse()
2726 fn parse(input: ParseStream) -> Result<Self> { in parse()
2744 fn expr_range(input: ParseStream, allow_struct: AllowStruct) -> Result<ExprRange> { in expr_range() argument
2769 fn parse(input: ParseStream) -> Result<Self> { in parse()
2786 pub(crate) fn parse_obsolete(input: ParseStream) -> Result<Self> { in parse_obsolete()
2806 fn parse(input: ParseStream) -> Result<Self> { in parse()
2820 fn parse(input: ParseStream) -> Result<Self> { in parse()
2834 fn parse(input: ParseStream) -> Result<Arm> { in parse()
2867 fn parse(input: ParseStream) -> Result<Self> { in parse()
2926 fn check_cast(input: ParseStream) -> Result<()> { in check_cast()