Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::StreamPosition Struct Reference

Structure to save stream position for backtracking. More...

#include <parse_utils.H>

Public Attributes

std::streampos pos
 Stream position.
 
int line {}
 Line number at this position.
 
int column {}
 Column number at this position.
 

Detailed Description

Structure to save stream position for backtracking.

Definition at line 688 of file parse_utils.H.

Member Data Documentation

◆ column

int Aleph::StreamPosition::column {}

Column number at this position.

Definition at line 692 of file parse_utils.H.

Referenced by Aleph::restore_position().

◆ line

int Aleph::StreamPosition::line {}

Line number at this position.

Definition at line 691 of file parse_utils.H.

Referenced by Aleph::restore_position().

◆ pos

std::streampos Aleph::StreamPosition::pos

Stream position.

Definition at line 690 of file parse_utils.H.

Referenced by Aleph::restore_position().


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