pub(crate) fn peek_in_expr(p: &mut Peeker<'_>) -> bool {
        match p.nth(0) {
            K![true] | K![false] => true,
            K![byte] => true,
            K![number] => true,
            K![char] => true,
            K![str] => true,
            K![bytestr] => true,
            _ => false,
        }
    }
/// Test if this is an immediate literal in an expression.
///
/// Here we only test for unambiguous literals which will not be caused by
/// a later stage as an expression is being parsed.
///
/// These include:
/// * Object literals that start with a path (handled in [ast::Expr::parse_with_meta_path]).
/// * Tuple literals that start with a path (handled in [ast::Expr::parse_open_paren]).
Test if this is an immediate literal in an expression.
Here we only test for unambiguous literals which will not be caused by
a later stage as an expression is being parsed.


Test if this is an immediate literal in an expression . Here we only test for unambiguous literals which will not be caused by a later stage as an expression is being parsed .
pub(crate) fn peek_in_expr(p: &mut Peeker<'_>) -> bool {
        match p.nth(0) {
            K![true] | K![false] => true,
            K![byte] => true,
            K![number] => true,
            K![char] => true,
            K![str] => true,
            K![bytestr] => true,
            _ => false,
        }
    }
pub ( crate ) fn peek_in_expr ( p : & mut Peeker < ' _ > ) -> bool { match p . nth ( 0 ) { K ! [ true ] | K ! [ false ] => true , K ! [ byte ] => true , K ! [ number ] => true , K ! [ char ] => true , K ! [ str ] => true , K ! [ bytestr ] => true , _ => false , } }
Test if this is an immediate literal in an expression.
Test if this is an immediate literal in an expression .
p
&mut Peeker<'_>
p
&mut Peeker<'_>