template ForEachIndex(size_t N, L...)
enum result =
Replace!(q{
alias IndexedBy.Indices[$N] L$N;
alias L$N.Inner!(ThisContainer, typeof(this),Value,ValueView,$N, Allocator) M$N;
mixin M$N.NodeMixin!(M$N.NodeTuple) index$N;
template index(size_t n) if(n == $N){ alias index$N index; }
}, "$N", N) ~ ForEachIndex!(N + 1, L[1..$]).result;