#include <scan.hpp>
Public Types | |
using | production = typename Context::production |
![]() | |
using | encoding = typename Reader::encoding |
Public Member Functions | |
constexpr auto | begin () const noexcept -> typename Reader::iterator |
constexpr std::size_t | recursion_depth () const noexcept |
![]() | |
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 scanner & | operator= (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 | |
![]() | |
constexpr Reader & | reader () noexcept |
constexpr | scanner (const Reader &reader) noexcept |
Definition at line 412 of file dsl/scan.hpp.
using lexy::rule_scanner< Context, Reader >::production = typename Context::production |
Definition at line 415 of file dsl/scan.hpp.
|
inlineexplicitconstexprprivate |
Definition at line 429 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 423 of file dsl/scan.hpp.
|
inlineconstexprprivatenoexcept |
Definition at line 434 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 417 of file dsl/scan.hpp.
|
private |
Definition at line 440 of file dsl/scan.hpp.
|
private |
Definition at line 439 of file dsl/scan.hpp.