1#ifndef ROSETRANSLATORS_H 
    2#define ROSETRANSLATORS_H 
    8#include <AstDOTGeneration.h> 
   10#include <AstJSONGeneration.h> 
   12#include <AstConsistencyTests.h> 
   24  virtual void setOptions(
int argc,
char** argv);
 
   25  virtual void setOptions(
const std::vector <std::string>& argvList);
 
   26  virtual void frontend();
 
   27  virtual void midend();
 
   28  virtual void backend();
 
   41  void setStatusCode(
int code) { statusCode=code; }
 
 
   55    static bool dumpFullAST; 
 
 
Default Cpp2Cpp Translator.
 
virtual int status()
the status code allows to report front/mid/backend warnings and errors.
 
virtual void printMessage(std::string s)
messages to the user (stdout).
 
void setAstRoot(SgProject *)
The AST root is set by the frontend.
 
SgProject * getAstRoot()
This function is used to get the root of the Ast which is generated by the frontend.
 
virtual void midend()
The frontend and backend are default, the midend implements a test on the ROSE infrastructure.
 
This class represents a source project, with a list of SgFile objects and global information about th...