A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
module.h File Reference
module false
#include <functional>
#include <string>
#include <string_view>
#include <vector>
#include <absl/container/flat_hash_map.h>
#include <absl/status/statusor.h>
#include "a11/flow/catalogue.h"
#include "a11/flow/limits.h"
#include "a11/flow/parser.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  a11::flow::ModuleSource
 Source supplied by a host, with its canonical identity. More...
 
struct  a11::flow::ModuleRange
 One original document's interval in linked analysis source. More...
 
struct  a11::flow::ModuleMember
 One visible namespace member and its linked identity. More...
 
struct  a11::flow::ImportSelection
 
struct  a11::flow::LinkedModule
 Owning syntax and source snapshot for a linked module graph. More...
 

Namespaces

namespace  a11
 
namespace  a11::flow
 

Typedefs

using a11::flow::ModuleSources = absl::flat_hash_map< std::string, std::string >
 
using a11::flow::ModuleResolver = std::function< absl::StatusOr< ModuleSource >(std::string_view reference, std::string_view importer)>
 
using a11::flow::ModuleLimits = CompilationLimits
 Limits applied before imported source is parsed or linked.
 

Functions

LinkedModule a11::flow::LinkModules (std::string source, std::string identity, const ModuleSources &sources={}, ModuleResolver resolver={}, ModuleLimits limits={}, CompilationBudget *absl_nullable budget=nullptr)
 Link lexical imports and private dependencies using host-supplied sources.