|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include "a11/flow/highlight.h"#include <algorithm>#include <cstddef>#include <string>#include <string_view>#include <vector>#include <absl/container/flat_hash_set.h>#include <absl/types/span.h>#include "a11/flow/parser.h"#include "a11/flow/resolve.h"#include "a11/flow/token.h"#include "a11/flow/vocabulary.h"Namespaces | |
| namespace | a11 |
| namespace | a11::flow |
Functions | |
| std::string_view | a11::flow::SemanticKindName (SemanticKind kind) |
| The name of a semantic kind in the output formats, in kebab case. | |
| SemanticKind | a11::flow::SemanticKindFromName (std::string_view name) |
The kind a name refers to, or kIdentifier if it is not one. | |
| std::vector< SemanticToken > | a11::flow::Highlight (absl::Span< const Token > tokens) |
| Classify a token stream. | |
| void | a11::flow::RefinePorts (std::string_view source, std::vector< SemanticToken > &semantic) |
| Mark the identifiers that are ports of the flow they stand in. | |