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

A recursive AST visitor that traverses AST of an enumeration. More...

#include <pluginaction.h>

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

Public Member Functions

 EnumVisitor (std::function< void(clang::EnumConstantDecl *constant)>)
 
bool TraverseEnumConstantDecl (clang::EnumConstantDecl *decl)
 

Detailed Description

A recursive AST visitor that traverses AST of an enumeration.

A recursive AST visitor that traverses AST of an enumeration. Using passed callback, A caller can retrieve enumeration constant data of the enumeration.

Definition at line 94 of file pluginaction.h.

Constructor & Destructor Documentation

◆ EnumVisitor()

lilac::cxx::LilacASTVisitor::EnumVisitor::EnumVisitor ( std::function< void(clang::EnumConstantDecl *constant)> delegate)

Definition at line 480 of file pluginaction.cxx.

Member Function Documentation

◆ TraverseEnumConstantDecl()

bool lilac::cxx::LilacASTVisitor::EnumVisitor::TraverseEnumConstantDecl ( clang::EnumConstantDecl * decl)

Definition at line 486 of file pluginaction.cxx.


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