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

A compiled pattern: literals and holes, in the order they were written. More...

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

Classes

struct  Piece
 

Public Member Functions

bool AllNamed () const
 Whether every hole has a name, which is what makes the result a record with fields rather than one read by position.
 

Public Attributes

std::vector< Piece > pieces
 
std::vector< Hole > holes
 Every hole, in order. What a shape is built from.
 

Detailed Description

A compiled pattern: literals and holes, in the order they were written.

Member Function Documentation

◆ AllNamed()

bool a11::flow::pattern::Pattern::AllNamed ( ) const

Whether every hole has a name, which is what makes the result a record with fields rather than one read by position.

Member Data Documentation

◆ holes

std::vector<Hole> a11::flow::pattern::Pattern::holes

Every hole, in order. What a shape is built from.

◆ pieces

std::vector<Piece> a11::flow::pattern::Pattern::pieces

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