Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
lexyd::token_base< Derived, ImplOrTag > Struct Template Reference

#include <token.hpp>

Inheritance diagram for lexyd::token_base< Derived, ImplOrTag >:
Inheritance graph
[legend]

Classes

struct  bp
 
struct  p
 

Public Types

using token_type = Derived
 

Static Public Member Functions

template<typename Context , typename Reader >
static LEXY_PARSER_FUNC bool token_parse (Context &context, Reader &reader)
 

Static Public Attributes

template<typename Tag >
static constexpr _toke< Tag, Derived > error = _toke<Tag, Derived>{}
 
template<auto Kind>
static constexpr _tokk< Kind, Derived > kind = _tokk<Kind, Derived>{}
 

Detailed Description

template<typename Derived, typename ImplOrTag = branch_base>
struct lexyd::token_base< Derived, ImplOrTag >

Definition at line 42 of file dsl/token.hpp.

Member Typedef Documentation

◆ token_type

template<typename Derived , typename ImplOrTag = branch_base>
using lexyd::token_base< Derived, ImplOrTag >::token_type = Derived

Definition at line 44 of file dsl/token.hpp.

Member Function Documentation

◆ token_parse()

template<typename Derived , typename ImplOrTag = branch_base>
template<typename Context , typename Reader >
static LEXY_PARSER_FUNC bool lexyd::token_base< Derived, ImplOrTag >::token_parse ( Context &  context,
Reader &  reader 
)
inlinestatic

Definition at line 74 of file dsl/token.hpp.

Member Data Documentation

◆ error

template<typename Derived , typename ImplOrTag = branch_base>
template<typename Tag >
constexpr _toke<Tag, Derived> lexyd::token_base< Derived, ImplOrTag >::error = _toke<Tag, Derived>{}
staticconstexpr

Definition at line 119 of file dsl/token.hpp.

◆ kind

template<typename Derived , typename ImplOrTag = branch_base>
template<auto Kind>
constexpr _tokk<Kind, Derived> lexyd::token_base< Derived, ImplOrTag >::kind = _tokk<Kind, Derived>{}
staticconstexpr

Definition at line 122 of file dsl/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