Public Member Functions | Public Attributes | List of all members
lexy::continuation_branch_parser< BranchRule, Reader, Continuation > Struct Template Reference

A branch parser that parses a branch rule but with a special continuation. More...

#include <base.hpp>

Public Member Functions

template<typename Context >
constexpr void cancel (Context &context)
 
template<typename NextParser , typename Context , typename... Args>
LEXY_PARSER_FUNC bool finish (Context &context, Reader &reader, Args &&... args)
 
template<typename ControlBlock >
constexpr auto try_parse (const ControlBlock *cb, const Reader &reader)
 

Public Attributes

branch_parser_for< BranchRule, Reader > impl
 

Detailed Description

template<typename BranchRule, typename Reader, template< typename > typename Continuation>
struct lexy::continuation_branch_parser< BranchRule, Reader, Continuation >

A branch parser that parses a branch rule but with a special continuation.

Definition at line 134 of file dsl/base.hpp.

Member Function Documentation

◆ cancel()

template<typename BranchRule , typename Reader , template< typename > typename Continuation>
template<typename Context >
constexpr void lexy::continuation_branch_parser< BranchRule, Reader, Continuation >::cancel ( Context &  context)
inlineconstexpr

Definition at line 145 of file dsl/base.hpp.

◆ finish()

template<typename BranchRule , typename Reader , template< typename > typename Continuation>
template<typename NextParser , typename Context , typename... Args>
LEXY_PARSER_FUNC bool lexy::continuation_branch_parser< BranchRule, Reader, Continuation >::finish ( Context &  context,
Reader &  reader,
Args &&...  args 
)
inline

Definition at line 151 of file dsl/base.hpp.

◆ try_parse()

template<typename BranchRule , typename Reader , template< typename > typename Continuation>
template<typename ControlBlock >
constexpr auto lexy::continuation_branch_parser< BranchRule, Reader, Continuation >::try_parse ( const ControlBlock *  cb,
const Reader &  reader 
)
inlineconstexpr

Definition at line 139 of file dsl/base.hpp.

Member Data Documentation

◆ impl

template<typename BranchRule , typename Reader , template< typename > typename Continuation>
branch_parser_for<BranchRule, Reader> lexy::continuation_branch_parser< BranchRule, Reader, Continuation >::impl

Definition at line 136 of file dsl/base.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:09