clang 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::extractapi::ExtendedModule Struct Reference

A representation of the contents of a given module symbol graph. More...

#include "clang/ExtractAPI/Serialization/SymbolGraphSerializer.h"

Public Member Functions

 ExtendedModule ()=default
 
 ExtendedModule (ExtendedModule &&EM)=default
 
ExtendedModuleoperator= (ExtendedModule &&EM)=default
 
 ExtendedModule (const ExtendedModule &EM)=delete
 
ExtendedModuleoperator= (const ExtendedModule &EM)=delete
 
Object * addSymbol (Object &&Symbol)
 Add a symbol to the module, do not store the resulting pointer or use it across insertions.
 
void addRelationship (Object &&Relationship)
 

Public Attributes

Array Symbols
 A JSON array of formatted symbols from an APISet.
 
Array Relationships
 A JSON array of formatted symbol relationships from an APISet.
 

Detailed Description

A representation of the contents of a given module symbol graph.

Definition at line 49 of file SymbolGraphSerializer.h.

Constructor & Destructor Documentation

◆ ExtendedModule() [1/3]

clang::extractapi::ExtendedModule::ExtendedModule ( )
default

◆ ExtendedModule() [2/3]

clang::extractapi::ExtendedModule::ExtendedModule ( ExtendedModule &&  EM)
default

◆ ExtendedModule() [3/3]

clang::extractapi::ExtendedModule::ExtendedModule ( const ExtendedModule EM)
delete

Member Function Documentation

◆ addRelationship()

void ExtendedModule::addRelationship ( Object &&  Relationship)

Definition at line 639 of file SymbolGraphSerializer.cpp.

References Relationships.

◆ addSymbol()

Object * ExtendedModule::addSymbol ( Object &&  Symbol)

Add a symbol to the module, do not store the resulting pointer or use it across insertions.

Definition at line 634 of file SymbolGraphSerializer.cpp.

References Symbols.

◆ operator=() [1/2]

ExtendedModule & clang::extractapi::ExtendedModule::operator= ( const ExtendedModule EM)
delete

◆ operator=() [2/2]

ExtendedModule & clang::extractapi::ExtendedModule::operator= ( ExtendedModule &&  EM)
default

Member Data Documentation

◆ Relationships

Array clang::extractapi::ExtendedModule::Relationships

A JSON array of formatted symbol relationships from an APISet.

Definition at line 67 of file SymbolGraphSerializer.h.

Referenced by addRelationship().

◆ Symbols

Array clang::extractapi::ExtendedModule::Symbols

A JSON array of formatted symbols from an APISet.

Definition at line 64 of file SymbolGraphSerializer.h.

Referenced by addSymbol().


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