Classes | Namespaces | Typedefs | Functions | Variables
dsl/integer.hpp File Reference
#include <climits>
#include <lexy/_detail/assert.hpp>
#include <lexy/code_point.hpp>
#include <lexy/dsl/base.hpp>
#include <lexy/dsl/digit.hpp>
Include dependency graph for dsl/integer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lexyd::_bounded_integer_parser< T, Base, AssumeOnlyDigits >
 
struct  lexyd::_int< Token, IntParser, Tag >
 
struct  lexyd::_int_dsl< T, Base >
 
struct  lexyd::_integer_parser_digits< T, Digits >
 
struct  lexyd::_integer_parser_digits< T, _digits< Base > >
 
struct  lexyd::_integer_parser_digits< T, _digits_s< Base, Sep > >
 
struct  lexyd::_integer_parser_digits< T, _digits_st< Base, Sep > >
 
struct  lexyd::_integer_parser_digits< T, _digits_t< Base > >
 
struct  lexyd::_integer_parser_digits< T, _ndigits< N, Base > >
 
struct  lexyd::_integer_parser_digits< T, _ndigits_s< N, Base, Sep > >
 
struct  lexyd::_int< Token, IntParser, Tag >::_pc< NextParser >
 
struct  lexyd::_unbounded_integer_parser< T, Base >
 
struct  lexy::bounded< T, Max >
 
struct  lexyd::_int< Token, IntParser, Tag >::bp< Reader >
 
struct  lexy::integer_overflow
 
struct  lexy::integer_traits< T >
 
struct  lexy::integer_traits< bounded< T, Max > >
 
struct  lexy::integer_traits< code_point >
 
struct  lexy::integer_traits< unbounded< T > >
 
struct  lexy::invalid_code_point
 
struct  lexy::invalid_code_unit
 
struct  lexyd::_int< Token, IntParser, Tag >::p< NextParser >
 
struct  lexyd::_bounded_integer_parser< T, Base, AssumeOnlyDigits >::result_type
 
struct  lexyd::_unbounded_integer_parser< T, Base >::result_type
 
struct  lexy::unbounded< T >
 

Namespaces

 lexy
 
 lexyd
 

Typedefs

template<typename T , typename Base , bool AssumeOnlyDigits>
using lexyd::_integer_parser = std::conditional_t< _is_bounded< T >, _bounded_integer_parser< T, Base, AssumeOnlyDigits >, _unbounded_integer_parser< T, Base > >
 
template<typename T , typename Digits >
using lexyd::_integer_parser_for = typename _integer_parser_digits< T, Digits >::type
 

Functions

template<typename Integer >
constexpr std::size_t lexy::_digit_count (int radix, Integer value)
 
template<typename T , std::size_t N, int Radix>
constexpr bool lexyd::_ndigits_can_overflow ()
 

Variables

template<typename T >
constexpr bool lexyd::_is_bounded = lexy::integer_traits<T>::is_bounded
 
template<std::size_t N, typename Base = hex>
constexpr auto lexyd::code_point_id
 Matches the integer value of a code point. More...
 
template<typename Encoding , std::size_t N, typename Base = hex>
constexpr auto lexyd::code_unit_id
 Matches the integer value of a code unit. More...
 
template<typename T , typename Base = void>
constexpr auto lexyd::integer = _int_dsl<T, Base>{}
 Parses the digits matched by the rule into an integer type. More...
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18