A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
boundary.cc File Reference

The flow language's exception boundary. More...

#include <regex>
#include <string>
#include <absl/status/status.h>
#include <absl/strings/str_cat.h>
#include "a11/flow/internal/pattern.h"

Namespaces

namespace  a11
 
namespace  a11::flow
 
namespace  a11::flow::internal
 

Functions

absl::StatusOr< std::regex > a11::flow::internal::CompilePattern (const std::string &pattern)
 

Detailed Description

The flow language's exception boundary.

Compiled with exceptions (see the exception policy block in cpp/CMakeLists.txt) for one reason: std::regex reports a malformed pattern by throwing. See a11/flow/internal/pattern.h.