LILAC
Language to language Interop LAyer Compiler
Loading...
Searching...
No Matches
lilac::cxx::LilacASTVisitor Class Referencefinal

A recursive AST visitor that serializes C/C++ interface data into DOM object. More...

#include <pluginaction.h>

Inheritance diagram for lilac::cxx::LilacASTVisitor:
Collaboration diagram for lilac::cxx::LilacASTVisitor:

Classes

class  CXXRecordVisitor
 A recursive AST visitor that traverses AST of an enumeration. More...
 
class  EnumVisitor
 A recursive AST visitor that traverses AST of an enumeration. More...
 

Public Member Functions

 LilacASTVisitor (clang::Sema &sema, frxml::dom &dom)
 
bool TraverseEnumDecl (clang::EnumDecl *decl)
 
bool TraverseCXXRecordDecl (clang::CXXRecordDecl *decl)
 
bool TraverseFunctionDecl (clang::FunctionDecl *decl)
 

Detailed Description

A recursive AST visitor that serializes C/C++ interface data into DOM object.

A recursive AST visitor that serializes C/C++ interface data into DOM object. DOM object and clang::Sema should be injected to serialize data properly.

Definition at line 64 of file pluginaction.h.

Constructor & Destructor Documentation

◆ LilacASTVisitor()

lilac::cxx::LilacASTVisitor::LilacASTVisitor ( clang::Sema & sema,
frxml::dom & dom )

Definition at line 108 of file pluginaction.cxx.

Member Function Documentation

◆ TraverseCXXRecordDecl()

bool lilac::cxx::LilacASTVisitor::TraverseCXXRecordDecl ( clang::CXXRecordDecl * decl)

Definition at line 380 of file pluginaction.cxx.

◆ TraverseEnumDecl()

bool lilac::cxx::LilacASTVisitor::TraverseEnumDecl ( clang::EnumDecl * decl)

Definition at line 170 of file pluginaction.cxx.

◆ TraverseFunctionDecl()

bool lilac::cxx::LilacASTVisitor::TraverseFunctionDecl ( clang::FunctionDecl * decl)

Definition at line 453 of file pluginaction.cxx.


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