Skip to content

SageInterface::printAST2TextFile

printAST2TextFile overloads

Synopses

Declared in <SageIII/sageInterface/sageInterface.h>

Pretty print AST horizontally, output to a specified text file. If printType is set to false, don't print out types info.

void
printAST2TextFile(
    SgNode* node,
    std::string filename,
    bool printType = true);

Pretty print AST horizontally, output to a specified text file. If printType is set to false, don't print out type info.

void
printAST2TextFile(
    SgNode* node,
    char const* filename,
    bool printType = true);

Created with MrDocs