Classes | Public Member Functions | Static Public Member Functions | List of all members
lexyd::_cp< Predicate > Struct Template Reference

#include <code_point.hpp>

Inheritance diagram for lexyd::_cp< Predicate >:
Inheritance graph
[legend]

Classes

struct  _group_pred
 
struct  _group_pred< GcGroup >
 

Public Member Functions

constexpr auto ascii () const
 
constexpr auto bmp () const
 
template<lexy::code_point::general_category_t Category>
constexpr auto general_category () const
 
template<const auto & GcGroup>
constexpr auto general_category () const
 
template<typename P >
constexpr auto if_ () const
 
constexpr auto noncharacter () const
 
template<char32_t Low, char32_t High>
constexpr auto range () const
 
template<char32_t... CPs>
constexpr auto set () const
 

Static Public Member Functions

static LEXY_CONSTEVAL auto char_class_ascii ()
 
static constexpr bool char_class_match_cp ([[maybe_unused]] char32_t cp)
 
static LEXY_CONSTEVAL auto char_class_name ()
 
- Static Public Member Functions inherited from lexyd::char_class_base< _cp< Predicate > >
static constexpr std::false_type char_class_match_cp (char32_t)
 
static constexpr auto char_class_match_swar (lexy::_detail::swar_int)
 
static constexpr void char_class_report_error (Context &context, typename Reader::iterator position)
 
static constexpr bool char_class_unicode ()
 
- Static Public Member Functions inherited from lexyd::token_base< _cp< Predicate > >
static LEXY_PARSER_FUNC bool token_parse (Context &context, Reader &reader)
 

Additional Inherited Members

- Public Types inherited from lexyd::token_base< _cp< Predicate > >
using token_type = _cp< Predicate >
 
- Static Public Attributes inherited from lexyd::token_base< _cp< Predicate > >
static constexpr _toke< Tag, _cp< Predicate > > error
 
static constexpr _tokk< Kind, _cp< Predicate > > kind
 

Detailed Description

template<typename Predicate>
struct lexyd::_cp< Predicate >

Definition at line 14 of file dsl/code_point.hpp.

Member Function Documentation

◆ ascii()

template<typename Predicate >
constexpr auto lexyd::_cp< Predicate >::ascii ( ) const
inlineconstexpr

Definition at line 96 of file dsl/code_point.hpp.

◆ bmp()

template<typename Predicate >
constexpr auto lexyd::_cp< Predicate >::bmp ( ) const
inlineconstexpr

Definition at line 113 of file dsl/code_point.hpp.

◆ char_class_ascii()

template<typename Predicate >
static LEXY_CONSTEVAL auto lexyd::_cp< Predicate >::char_class_ascii ( )
inlinestatic

Definition at line 24 of file dsl/code_point.hpp.

◆ char_class_match_cp()

template<typename Predicate >
static constexpr bool lexyd::_cp< Predicate >::char_class_match_cp ( [[maybe_unused] ] char32_t  cp)
inlinestaticconstexpr

Definition at line 42 of file dsl/code_point.hpp.

◆ char_class_name()

template<typename Predicate >
static LEXY_CONSTEVAL auto lexyd::_cp< Predicate >::char_class_name ( )
inlinestatic

Definition at line 16 of file dsl/code_point.hpp.

◆ general_category() [1/2]

template<typename Predicate >
template<lexy::code_point::general_category_t Category>
constexpr auto lexyd::_cp< Predicate >::general_category ( ) const
inlineconstexpr

Definition at line 149 of file dsl/code_point.hpp.

◆ general_category() [2/2]

template<typename Predicate >
template<const auto & GcGroup>
constexpr auto lexyd::_cp< Predicate >::general_category ( ) const
inlineconstexpr

Definition at line 193 of file dsl/code_point.hpp.

◆ if_()

template<typename Predicate >
template<typename P >
constexpr auto lexyd::_cp< Predicate >::if_ ( ) const
inlineconstexpr

Definition at line 52 of file dsl/code_point.hpp.

◆ noncharacter()

template<typename Predicate >
constexpr auto lexyd::_cp< Predicate >::noncharacter ( ) const
inlineconstexpr

Definition at line 130 of file dsl/code_point.hpp.

◆ range()

template<typename Predicate >
template<char32_t Low, char32_t High>
constexpr auto lexyd::_cp< Predicate >::range ( ) const
inlineconstexpr

Definition at line 59 of file dsl/code_point.hpp.

◆ set()

template<typename Predicate >
template<char32_t... CPs>
constexpr auto lexyd::_cp< Predicate >::set ( ) const
inlineconstexpr

Definition at line 78 of file dsl/code_point.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:10