|
ACAV f0ba4b7c9529
Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C
|
Pure data container for AST node properties. More...
#include <AstNode.h>
Public Member Functions | |
| const AcavJson & | getProperties () const |
| Get node properties (kind, name, type, etc.). | |
| AcavJson & | getProperties () |
| Get mutable properties. | |
| const SourceRange & | getSourceRange () const |
| Get source location range. | |
| std::size_t | getUseCount () const |
| Get number of view nodes referencing this data. | |
| void | hold () |
| Increment reference count. | |
| void | release () |
| Decrement reference count. | |
Friends | |
| class | AstContext |
Pure data container for AST node properties.
Stores node metadata (kind, name, type, etc.) in JSON format. Separated from tree structure to enable deduplication. Use nlohmann/json with InternedString to deduplication.
Common properties:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |