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

An ASTConsumer that creates lilac::cxx::LilacASTVisitor to traverse AST. More...

#include <pluginaction.h>

Inheritance diagram for lilac::cxx::LilacASTConsumer:
Collaboration diagram for lilac::cxx::LilacASTConsumer:

Public Member Functions

 LilacASTConsumer (frxml::dom &dom)
 
void InitializeSema (clang::Sema &sema) override
 
void HandleTranslationUnit (clang::ASTContext &context) override
 

Detailed Description

An ASTConsumer that creates lilac::cxx::LilacASTVisitor to traverse AST.

An ASTConsumer that creates lilac::cxx::LilacASTVisitor to traverse AST. It injects DOM object, for interface serializing, and clang::Sema because clang::RecursiveVisitor cannot retrieve clang::Sema from compilation itself.

Definition at line 45 of file pluginaction.h.

Constructor & Destructor Documentation

◆ LilacASTConsumer()

lilac::cxx::LilacASTConsumer::LilacASTConsumer ( frxml::dom & dom)
explicit

Definition at line 40 of file pluginaction.cxx.

Member Function Documentation

◆ HandleTranslationUnit()

void lilac::cxx::LilacASTConsumer::HandleTranslationUnit ( clang::ASTContext & context)
override

Definition at line 49 of file pluginaction.cxx.

◆ InitializeSema()

void lilac::cxx::LilacASTConsumer::InitializeSema ( clang::Sema & sema)
override

Definition at line 44 of file pluginaction.cxx.


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