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

Per-mode dispatch index: the first-byte buckets scoped to one mode. More...

Public Attributes

std::array< std::vector< std::size_t >, 256 > first_byte_index
 Rule indices by leading byte.
 
std::vector< std::size_t > general
 Nullable rules (tried everywhere).
 

Detailed Description

Per-mode dispatch index: the first-byte buckets scoped to one mode.

Definition at line 947 of file lexer.hpp.

Member Data Documentation

◆ first_byte_index

std::array<std::vector<std::size_t>, 256> scilex::lexer::dispatch::first_byte_index

Rule indices by leading byte.

Definition at line 949 of file lexer.hpp.

◆ general

std::vector<std::size_t> scilex::lexer::dispatch::general

Nullable rules (tried everywhere).

Definition at line 950 of file lexer.hpp.


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