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

A munch decision: whether a rule matched, which (global index), how many bytes — the small value scan_next's Pike branch and the audit share. More...

Public Attributes

bool have {false}
 
std::size_t idx {0}
 
std::size_t len {0}
 

Detailed Description

A munch decision: whether a rule matched, which (global index), how many bytes — the small value scan_next's Pike branch and the audit share.

Definition at line 600 of file lexer.hpp.

Member Data Documentation

◆ have

bool scilex::lexer::munch_result::have {false}

Definition at line 602 of file lexer.hpp.

◆ idx

std::size_t scilex::lexer::munch_result::idx {0}

Definition at line 603 of file lexer.hpp.

◆ len

std::size_t scilex::lexer::munch_result::len {0}

Definition at line 604 of file lexer.hpp.


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