rustidy_ast/expr/without_block/grouped.rs
1//! Grouped
2
3// Imports
4use {
5 crate::{expr::Expression, util::Parenthesized},
6 rustidy_ast_util::delimited,
7 rustidy_format::{Format, Formattable},
8 rustidy_parse::Parse,
9 rustidy_print::Print,
10};
11
12/// `GroupedExpression`
13#[derive(PartialEq, Eq, Clone, Debug)]
14#[derive(serde::Serialize, serde::Deserialize)]
15#[derive(Parse, Formattable, Format, Print)]
16pub struct GroupedExpression(#[format(args = delimited::FmtRemove)] Parenthesized<Expression>);