NCBI C++ ToolKit
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
ctre-unicode.hpp File Reference
#include <utility>
#include <cstddef>
#include <string_view>
#include <cstdint>
#include <type_traits>
#include <limits>
#include <tuple>
#include <string>
#include <iterator>
#include <iosfwd>
#include <algorithm>
+ Include dependency graph for ctre-unicode.hpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  ctll::length_value_t
 
struct  ctll::fixed_string< N >
 
class  ctll::fixed_string< 0 >
 
struct  ctll::conditional_helper< true >
 
struct  ctll::conditional_helper< false >
 
struct  ctll::list< Ts >
 
struct  ctll::_nothing
 
struct  ctll::list_pop_pair< Front, List >
 
struct  ctll::rotate_item< T >
 
struct  ctll::item_matcher< T >
 
struct  ctll::item_matcher< T >::not_selected
 
struct  ctll::item_matcher< T >::wrapper< Y >
 
struct  ctll::term< v >
 
struct  ctll::epsilon
 
struct  ctll::empty_stack_symbol
 
struct  ctll::accept
 
struct  ctll::reject
 
struct  ctll::action
 
struct  ctll::action::action_tag
 
struct  ctll::pop_input
 
struct  ctll::pop_input::pop_input_tag
 
struct  ctll::anything
 
struct  ctll::range< A, B >
 
struct  ctll::set< Def >
 
struct  ctll::neg_set< Def >
 
struct  ctll::augment_grammar< Grammar >
 
struct  ctll::empty_subject
 
struct  ctll::empty_actions
 
struct  ctll::identity< Actions >
 
struct  ctll::ignore_unknown< Actions >
 
struct  ctll::placeholder
 
struct  ctll::parser< Grammar, input, ActionSelector, IgnoreUnknownActions >
 
struct  ctll::parser< Grammar, input, ActionSelector, IgnoreUnknownActions >::results< Pos, Stack, Subject, Decision >
 

Namespaces

 ctll
 

Macros

#define CTRE_V2__CTRE__HPP
 
#define CTRE_V2__CTRE__LITERALS__HPP
 
#define CTRE_V2__CTLL__HPP
 
#define CTLL__PARSER__HPP
 
#define CTLL__FIXED_STRING__GPP
 
#define CTLL__TYPE_STACK__HPP
 
#define CTLL__UTILITIES__HPP
 
#define CTLL_CNTTP_COMPILER_CHECK   0
 
#define CTLL_FORCE_INLINE   __attribute__((always_inline))
 
#define CTLL__GRAMMARS__HPP
 
#define CTLL__ACTIONS__HPP
 
#define CTRE__PCRE_ACTIONS__HPP
 
#define CTRE__PCRE__HPP
 
#define CTRE__ATOMS_UNICODE__HPP
 
#define H_COR3NTIN_UNICODE_SYNOPSYS
 
#define CTRE__ID__HPP
 
#define CTRE__ACTIONS__ASSERTS__HPP
 
#define CTRE__ACTIONS__ATOMIC_GROUP__HPP
 
#define CTRE__ACTIONS__BACKREFERENCE__HPP
 
#define CTRE__ACTIONS__BOUNDARIES__HPP
 
#define CTRE__ACTIONS__CAPTURE__HPP
 
#define CTRE__ACTIONS__CHARACTERS__HPP
 
#define CTRE__ACTIONS__CLASS__HPP
 
#define CTRE__ACTIONS__FUSION__HPP
 
#define CTRE__ACTIONS__HEXDEC__HPP
 
#define CTRE__ACTIONS__LOOKAHEAD__HPP
 
#define CTRE__ACTIONS__NAMED_CLASS__HPP
 
#define CTRE__ACTIONS__OPTIONS__HPP
 
#define CTRE__ACTIONS__PROPERTIES__HPP
 
#define CTRE__ACTIONS__REPEAT__HPP
 
#define CTRE__ACTIONS__SEQUENCE__HPP
 
#define CTRE__ACTIONS__SET__HPP
 
#define CTRE__ACTIONS__MODE__HPP
 
#define CTRE__EVALUATION__HPP
 
#define CTRE__STARTS_WITH_ANCHOR__HPP
 
#define CTRE__RETURN_TYPE__HPP
 
#define CTRE__UTF8__HPP
 
#define CTRE__FIND_CAPTURES__HPP
 
#define CTRE__FIRST__HPP
 
#define CTRE__WRAPPER__HPP
 
#define CTRE_V2__CTRE__RANGE__HPP
 
#define CTRE_V2__CTRE__ITERATOR__HPP
 
#define CTRE_REGEX_INPUT_TYPE   const auto &
 
#define CTRE_REGEX_TEMPLATE_COPY_TYPE   const auto &
 
#define CTRE_V2__CTRE__FUNCTIONS__HPP
 
