optimised mixin parser