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 142 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 224 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 216 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 210 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 276 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 270 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 235 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 253 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 244 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 262 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 282 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 Dec 13 2024 03:19:19