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

What the formatter is allowed to decide. More...

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

Public Attributes

int indent = 2
 Spaces per block level. Repository Flow files use two.
 
bool align_ports = true
 Whether to align consecutive in and out declaration columns.
 
size_t line_width = 80
 Maximum columns where syntax permits a break; zero leaves lines unbound.
 

Detailed Description

What the formatter is allowed to decide.

Input and output declarations form separate groups with a blank line. The fixed style keeps formatting consistent across projects.

Member Data Documentation

◆ align_ports

bool a11::flow::FormatOptions::align_ports = true

Whether to align consecutive in and out declaration columns.

◆ indent

int a11::flow::FormatOptions::indent = 2

Spaces per block level. Repository Flow files use two.

◆ line_width

size_t a11::flow::FormatOptions::line_width = 80

Maximum columns where syntax permits a break; zero leaves lines unbound.


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