Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
lexyd::_escape< Escape, Branches > Struct Template Reference

#include <delimited.hpp>

Inheritance diagram for lexyd::_escape< Escape, Branches >:
Inheritance graph
[legend]

Public Member Functions

template<typename Branch >
constexpr auto capture (Branch branch) const
 Adds an escape rule that captures the branch. More...
 
template<typename Branch >
constexpr auto rule (Branch) const
 Adds a generic escape rule. More...
 
template<const auto & Table>
constexpr auto symbol () const
 
template<const auto & Table, typename Rule >
constexpr auto symbol (Rule rule) const
 Adds an escape rule that parses the symbol. More...
 

Static Public Member Functions

template<typename Encoding >
static constexpr auto esc_first_char () -> typename Encoding::char_type
 
template<typename Context , typename Reader , typename Sink , typename Char >
static constexpr bool esc_try_parse (Context &context, Reader &reader, Sink &sink, _del_chars< Char, Reader > &cur_chars)
 

Static Public Attributes

static constexpr bool esc_is_literal = lexy::is_literal_rule<Escape>
 

Detailed Description

template<typename Escape, typename... Branches>
struct lexyd::_escape< Escape, Branches >

Definition at line 364 of file delimited.hpp.

Member Function Documentation

◆ capture()

template<typename Escape , typename... Branches>
template<typename Branch >
constexpr auto lexyd::_escape< Escape, Branches >::capture ( Branch  branch) const
inlineconstexpr

Adds an escape rule that captures the branch.

Definition at line 433 of file delimited.hpp.

◆ esc_first_char()

template<typename Escape , typename... Branches>
template<typename Encoding >
static constexpr auto lexyd::_escape< Escape, Branches >::esc_first_char ( ) -> typename Encoding::char_type
inlinestaticconstexpr

Definition at line 368 of file delimited.hpp.

◆ esc_try_parse()

template<typename Escape , typename... Branches>
template<typename Context , typename Reader , typename Sink , typename Char >
static constexpr bool lexyd::_escape< Escape, Branches >::esc_try_parse ( Context &  context,
Reader &  reader,
Sink &  sink,
_del_chars< Char, Reader > &  cur_chars 
)
inlinestaticconstexpr

Definition at line 374 of file delimited.hpp.

◆ rule()

template<typename Escape , typename... Branches>
template<typename Branch >
constexpr auto lexyd::_escape< Escape, Branches >::rule ( Branch  ) const
inlineconstexpr

Adds a generic escape rule.

Definition at line 425 of file delimited.hpp.

◆ symbol() [1/2]

template<typename Escape , typename... Branches>
template<const auto & Table>
constexpr auto lexyd::_escape< Escape, Branches >::symbol ( ) const
inlineconstexpr

Definition at line 446 of file delimited.hpp.

◆ symbol() [2/2]

template<typename Escape , typename... Branches>
template<const auto & Table, typename Rule >
constexpr auto lexyd::_escape< Escape, Branches >::symbol ( Rule  rule) const
inlineconstexpr

Adds an escape rule that parses the symbol.

Definition at line 441 of file delimited.hpp.

Member Data Documentation

◆ esc_is_literal

template<typename Escape , typename... Branches>
constexpr bool lexyd::_escape< Escape, Branches >::esc_is_literal = lexy::is_literal_rule<Escape>
staticconstexpr

Definition at line 366 of file delimited.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:10