demangle.go
func ToString(name string, options ...Option) (string, error) {
	a, err := ToAST(name, options...)
	if err != nil {
		return "", err
	}
	return ASTToString(a, options...), nil
}
func ToString(name string, options ...Option) (string, error) {
	a, err := ToAST(name, options...)
	if err != nil {
		return "", err
	}
	return ASTToString(a, options...), nil
}
func ToString ( name string , options ... Option ) ( string , error ) { a , err := ToAST ( name , options ... ) if err != nil { return " " , err } return ASTToString ( a , options ... ) , nil }
// ToString demangles a C++ symbol name, returning human-readable C++
// name or an error.
// If the name does not appear to be a C++ symbol name at all, the
// error will be ErrNotMangledName.
ToString demangles a C ++ symbol name returning human - readable C ++ name or an error . If the name does not appear to be a C ++ symbol name at all the error will be ErrNotMangledName .