|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
The fields a pattern pulls out of subject, or null where it does not fit. More...
#include <cpp/a11/flow/values.h>
Public Attributes | |
| std::string_view | offset |
The fields a pattern pulls out of subject, or null where it does not fit.
One implementation for both senses of match: the stage drops a value this answers null for, and the function hands the null on. A record when every hole is named, and a list when they are not – {} is read by position, so it[0] is what a positional pattern gives.
See [pattern::Compile] for the language. A pattern that does not compile is an invalid_argument naming what is wrong with it, because a pattern is a literal almost every time and a silent no-match would hide a typo in it.
| std::string_view a11::flow::SpanFields::offset |