xo-expression: + Expression::nested_layer()
This commit is contained in:
parent
89043b0d46
commit
91a5a2b844
10 changed files with 61 additions and 2 deletions
|
|
@ -48,6 +48,11 @@ namespace xo {
|
|||
return 1;
|
||||
}
|
||||
|
||||
virtual std::size_t visit_layer(VisitFn visitor_fn) override {
|
||||
visitor_fn(this);
|
||||
return 1;
|
||||
}
|
||||
|
||||
virtual ref::rp<Expression> xform_layer(TransformFn xform_fn) override {
|
||||
return xform_fn(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue