function defineTemplateBodyVisitor(context, templateBodyVisitor, scriptVisitor) {
  const parserServices = getParserServices(context);
  if (parserServices == null || parserServices.defineTemplateBodyVisitor == null) {
    // Default parser
    return scriptVisitor;
  }

  // Using "vue-eslint-parser" requires this setup
  // @see https://eslint.org/docs/developer-guide/working-with-rules#the-context-object
  return parserServices.defineTemplateBodyVisitor(templateBodyVisitor, scriptVisitor);
}
@see parserServices https://eslint.org/docs/developer-guide/working-with-rules#the-context-object
@param {Object} context
@param {Function} templateBodyVisitor
@param {Function} scriptVisitor
@returns