protected static String translateTokenStringToTarget(String tokenName, CodeGenerator gen) {
		if (tokenName == null) {
			return null;
		}

		if (tokenName.charAt(0) == '\'') {
			String targetString =
				gen.getTarget().getTargetStringLiteralFromANTLRStringLiteral(gen, tokenName, false, true);
			return "\"'" + targetString + "'\"";
		}
		else {
			return gen.getTarget().getTargetStringLiteralFromString(tokenName, true);
		}
	}
@deprecated This field is provided only for compatibility with code
generation targets which have not yet been updated to use
{@link #literalNames} and {@link #symbolicNames}.
tool/src/org/antlr/v4/codegen/model/Recognizer.java