if ("S".equals(name) && replacement.getType()==ASTCssNodeType.COLOR_EXPRESSION) {
return "undefined";
}
if ("s".equalsIgnoreCase(name)) {
InStringCssPrinter printer = new InStringCssPrinter();
printer.append(validate(replacement));
return printer.toString();
} else if ("d".equalsIgnoreCase(name) || "a".equalsIgnoreCase(name)) {
QuotesKeepingInStringCssPrinter printer = new QuotesKeepingInStringCssPrinter();
printer.append(replacement);
return printer.toString();
}
return null;
}