Skip to content

Commit dd547b3

Browse files
committed
wip
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 613af3f commit dd547b3

File tree

1 file changed

+9
-0
lines changed
  • vortex-array/src/expr/transform

1 file changed

+9
-0
lines changed

vortex-array/src/expr/transform/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,12 @@ pub use partition::*;
1616
pub use replace::*;
1717
pub use simplify::*;
1818
pub use simplify_typed::*;
19+
20+
use crate::expr::traversal::Transformed;
21+
use crate::expr::{ExprId, Expression};
22+
23+
trait ExpressionParentTransformer {
24+
fn id(&self) -> ExprId;
25+
26+
fn reduce_parent(&self, expr: &Expression, parent: &Expression) -> Transformed<Expression>;
27+
}

0 commit comments

Comments
 (0)