Public Member Functions | Public Attributes | List of all members
lexy::_tk_map< TokenKind, Tokens > Struct Template Reference

#include <token.hpp>

Public Member Functions

template<std::size_t... Idx>
LEXY_CONSTEVAL _tk_map (lexy::_detail::index_sequence< Idx... >, const TokenKind *data, TokenKind new_kind)
 
template<typename Token >
LEXY_CONSTEVAL auto lookup (Token) const
 
template<TokenKind Kind, typename Token >
LEXY_CONSTEVAL auto map (Token) const
 

Public Attributes

TokenKind _data [sizeof...(Tokens)]
 

Detailed Description

template<typename TokenKind, typename... Tokens>
struct lexy::_tk_map< TokenKind, Tokens >

Definition at line 19 of file token.hpp.

Constructor & Destructor Documentation

◆ _tk_map()

template<typename TokenKind , typename... Tokens>
template<std::size_t... Idx>
LEXY_CONSTEVAL lexy::_tk_map< TokenKind, Tokens >::_tk_map ( lexy::_detail::index_sequence< Idx... >  ,
const TokenKind *  data,
TokenKind  new_kind 
)
inlineexplicit

Definition at line 24 of file token.hpp.

Member Function Documentation

◆ lookup()

template<typename TokenKind , typename... Tokens>
template<typename Token >
LEXY_CONSTEVAL auto lexy::_tk_map< TokenKind, Tokens >::lookup ( Token  ) const
inline

Definition at line 39 of file token.hpp.

◆ map()

template<typename TokenKind , typename... Tokens>
template<TokenKind Kind, typename Token >
LEXY_CONSTEVAL auto lexy::_tk_map< TokenKind, Tokens >::map ( Token  ) const
inline

Definition at line 31 of file token.hpp.

Member Data Documentation

◆ _data

template<typename TokenKind , typename... Tokens>
TokenKind lexy::_tk_map< TokenKind, Tokens >::_data[sizeof...(Tokens)]

Definition at line 21 of file token.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