A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::pattern::Hole Struct Reference

One capture position in a pattern. More...

#include <cpp/a11/flow/pattern.h>

Public Attributes

std::string name
 The field it fills. Empty for {}, which is read by position.
 
HoleType type = HoleType::kString
 
size_t position = 0
 Which hole this is, counting from zero, which is what {} is read by.
 

Detailed Description

One capture position in a pattern.

Member Data Documentation

◆ name

std::string a11::flow::pattern::Hole::name

The field it fills. Empty for {}, which is read by position.

◆ position

size_t a11::flow::pattern::Hole::position = 0

Which hole this is, counting from zero, which is what {} is read by.

◆ type

HoleType a11::flow::pattern::Hole::type = HoleType::kString

The documentation for this struct was generated from the following file: