Ah, it's not needed at all.

``if (type == "}") return popAndPass(type, stream, state);``