Classes | Public Member Functions | Static Public Member Functions | List of all members
lexyd::_id< Leading, Trailing, ReservedPredicate > Struct Template Reference

#include <identifier.hpp>

Inheritance diagram for lexyd::_id< Leading, Trailing, ReservedPredicate >:
Inheritance graph
[legend]

Classes

struct  bp
 
struct  p
 

Public Member Functions

template<typename Id , typename CharT , CharT... C, template< typename > typename CaseFolding>
constexpr auto _make_reserve (_cfl< _kw< Id, CharT, C... >, CaseFolding >) const
 
template<typename Id , typename CharT , CharT... C>
constexpr auto _make_reserve (_kw< Id, CharT, C... >) const
 
template<typename R >
constexpr auto _make_reserve (R r) const
 
constexpr auto leading_pattern () const
 Matches the initial char set of an identifier. More...
 
template<typename... R>
constexpr auto reserve (R... r) const
 Adds a set of reserved identifiers. More...
 
template<typename... R>
constexpr auto reserve_containing (R... r) const
 Reservers everything containing the given rule. More...
 
template<typename... R>
constexpr auto reserve_prefix (R... r) const
 Reserves everything starting with the given rule. More...
 
template<typename... R>
constexpr auto reserve_suffix (R... r) const
 Reserves everything that ends with the given rule. More...
 
constexpr auto trailing_pattern () const
 Matches the trailing char set of an identifier. More...
 

Static Public Member Functions

static constexpr auto pattern ()
 Matches every identifier, ignoring reserved ones. More...
 

Detailed Description

template<typename Leading, typename Trailing, typename... ReservedPredicate>
struct lexyd::_id< Leading, Trailing, ReservedPredicate >

Definition at line 140 of file identifier.hpp.

Member Function Documentation

◆ _make_reserve() [1/3]

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename Id , typename CharT , CharT... C, template< typename > typename CaseFolding>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::_make_reserve ( _cfl< _kw< Id, CharT, C... >, CaseFolding >  ) const
inlineconstexpr

Definition at line 221 of file identifier.hpp.

◆ _make_reserve() [2/3]

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename Id , typename CharT , CharT... C>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::_make_reserve ( _kw< Id, CharT, C... >  ) const
inlineconstexpr

Definition at line 213 of file identifier.hpp.

◆ _make_reserve() [3/3]

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename R >
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::_make_reserve ( r) const
inlineconstexpr

Definition at line 207 of file identifier.hpp.

◆ leading_pattern()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::leading_pattern ( ) const
inlineconstexpr

Matches the initial char set of an identifier.

Definition at line 273 of file identifier.hpp.

◆ pattern()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
static constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::pattern ( )
inlinestaticconstexpr

Matches every identifier, ignoring reserved ones.

Definition at line 267 of file identifier.hpp.

◆ reserve()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename... R>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::reserve ( R...  r) const
inlineconstexpr

Adds a set of reserved identifiers.

Definition at line 232 of file identifier.hpp.

◆ reserve_containing()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename... R>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::reserve_containing ( R...  r) const
inlineconstexpr

Reservers everything containing the given rule.

Definition at line 250 of file identifier.hpp.

◆ reserve_prefix()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename... R>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::reserve_prefix ( R...  r) const
inlineconstexpr

Reserves everything starting with the given rule.

Definition at line 241 of file identifier.hpp.

◆ reserve_suffix()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
template<typename... R>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::reserve_suffix ( R...  r) const
inlineconstexpr

Reserves everything that ends with the given rule.

Definition at line 259 of file identifier.hpp.

◆ trailing_pattern()

template<typename Leading , typename Trailing , typename... ReservedPredicate>
constexpr auto lexyd::_id< Leading, Trailing, ReservedPredicate >::trailing_pattern ( ) const
inlineconstexpr

Matches the trailing char set of an identifier.

Definition at line 279 of file identifier.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