SgNodeHelper::replaceAstWithString
replaces the ast with root 'node' with the string 's'. The string is attached to the AST and the unparser uses string s instead of unparsing this substree. This function can be used to generate C++ extensions.
Synopsis
Declared in <src/midend/abstractLayer/SgNodeHelper.h>
void
replaceAstWithString(
SgNode* node,
std::string s);
Parameters
Name |
Description |
node |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs