pub(crate) fn parse_with_meta(
        parser: &mut Parser,
        attributes: Vec<ast::Attribute>,
        eager_brace: EagerBrace,
    ) -> Result<Self, ParseError> {
        let op_token = parser.next()?;
        let op = UnOp::from_token(op_token)?;

        Ok(Self {
            attributes,
            op_token,
            expr: ast::Expr::parse_with(
                parser,
                eager_brace,
                ast::expr::EagerBinary(false),
                ast::expr::Callable(true),
            )?,
            op,
        })
    }
/// Parse the uniary expression with the given meta and configuration.
Parse the uniary expression with the given meta and configuration.
Parse the uniary expression with the given meta and configuration .
pub(crate) fn parse_with_meta(
        parser: &mut Parser,
        attributes: Vec<ast::Attribute>,
        eager_brace: EagerBrace,
    ) -> Result<Self, ParseError> {
        let op_token = parser.next()?;
        let op = UnOp::from_token(op_token)?;
        Ok(Self {
            attributes,
            op_token,
            expr: ast::Expr::parse_with(
                parser,
                eager_brace,
                ast::expr::EagerBinary(false),
                ast::expr::Callable(true),
            )?,
            op,
        })
    }
pub ( crate ) fn parse_with_meta ( parser : & mut Parser , attributes : Vec < ast :: Attribute > , eager_brace : EagerBrace , ) -> Result < Self , ParseError > { let op_token = parser . next ( ) ? ; let op = UnOp :: from_token ( op_token ) ? ; Ok ( Self { attributes , op_token , expr : ast :: Expr :: parse_with ( parser , eager_brace , ast :: expr :: EagerBinary ( false ) , ast :: expr :: Callable ( true ) , ) ? , op , } ) }
Parse the uniary expression with the given meta and configuration.
Parse the uniary expression with the given meta and configuration .
parser
&mut Parser
attributes
Vec<ast::Attribute>
eager_brace
EagerBrace
parser
&mut Parser
attributes
Vec<ast::Attribute>
eager_brace
EagerBrace