|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include "a11/flow/escape.h"#include <algorithm>#include <cstdint>#include <string>#include <string_view>#include "a11/percent.h"#include "a11/utf8.h"Namespaces | |
| namespace | a11 |
| namespace | a11::flow |
Functions | |
| size_t | a11::flow::EscapeWidth (std::string_view body, size_t at) |
| A complete source escape's width, including its backslash. | |
| EscapeResult | a11::flow::DecodeLiteralBody (std::string_view body, bool bytes, bool raw) |
| Decode the body of a Flow literal. Text results must be valid UTF-8. | |
| std::string | a11::flow::EscapeLiteralBody (std::string_view value, bool bytes) |
| An ASCII literal body safe between either kind of Flow quotes. | |