Function SgNodeHelper::locationAndSourceCodeToString#
Defined in File SgNodeHelper.h
Function Documentation#
-
std::string SgNodeHelper::locationAndSourceCodeToString(SgNode *node, size_t maxFileNameLength = 30, size_t maxSourceLength = 20)#
returns location (consisting of filename, line, column) and source code of unparsed node in one string. Abbreviates fileName and unparsed source if too long (defaults are 30,20)