function pushParseAndPop(object, parsersNS, node, objectStack, thisArg) {
  objectStack.push(object);
  parseNode(parsersNS, node, objectStack, thisArg);
  return /** @type {T} */ (objectStack.pop());
}
Push an object on top of the stack, parse and return the popped object.
@param {T} object Object.
@param {Object<string, Object<string, Parser>>} parsersNS
    Parsers by namespace.
@param {Element} node Node.
@param {Array<*>} objectStack Object stack.
@param {*} [thisArg] The object to use as `this`.
@return {T} Object.
@template T