ROSE 0.11.145.147
Static Public Attributes | Protected Member Functions | List of all members
CppToJsonTranslator Class Reference

Description

Definition at line 53 of file roseTranslators.h.

Inheritance diagram for CppToJsonTranslator:
Inheritance graph
[legend]
Collaboration diagram for CppToJsonTranslator:
Collaboration graph
[legend]

Static Public Attributes

static bool dumpFullAST
 

Protected Member Functions

virtual void backend ()
 
- Protected Member Functions inherited from CppToCppTranslator
SgProjectgetAstRoot ()
 This function is used to get the root of the Ast which is generated by the frontend.
 
void setAstRoot (SgProject *)
 The AST root is set by the frontend.
 
void setStatusCode (int code)
 

Additional Inherited Members

- Public Member Functions inherited from CppToCppTranslator
virtual void setOptions (int argc, char **argv)
 
virtual void setOptions (const std::vector< std::string > &argvList)
 
virtual void frontend ()
 
virtual void midend ()
 
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).
 

Member Function Documentation

◆ backend()

virtual void CppToJsonTranslator::backend ( )
protectedvirtual

the backend generates a JSON file (instead of a C++ file).

Reimplemented from CppToCppTranslator.

Member Data Documentation

◆ dumpFullAST

bool CppToJsonTranslator::dumpFullAST
static

Definition at line 55 of file roseTranslators.h.


The documentation for this class was generated from the following file: