SciLex
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Attributes | List of all members
scilex::frame Struct Reference

One entry on the per-scan mode stack: the active mode and where it was entered (the entry position feeds the unterminated/diagnostic messages). More...

#include <lexer.hpp>

Collaboration diagram for scilex::frame:
[legend]

Public Attributes

std::size_t mode_id
 Id of the active mode.
 
position entry_pos
 Where this mode was entered.
 

Detailed Description

One entry on the per-scan mode stack: the active mode and where it was entered (the entry position feeds the unterminated/diagnostic messages).

Definition at line 155 of file lexer.hpp.

Member Data Documentation

◆ entry_pos

position scilex::frame::entry_pos

Where this mode was entered.

Definition at line 158 of file lexer.hpp.

◆ mode_id

std::size_t scilex::frame::mode_id

Id of the active mode.

Definition at line 157 of file lexer.hpp.


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