REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::parser::loose_buf Struct Reference

A loose-match key (lowercase, no _/-/space; UAX44-LM3-ish) built into a fixed buffer, so no heap or <string> is needed at parse time. A name longer than the buffer simply fails to match. More...

Public Member Functions

constexpr std::string_view view () const
 

Public Attributes

std::array< char, 64 > data {}
 
std::size_t len {}
 

Detailed Description

A loose-match key (lowercase, no _/-/space; UAX44-LM3-ish) built into a fixed buffer, so no heap or <string> is needed at parse time. A name longer than the buffer simply fails to match.

Definition at line 537 of file ast.hpp.

Member Function Documentation

◆ view()

constexpr std::string_view real::detail::parser::loose_buf::view ( ) const
inlineconstexpr

Definition at line 541 of file ast.hpp.

Member Data Documentation

◆ data

std::array<char, 64> real::detail::parser::loose_buf::data {}

Definition at line 539 of file ast.hpp.

◆ len

std::size_t real::detail::parser::loose_buf::len {}

Definition at line 540 of file ast.hpp.


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