Only output assignment expressions in the scope creation function.