def NormalCamel(name):
  """Convert C++ ASTClassName into normalized AstClassName.

  A few legacy classes have irregular names requiring special-casing in order to
  be remapped to an ASTNodeKind.

  Args:
    name: name of the C++ class.
  Returns:
    Normalized camel-case equivalent of the class name.
  """
  if name == 'ASTBigNumericLiteral':
    return 'AstBignumericLiteral'
  elif name == 'ASTJSONLiteral':
    return 'AstJsonLiteral'
  elif name == 'ASTTVFSchema':
    return 'AstTvfSchema'
  elif name == 'ASTTVF':
    return 'AstTvf'
  elif name == 'ASTTVFArgument':
    return 'AstTvfArgument'
  elif name == 'ASTTVFSchemaColumn':
    return 'AstTvfSchemaColumn'
  else:
    return name.replace('AST', 'Ast')