SgNodeHelper::doubleQuotedEscapedString
computes a new string from s1 where each doublequote is replaced with a backslash followed by the doublequote. This is helpful when printing unparsed program fragments which contain doublequoted strings to a dot file (used by nodeToString). This function also replaces <,<=,>=,> with the corresponding HTML codes.
Synopsis
Declared in <src/midend/abstractLayer/SgNodeHelper.h>
std::string
doubleQuotedEscapedString(std::string s1);
Created with MrDocs