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

Formatted source, edits, and diagnostics. More...

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

Public Attributes

std::string formatted
 Complete source; equals the input when parsing fails or no edit is needed.
 
bool changed = false
 
std::vector< Edit > edits
 Minimal edits producing formatted; empty when unchanged.
 
std::vector< Diagnostic > diagnostics
 Diagnostics that prevented formatting.
 

Detailed Description

Formatted source, edits, and diagnostics.

Member Data Documentation

◆ changed

bool a11::flow::FormatResult::changed = false

◆ diagnostics

std::vector<Diagnostic> a11::flow::FormatResult::diagnostics

Diagnostics that prevented formatting.

◆ edits

std::vector<Edit> a11::flow::FormatResult::edits

Minimal edits producing formatted; empty when unchanged.

◆ formatted

std::string a11::flow::FormatResult::formatted

Complete source; equals the input when parsing fails or no edit is needed.


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