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 (Rule rule) -> scan_result< lexeme< Reader >>
 
constexpr auto capture_token (Token)
 
constexpr bool discard (TokenRule rule)
 
constexpr void error (Tag, Args &&... args)
 
constexpr auto error_recovery ()
 
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 412 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 415 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 429 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 423 of file dsl/scan.hpp.

◆ context()

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

Definition at line 434 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 417 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 440 of file dsl/scan.hpp.

◆ _context

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

Definition at line 439 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 Jun 28 2024 02:20:09