Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Compiler_Module_Metadata.H File Reference

Reusable metadata for parsed or analyzed module surfaces. More...

#include <sstream>
#include <string>
#include <ah-source.H>
#include <tpl_dynArray.H>
Include dependency graph for Compiler_Module_Metadata.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Aleph::Compiler_Module_Export
 One reusable top-level declaration exposed by a module surface. More...
 
struct  Aleph::Compiler_Module_Metadata
 Reusable metadata describing one parsed or analyzed module surface. More...
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Enumerations

enum class  Aleph::Compiler_Module_Export_Kind { Aleph::Function , Aleph::Global , Aleph::Type }
 Export kinds currently modeled by reusable module metadata. More...
 

Functions

const char * Aleph::compiler_module_export_kind_name (const Compiler_Module_Export_Kind kind) noexcept
 Returns the stable debug name for one module-export kind.
 
std::string Aleph::compiler_render_module_metadata (const DynArray< Compiler_Module_Metadata > &modules)
 Renders one deterministic text artifact for module metadata.
 

Detailed Description

Reusable metadata for parsed or analyzed module surfaces.

This header models the user-visible top-level surface of one module so frontends, drivers, and external tools can inspect which declarations a source unit contributes without depending on one specific AST.

Definition in file Compiler_Module_Metadata.H.