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

Source position with a byte offset and 1-based line and column. More...

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

Public Attributes

size_t offset = 0
 
int line = 1
 
int column = 1
 

Detailed Description

Source position with a byte offset and 1-based line and column.

Byte offsets support edits. Line and column support display after the diagnostic is serialized without its source text.

Member Data Documentation

◆ column

int a11::flow::Position::column = 1

◆ line

int a11::flow::Position::line = 1

◆ offset

size_t a11::flow::Position::offset = 0

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