ACAV f0ba4b7c9529
Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C
Loading...
Searching...
No Matches
acav::AcavAstBuilder Class Reference

ACAV AST builder with comprehensive type extraction. More...

#include <AcavAstBuilder.h>

Static Public Member Functions

static AstViewNodebuildFromASTUnit (clang::ASTUnit &astUnit, AstContext *context, FileManager &fileManager, AstExtractionStats &stats, bool extractComments=false)
 Build ACAV AST from Clang ASTUnit.

Detailed Description

ACAV AST builder with comprehensive type extraction.

Provides a high-level interface for building ACAV AST from Clang ASTUnit. Implements RecursiveASTVisitor to traverse Clang AST and extract detailed type information, template arguments, function signatures, etc.

Definition at line 101 of file AcavAstBuilder.h.

Member Function Documentation

◆ buildFromASTUnit()

AstViewNode * acav::AcavAstBuilder::buildFromASTUnit ( clang::ASTUnit & astUnit,
AstContext * context,
FileManager & fileManager,
AstExtractionStats & stats,
bool extractComments = false )
static

Build ACAV AST from Clang ASTUnit.

Parameters
astUnitLoaded Clang ASTUnit
contextACAV AST context (owns all nodes)
fileManagerFile manager for source locations
statsOutput parameter for extraction statistics
extractCommentsWhether to extract and include comments in AST
Returns
Root node of built AST, or nullptr on failure

Definition at line 1731 of file AcavAstBuilder.cpp.

References buildFromASTUnit().

Referenced by buildFromASTUnit().


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