Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lexy::rule_scanner< Context, Reader > Class Template Reference

#include <scan.hpp>

Inheritance diagram for lexy::rule_scanner< Context, Reader >:
Inheritance graph
[legend]

Public Types

using production = typename Context::production
 
- Public Types inherited from lexy::_detail::scanner< rule_scanner< Context, Reader >, Reader >
using encoding = typename Reader::encoding
 

Public Member Functions

constexpr auto begin () const noexcept -> typename Reader::iterator
 
constexpr std::size_t recursion_depth () const noexcept
 
- Public Member Functions inherited from lexy::_detail::scanner< rule_scanner< Context, Reader >, Reader >
constexpr bool branch (Rule rule)
 
constexpr bool branch (scan_result< T > &result, Production={})
 
constexpr bool branch (scan_result< T > &result, Rule)
 
constexpr auto capture (lexyd::_prd< Production >)
 
constexpr auto capture (Token)
 
constexpr auto current () const noexcept -> typename Reader::marker
 
constexpr bool discard (TokenRule rule)
 
constexpr void error (const char *msg, Args &&... args)
 
constexpr void error (Tag, Args &&... args)
 
constexpr auto error_recovery ()
 
constexpr void fatal_error (const char *msg, Args &&... args)
 
constexpr void fatal_error (Tag tag, Args &&... args)
 
constexpr auto integer (Digits digits)
 
constexpr auto integer (Digits digits)
 
constexpr bool is_at_eof () const
 
constexpr operator bool () const noexcept
 
constexpr scanneroperator= (const scanner &) noexcept=delete
 
constexpr auto parse (Production={})
 
constexpr void parse (Rule rule)
 
constexpr auto parse (Rule rule)
 
constexpr void parse (scan_result< T > &result, Rule)
 
constexpr bool peek (Rule)
 
constexpr auto position () const noexcept -> typename Reader::iterator
 
constexpr auto remaining_input () const noexcept
 
constexpr scanner (const scanner &) noexcept=delete
 

Private Member Functions

constexpr Context & context () noexcept
 
constexpr rule_scanner (Context &context, Reader reader)
 

Private Attributes

Reader::iterator _begin
 
Context * _context
 

Additional Inherited Members

- Protected Member Functions inherited from lexy::_detail::scanner< rule_scanner< Context, Reader >, Reader >
constexpr Reader & reader () noexcept
 
constexpr scanner (const Reader &reader) noexcept
 

Detailed Description

template<typename Context, typename Reader>
class lexy::rule_scanner< Context, Reader >

Definition at line 425 of file dsl/scan.hpp.

Member Typedef Documentation

◆ production

template<typename Context , typename Reader >
using lexy::rule_scanner< Context, Reader >::production = typename Context::production

Definition at line 428 of file dsl/scan.hpp.

Constructor & Destructor Documentation

◆ rule_scanner()

template<typename Context , typename Reader >
constexpr lexy::rule_scanner< Context, Reader >::rule_scanner ( Context &  context,
Reader  reader 
)
inlineexplicitconstexprprivate

Definition at line 442 of file dsl/scan.hpp.

Member Function Documentation

◆ begin()

template<typename Context , typename Reader >
constexpr auto lexy::rule_scanner< Context, Reader >::begin ( ) const -> typename Reader::iterator
inlineconstexprnoexcept

Definition at line 436 of file dsl/scan.hpp.

◆ context()

template<typename Context , typename Reader >
constexpr Context& lexy::rule_scanner< Context, Reader >::context ( )
inlineconstexprprivatenoexcept

Definition at line 447 of file dsl/scan.hpp.

◆ recursion_depth()

template<typename Context , typename Reader >
constexpr std::size_t lexy::rule_scanner< Context, Reader >::recursion_depth ( ) const
inlineconstexprnoexcept

Definition at line 430 of file dsl/scan.hpp.

Member Data Documentation

◆ _begin

template<typename Context , typename Reader >
Reader::iterator lexy::rule_scanner< Context, Reader >::_begin
private

Definition at line 453 of file dsl/scan.hpp.

◆ _context

template<typename Context , typename Reader >
Context* lexy::rule_scanner< Context, Reader >::_context
private

Definition at line 452 of file dsl/scan.hpp.


The documentation for this class was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19