use crate::{ast::Rule, expressions::Expression, values::NumberValue}; use pest::Span; use pest_ast::FromPest; #[derive(Clone, Debug, FromPest, PartialEq)] #[pest_ast(rule(Rule::expression_array_initializer))] pub struct ArrayInitializerExpression<'ast> { pub expression: Box>, pub count: NumberValue<'ast>, #[pest_ast(outer())] pub span: Span<'ast>, }