#include <scan.hpp>
Classes | |
class | error_recovery_guard |
Public Types | |
using | encoding = typename Reader::encoding |
Public Member Functions | |
template<typename Rule , typename = std::enable_if_t<lexy::is_rule<Rule>>> | |
constexpr bool | branch (Rule rule) |
template<typename Production , typename T , typename = lexy::production_rule<Production>> | |
constexpr bool | branch (scan_result< T > &result, Production={}) |
template<typename T , typename Rule , typename = std::enable_if_t<lexy::is_rule<Rule>>> | |
constexpr bool | branch (scan_result< T > &result, Rule) |
template<typename Production > | |
constexpr auto | capture (lexyd::_prd< Production >) |
template<typename Token > | |
constexpr auto | capture (Token) |
constexpr auto | current () const noexcept -> typename Reader::marker |
template<typename TokenRule > | |
constexpr bool | discard (TokenRule rule) |
template<typename... Args> | |
constexpr void | error (const char *msg, Args &&... args) |
template<typename Tag , typename... Args> | |
constexpr void | error (Tag, Args &&... args) |
constexpr auto | error_recovery () |
template<typename... Args> | |
constexpr void | fatal_error (const char *msg, Args &&... args) |
template<typename Tag , typename... Args> | |
constexpr void | fatal_error (Tag tag, Args &&... args) |
template<typename T , typename Base , typename Digits > | |
constexpr auto | integer (Digits digits) |
template<typename T , typename Digits > | |
constexpr auto | integer (Digits digits) |
constexpr bool | is_at_eof () const |
constexpr | operator bool () const noexcept |
constexpr scanner & | operator= (const scanner &) noexcept=delete |
template<typename Production , typename = lexy::production_rule<Production>> | |
constexpr auto | parse (Production={}) |
template<typename Rule , typename = std::enable_if_t<lexy::is_rule<Rule>>> | |
constexpr void | parse (Rule rule) |
template<typename T , typename Rule , typename = std::enable_if_t<lexy::is_rule<Rule>>> | |
constexpr auto | parse (Rule rule) |
template<typename T , typename Rule , typename = std::enable_if_t<lexy::is_rule<Rule>>> | |
constexpr void | parse (scan_result< T > &result, Rule) |
template<typename 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 |
Protected Member Functions | |
constexpr Reader & | reader () noexcept |
constexpr | scanner (const Reader &reader) noexcept |
Private Types | |
enum | { _state_normal, _state_failed, _state_recovery } |
Private Attributes | |
Reader | _reader |
enum lexy::_detail::scanner:: { ... } | _state |
Definition at line 33 of file dsl/scan.hpp.
using lexy::_detail::scanner< Derived, Reader >::encoding = typename Reader::encoding |
Definition at line 169 of file dsl/scan.hpp.
|
private |
Enumerator | |
---|---|
_state_normal | |
_state_failed | |
_state_recovery |
Definition at line 412 of file dsl/scan.hpp.
|
constexprdeletenoexcept |
|
inlineexplicitconstexprprotectednoexcept |
Definition at line 400 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 263 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 257 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 235 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 392 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 385 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 189 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 309 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 333 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 326 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 302 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 347 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 340 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 370 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 377 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 180 of file dsl/scan.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 175 of file dsl/scan.hpp.
|
constexprdeletenoexcept |
|
inlineconstexpr |
Definition at line 214 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 227 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 355 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 201 of file dsl/scan.hpp.
|
inlineconstexpr |
Definition at line 363 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 185 of file dsl/scan.hpp.
|
inlineconstexprprotectednoexcept |
Definition at line 404 of file dsl/scan.hpp.
|
inlineconstexprnoexcept |
Definition at line 194 of file dsl/scan.hpp.
|
private |
Definition at line 410 of file dsl/scan.hpp.
enum { ... } lexy::_detail::scanner< Derived, Reader >::_state |