A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
resolve.h File Reference
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include <absl/container/flat_hash_map.h>
#include "a11/flow/diagnostic.h"
#include "a11/flow/graph.h"
#include "a11/flow/parser.h"
#include "a11/flow/plan.h"
#include "a11/flow/syntax.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  a11::flow::Symbol
 One name, what it is, and what became of it. More...
 
struct  a11::flow::ExpressionInfo
 The statically known interface of one expression, borrowing its program. More...
 
struct  a11::flow::ResolvedFlow
 One flow, resolved: its plan, its names, and what is wrong with it. More...
 
struct  a11::flow::ResolveResult
 A whole file, resolved. More...
 

Namespaces

namespace  a11
 
namespace  a11::flow
 

Enumerations

enum class  a11::flow::SymbolKind {
  a11::flow::kSink , a11::flow::kInputPort , a11::flow::kOutputPort , a11::flow::kHeader ,
  a11::flow::kCall , a11::flow::kNode , a11::flow::kNodeMap , a11::flow::kBarrier ,
  a11::flow::kLoopVariable , a11::flow::kCarry , a11::flow::kValue
}
 What a name means inside a flow. More...
 
enum class  a11::flow::ExpressionCategory {
  a11::flow::kSink , a11::flow::kUnknown , a11::flow::kValue , a11::flow::kStream ,
  a11::flow::kCall , a11::flow::kNode , a11::flow::kCompletion
}
 Native result categories used by resolution and editor queries. More...
 

Functions

ResolveResult a11::flow::Resolve (std::string_view source, const ParseResult &parsed, bool build_graph=false, const Program *absl_nullable context=nullptr, CompilationLimits limits={}, CompilationBudget *absl_nullable budget=nullptr)
 Resolves names, ports, scopes, node maps, and types in a parsed program.
 
std::string_view a11::flow::SymbolKindName (SymbolKind kind)
 The name of a symbol kind, for a message and for the JSON.