A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::LinkedModule Struct Reference
module false

Owning syntax and source snapshot for a linked module graph. More...

#include <cpp/a11/flow/module.h>

Public Member Functions

bool SelectingImport (size_t offset) const
 
catalogue::Catalogue CatalogueAt (size_t offset, bool import_selection=true, CompilationLimits limits={}, CompilationBudget *absl_nullable budget=nullptr) const
 Public namespace members visible at an offset in the root document.
 
void Locate (std::vector< Diagnostic > &diagnostics) const
 Rebase linked diagnostics to their original source documents.
 

Public Attributes

std::string source
 
ParseResult parsed
 
std::vector< ModuleRange > documents
 
std::vector< ModuleMember > members
 
std::vector< ImportSelection > selections
 

Detailed Description

Owning syntax and source snapshot for a linked module graph.

Member Function Documentation

◆ CatalogueAt()

catalogue::Catalogue a11::flow::LinkedModule::CatalogueAt ( size_t  offset,
bool  import_selection = true,
CompilationLimits  limits = {},
CompilationBudget *absl_nullable  budget = nullptr 
) const

Public namespace members visible at an offset in the root document.

◆ Locate()

void a11::flow::LinkedModule::Locate ( std::vector< Diagnostic > &  diagnostics) const

Rebase linked diagnostics to their original source documents.

◆ SelectingImport()

bool a11::flow::LinkedModule::SelectingImport ( size_t  offset) const

Member Data Documentation

◆ documents

std::vector<ModuleRange> a11::flow::LinkedModule::documents

◆ members

std::vector<ModuleMember> a11::flow::LinkedModule::members

◆ parsed

ParseResult a11::flow::LinkedModule::parsed

◆ selections

std::vector<ImportSelection> a11::flow::LinkedModule::selections

◆ source

std::string a11::flow::LinkedModule::source

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