Public Member Functions | List of all members
lexy::unconditional_branch_parser< Rule, Reader > Struct Template Reference

A branch parser that takes a branch unconditionally and forwards to the regular parser. More...

#include <base.hpp>

Public Member Functions

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

Detailed Description

template<typename Rule, typename Reader>
struct lexy::unconditional_branch_parser< Rule, Reader >

A branch parser that takes a branch unconditionally and forwards to the regular parser.

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

Member Function Documentation

◆ cancel()

template<typename Rule , typename Reader >
template<typename Context >
constexpr void lexy::unconditional_branch_parser< Rule, Reader >::cancel ( Context &  )
inlineconstexpr

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

◆ finish()

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

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

◆ try_parse()

template<typename Rule , typename Reader >
constexpr std::true_type lexy::unconditional_branch_parser< Rule, Reader >::try_parse ( const void *  ,
const Reader &   
)
inlineconstexpr

Definition at line 116 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 Mon Sep 16 2024 02:19:25