Skip to content

SageInterface::printAST2TextFile

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

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

Parameters

Name

Description

node

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs