private DemangledObject parseNext(String demangled) {
		String nameString = removeBadSpaces(demangled).trim();
		DemangledFunction demangledFunction =
			new DemangledFunction(mangledSource, demangledSource, (String) null);
		setNameAndNamespace(demangledFunction, nameString);
		// Restrict to applying name, namespace and calling-convention
		demangledFunction.setSignatureSourceType(SourceType.DEFAULT);
		return demangledFunction;
	}
Parses the given demangled string and creates a {@link DemangledObject}

@param mangled the original mangled text
@param demangled the demangled text
@return the demangled object
@throws RuntimeException if there is an unexpected error parsing
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/rust/demangler/RustDemanglerParser.java