pub fn can_begin_expr(&self) -> bool {
        match *self {
            OpenDelim(_)                => true,
            Ident(..)                   => true,
            Underscore                  => true,
            Tilde                       => true,
            Literal(_, _)               => true,
            Not                         => true,
            BinOp(Minus)                => true,
            BinOp(Star)                 => true,
            BinOp(And)                  => true,
            BinOp(Or)                   => true, // in lambda syntax
            OrOr                        => true, // in lambda syntax
            AndAnd                      => true, // double borrow
            DotDot | DotDotDot          => true, // range notation
            ModSep                      => true,
            Interpolated(NtExpr(..))    => true,
            Interpolated(NtIdent(..))   => true,
            Interpolated(NtBlock(..))   => true,
            Interpolated(NtPath(..))    => true,
            Pound                       => true, // for expression attributes
            _                           => false,
        }
    }
/// Returns `true` if the token can appear at the start of an expression.
Returns `true` if the token can appear at the start of an expression.
Returns ` true ` if the token can appear at the start of an expression .
pub fn can_begin_expr(&self) -> bool {
        match *self {
            OpenDelim(_)                => true,
            Ident(..)                   => true,
            Underscore                  => true,
            Tilde                       => true,
            Literal(_, _)               => true,
            Not                         => true,
            BinOp(Minus)                => true,
            BinOp(Star)                 => true,
            BinOp(And)                  => true,
            BinOp(Or)                   => true, // in lambda syntax
            OrOr                        => true, // in lambda syntax
            AndAnd                      => true, // double borrow
            DotDot | DotDotDot          => true, // range notation
            ModSep                      => true,
            Interpolated(NtExpr(..))    => true,
            Interpolated(NtIdent(..))   => true,
            Interpolated(NtBlock(..))   => true,
            Interpolated(NtPath(..))    => true,
            Pound                       => true, // for expression attributes
            _                           => false,
        }
    }
pub fn can_begin_expr ( & self ) -> bool { match * self { OpenDelim ( _ ) => true , Ident ( .. ) => true , Underscore => true , Tilde => true , Literal ( _ , _ ) => true , Not => true , BinOp ( Minus ) => true , BinOp ( Star ) => true , BinOp ( And ) => true , BinOp ( Or ) => true , // in lambda syntax OrOr => true , // in lambda syntax AndAnd => true , // double borrow DotDot | DotDotDot => true , // range notation ModSep => true , Interpolated ( NtExpr ( .. ) ) => true , Interpolated ( NtIdent ( .. ) ) => true , Interpolated ( NtBlock ( .. ) ) => true , Interpolated ( NtPath ( .. ) ) => true , Pound => true , // for expression attributes _ => false , } }
Returns `true` if the token can appear at the start of an expression.
Returns ` true ` if the token can appear at the start of an expression .
&self
&self