#define CTRE_V2__CTRE__OPERATORS__HPP
 
#define CTRE_V2__UNICODE_CODE_DB__HPP
 
#define CTRE_UNICODE_SYNOPSYS_WAS_INCLUDED
 

Typedefs

template<bool V, typename A , typename B >
using ctll::conditional = typename conditional_helper< V >::template type< A, B >
 
using ctll::empty_list = list<>
 
template<typename... Ts>
using ctll::push = list< Ts... >
 
template<size_t >
using ctll::index_placeholder = placeholder
 

Enumerations

enum class  ctll::decision {
  ctll::reject , ctll::accept , ctll::undecided , ctll::reject ,
  ctll::accept , ctll::undecided
}
 

Functions

constexpr length_value_t ctll::length_and_value_of_utf8_code_point (uint8_t first_unit) noexcept
 
constexpr char32_t ctll::value_of_trailing_utf8_code_point (uint8_t unit, bool &correct) noexcept
 
constexpr length_value_t ctll::length_and_value_of_utf16_code_point (uint16_t first_unit) noexcept
 
template<typename CharT , size_t N>
 ctll::fixed_string (const CharT(&)[N]) -> fixed_string< N-1 >
 
template<size_t N>
 ctll::fixed_string (fixed_string< N >) -> fixed_string< N >
 
template<typename... Ts>
constexpr auto ctll::size (list< Ts... >) noexcept
 
template<typename... Ts>
constexpr bool ctll::empty (list< Ts... >) noexcept
 
constexpr bool ctll::empty (empty_list)
 
template<typename... As, typename... Bs>
constexpr auto ctll::concat (list< As... >, list< Bs... >) noexcept -> list< As..., Bs... >
 
template<typename T , typename... As>
constexpr auto ctll::push_front (T, list< As... >) noexcept -> list< T, As... >
 
template<typename T , typename... As>
constexpr auto ctll::pop_front (list< T, As... >) noexcept -> list< As... >
 
constexpr auto ctll::pop_front (empty_list) -> empty_list
 
template<typename Head , typename... As, typename T = _nothing>
constexpr auto ctll::pop_and_get_front (list< Head, As... >, T=T()) noexcept -> list_pop_pair< Head, list< As... >>
 
template<typename T = _nothing>
constexpr auto ctll::pop_and_get_front (empty_list, T=T()) noexcept -> list_pop_pair< T, empty_list >
 
template<typename Head , typename... As, typename T = _nothing>
constexpr auto ctll::front (list< Head, As... >, T=T()) noexcept -> Head
 
template<typename T = _nothing>
constexpr auto ctll::front (empty_list, T=T()) noexcept -> T
 
template<typename... Ts>
constexpr auto ctll::rotate (list< Ts... >) -> decltype((list<>{}+...+rotate_item< Ts >{}))
 
template<typename T , typename... Ts>
constexpr bool ctll::exists_in (T, list< Ts... >) noexcept
 
template<typename T , typename... Ts>
constexpr auto ctll::add_item (T item, list< Ts... > l) noexcept
 
template<typename T , typename... Ts>
constexpr auto ctll::remove_item (T, list< Ts... >) noexcept
 
template<typename... Ts>
constexpr auto ctll::push_front (pop_input, list< Ts... >) -> list< Ts... >
 
template<typename... Ts>
constexpr auto ctll::push_front (epsilon, list< Ts... >) -> list< Ts... >
 
template<typename... As, typename... Bs>
constexpr auto ctll::push_front (list< As... >, list< Bs... >) -> list< As..., Bs... >
 
template<typename T , typename... As>
constexpr auto ctll::pop_front_and_push_front (T item, list< As... > l)
 

Macro Definition Documentation

◆ CTLL__ACTIONS__HPP

#define CTLL__ACTIONS__HPP

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

◆ CTLL__FIXED_STRING__GPP

#define CTLL__FIXED_STRING__GPP

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

◆ CTLL__GRAMMARS__HPP

#define CTLL__GRAMMARS__HPP

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

◆ CTLL__PARSER__HPP

#define CTLL__PARSER__HPP

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

◆ CTLL__TYPE_STACK__HPP

#define CTLL__TYPE_STACK__HPP

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

◆ CTLL__UTILITIES__HPP

#define CTLL__UTILITIES__HPP

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

◆ CTLL_CNTTP_COMPILER_CHECK

#define CTLL_CNTTP_COMPILER_CHECK   0

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

◆ CTLL_FORCE_INLINE

#define CTLL_FORCE_INLINE   __attribute__((always_inline))

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

◆ CTRE__ACTIONS__ASSERTS__HPP

#define CTRE__ACTIONS__ASSERTS__HPP

◆ CTRE__ACTIONS__ATOMIC_GROUP__HPP

