Function SgNodeHelper::doubleQuotedEscapedString#
Defined in File SgNodeHelper.h
Function Documentation#
-
std::string SgNodeHelper::doubleQuotedEscapedString(std::string s1)#
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.