NCBI C++ ToolKit
Public Types | Static Public Member Functions | List of all members
ctll::augment_grammar< Grammar > Struct Template Reference

Search Toolkit Book for ctll::augment_grammar

#include <util/regexp/ctre/ctre-unicode.hpp>

+ Inheritance diagram for ctll::augment_grammar< Grammar >:
+ Collaboration diagram for ctll::augment_grammar< Grammar >:

Public Types

using start_stack = list< typename Grammar::_start >
 
using start_stack = list< typename Grammar::_start >
 

Static Public Member Functions

template<auto A>
static constexpr auto rule (term< A >, term< A >) -> ctll::pop_input
 
template<typename Expected , auto V>
static constexpr auto rule (Expected, term< V >) -> std::enable_if_t< std::is_constructible_v< Expected, term< V >>, ctll::pop_input >
 
static constexpr auto rule (empty_stack_symbol, epsilon) -> ctll::accept
 
static constexpr auto rule (...) -> ctll::reject
 
template<auto A>
static constexpr auto rule (term< A >, term< A >) -> ctll::pop_input
 
template<typename Expected , auto V>
static constexpr auto rule (Expected, term< V >) -> std::enable_if_t< std::is_constructible_v< Expected, term< V >>, ctll::pop_input >
 
static constexpr auto rule (empty_stack_symbol, epsilon) -> ctll::accept
 
static constexpr auto rule (...) -> ctll::reject
 

Detailed Description

template<typename Grammar>
struct ctll::augment_grammar< Grammar >

Definition at line 687 of file ctre-unicode.hpp.

Member Typedef Documentation

◆ start_stack [1/2]

template<typename Grammar >
using ctll::augment_grammar< Grammar >::start_stack = list<typename Grammar::_start>

Definition at line 707 of file ctre-unicode.hpp.

◆ start_stack [2/2]

template<typename Grammar >
using ctll::augment_grammar< Grammar >::start_stack = list<typename Grammar::_start>

Definition at line 704 of file ctre.hpp.

Member Function Documentation

◆ rule() [1/8]

template<typename Grammar >
static constexpr auto ctll::augment_grammar< Grammar >::rule (   ...) -> ctll::reject
staticconstexpr

◆ rule() [2/8]

template<typename Grammar >
static constexpr auto ctll::augment_grammar< Grammar >::rule (   ...) -> ctll::reject
staticconstexpr

◆ rule() [3/8]

template<typename Grammar >
static constexpr auto ctll::augment_grammar< Grammar >::rule ( empty_stack_symbol  ,
epsilon   
) -> ctll::accept
staticconstexpr

◆ rule() [4/8]

template<typename Grammar >
static constexpr auto ctll::augment_grammar< Grammar >::rule ( empty_stack_symbol  ,
epsilon   
) -> ctll::accept
staticconstexpr

◆ rule() [5/8]

template<typename Grammar >
template<typename Expected , auto V>
static constexpr auto ctll::augment_grammar< Grammar >::rule ( Expected  ,
term< V >   
) -> std::enable_if_t< std::is_constructible_v< Expected, term< V >>, ctll::pop_input >
staticconstexpr

◆ rule() [6/8]

template<typename Grammar >
template<typename Expected , auto V>
static constexpr auto ctll::augment_grammar< Grammar >::rule ( Expected  ,
term< V >   
) -> std::enable_if_t< std::is_constructible_v< Expected, term< V >>, ctll::pop_input >
staticconstexpr

◆ rule() [7/8]

template<typename Grammar >
template<auto A>
static constexpr auto ctll::augment_grammar< Grammar >::rule ( term< A ,
term< A  
) -> ctll::pop_input
staticconstexpr

◆ rule() [8/8]

template<typename Grammar >
template<auto A>
static constexpr auto ctll::augment_grammar< Grammar >::rule ( term< A ,
term< A  
) -> ctll::pop_input
staticconstexpr

The documentation for this struct was generated from the following files:
Modified on Tue Feb 27 05:53:43 2024 by modify_doxy.py rev. 669887