#define CTRE__ACTIONS__ATOMIC_GROUP__HPP

◆ CTRE__ACTIONS__BACKREFERENCE__HPP

#define CTRE__ACTIONS__BACKREFERENCE__HPP

◆ CTRE__ACTIONS__BOUNDARIES__HPP

#define CTRE__ACTIONS__BOUNDARIES__HPP

◆ CTRE__ACTIONS__CAPTURE__HPP

#define CTRE__ACTIONS__CAPTURE__HPP

◆ CTRE__ACTIONS__CHARACTERS__HPP

#define CTRE__ACTIONS__CHARACTERS__HPP

◆ CTRE__ACTIONS__CLASS__HPP

#define CTRE__ACTIONS__CLASS__HPP

◆ CTRE__ACTIONS__FUSION__HPP

#define CTRE__ACTIONS__FUSION__HPP

◆ CTRE__ACTIONS__HEXDEC__HPP

#define CTRE__ACTIONS__HEXDEC__HPP

◆ CTRE__ACTIONS__LOOKAHEAD__HPP

#define CTRE__ACTIONS__LOOKAHEAD__HPP

◆ CTRE__ACTIONS__MODE__HPP

#define CTRE__ACTIONS__MODE__HPP

◆ CTRE__ACTIONS__NAMED_CLASS__HPP

#define CTRE__ACTIONS__NAMED_CLASS__HPP

◆ CTRE__ACTIONS__OPTIONS__HPP

#define CTRE__ACTIONS__OPTIONS__HPP

◆ CTRE__ACTIONS__PROPERTIES__HPP

#define CTRE__ACTIONS__PROPERTIES__HPP

◆ CTRE__ACTIONS__REPEAT__HPP

#define CTRE__ACTIONS__REPEAT__HPP

◆ CTRE__ACTIONS__SEQUENCE__HPP

#define CTRE__ACTIONS__SEQUENCE__HPP

◆ CTRE__ACTIONS__SET__HPP

#define CTRE__ACTIONS__SET__HPP

◆ CTRE__ATOMS_UNICODE__HPP

#define CTRE__ATOMS_UNICODE__HPP

◆ CTRE__EVALUATION__HPP

#define CTRE__EVALUATION__HPP

◆ CTRE__FIND_CAPTURES__HPP

#define CTRE__FIND_CAPTURES__HPP

◆ CTRE__FIRST__HPP

#define CTRE__FIRST__HPP

◆ CTRE__ID__HPP

#define CTRE__ID__HPP

◆ CTRE__PCRE__HPP

#define CTRE__PCRE__HPP

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

◆ CTRE__PCRE_ACTIONS__HPP

#define CTRE__PCRE_ACTIONS__HPP

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

◆ CTRE__RETURN_TYPE__HPP

#define CTRE__RETURN_TYPE__HPP

◆ CTRE__STARTS_WITH_ANCHOR__HPP

#define CTRE__STARTS_WITH_ANCHOR__HPP

◆ CTRE__UTF8__HPP

#define CTRE__UTF8__HPP

◆ CTRE__WRAPPER__HPP

#define CTRE__WRAPPER__HPP

◆ CTRE_REGEX_INPUT_TYPE

#define CTRE_REGEX_INPUT_TYPE   const auto &

◆ CTRE_REGEX_TEMPLATE_COPY_TYPE

#define CTRE_REGEX_TEMPLATE_COPY_TYPE   const auto &

◆ CTRE_UNICODE_SYNOPSYS_WAS_INCLUDED

#define CTRE_UNICODE_SYNOPSYS_WAS_INCLUDED

◆ CTRE_V2__CTLL__HPP

#define CTRE_V2__CTLL__HPP

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

◆ CTRE_V2__CTRE__FUNCTIONS__HPP

#define CTRE_V2__CTRE__FUNCTIONS__HPP

◆ CTRE_V2__CTRE__HPP

#define CTRE_V2__CTRE__HPP

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

◆ CTRE_V2__CTRE__ITERATOR__HPP

#define CTRE_V2__CTRE__ITERATOR__HPP

◆ CTRE_V2__CTRE__LITERALS__HPP

#define CTRE_V2__CTRE__LITERALS__HPP

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

◆ CTRE_V2__CTRE__OPERATORS__HPP

#define CTRE_V2__CTRE__OPERATORS__HPP

◆ CTRE_V2__CTRE__RANGE__HPP

#define CTRE_V2__CTRE__RANGE__HPP

◆ CTRE_V2__UNICODE_CODE_DB__HPP

#define CTRE_V2__UNICODE_CODE_DB__HPP

◆ H_COR3NTIN_UNICODE_SYNOPSYS

#define H_COR3NTIN_UNICODE_SYNOPSYS
Modified on Tue Feb 27 05:50:02 2024 by modify_doxy.py rev. 669887