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

An adopted per-mode DFA: the automaton plus its local→global rule map. More...

Public Attributes

real::dfa dfa
 Recognizes the mode's rules in one pass.
 
std::vector< std::size_t > to_global
 DFA local rule index -> global rules_ index.
 

Detailed Description

An adopted per-mode DFA: the automaton plus its local→global rule map.

Definition at line 592 of file lexer.hpp.

Member Data Documentation

◆ dfa

real::dfa scilex::lexer::mode_dfa::dfa

Recognizes the mode's rules in one pass.

Definition at line 594 of file lexer.hpp.

◆ to_global

std::vector<std::size_t> scilex::lexer::mode_dfa::to_global

DFA local rule index -> global rules_ index.

Definition at line 595 of file lexer.hpp.


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