v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Public Attributes | List of all members
ClassHandler Class Reference

#include <class_handler.h>

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

Public Member Functions

virtual void run (const ast_matchers::MatchFinder::MatchResult &Result) override
 
 ClassHandler (CompilerInstance &CI)
 
virtual void onEndOfTranslationUnit () override
 
std::string handle_data_member (WrappedClass &containing_class, FieldDecl *field, const std::string &indentation)
 
void handle_class (WrappedClass &wrapped_class, bool top_level=true, const std::string &indentation="")
 

Public Attributes

CompilerInstance & ci
 

Detailed Description

Definition at line 10 of file class_handler.h.

Constructor & Destructor Documentation

ClassHandler::ClassHandler ( CompilerInstance &  CI)
inline

Definition at line 27 of file class_handler.h.

References handle_class(), handle_data_member(), and onEndOfTranslationUnit().

Here is the call graph for this function:

Member Function Documentation

void ClassHandler::run ( const ast_matchers::MatchFinder::MatchResult &  Result)
overridevirtual
void ClassHandler::onEndOfTranslationUnit ( )
overridevirtual
std::string ClassHandler::handle_data_member ( WrappedClass containing_class,
FieldDecl *  field,
const std::string &  indentation 
)

Referenced by ClassHandler(), and onEndOfTranslationUnit().

Here is the caller graph for this function:

void ClassHandler::handle_class ( WrappedClass wrapped_class,
bool  top_level = true,
const std::string &  indentation = "" 
)

Referenced by ClassHandler(), and run().

Here is the caller graph for this function:

Member Data Documentation

CompilerInstance& ClassHandler::ci

Definition at line 19 of file class_handler.h.

Referenced by onEndOfTranslationUnit(), and run().


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