#include <scan.hpp>
Public Member Functions | |
constexpr auto | finish () &&-> lexy::validate_result< ErrorCallback > |
constexpr const auto & | parse_state () const |
constexpr | scanner (const Input &input, State *state, const ErrorCallback &callback) |
Public Member Functions inherited from lexy::_detail::scanner< scanner< ControlProduction, Input, State, ErrorCallback >, lexy::input_reader< Input > > | |
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 lexy::input_reader< Input > ::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 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 lexy::input_reader< Input > ::iterator |
constexpr auto | remaining_input () const noexcept |
constexpr | scanner (const scanner &) noexcept=delete |
Private Types | |
using | _handler = lexy::_vh< lexy::input_reader< Input > > |
using | _impl = _detail::scanner< scanner< ControlProduction, Input, State, ErrorCallback >, lexy::input_reader< Input > > |
using | _production = _scp< ControlProduction > |
Private Member Functions | |
auto & | context () noexcept |
Private Attributes | |
_detail::parse_context_control_block< _handler, State > | _cb |
_pc< _handler, State, _production > | _context |
friend | _impl |
_detail::any_holder< const Input * > | _input |
_detail::any_holder< _error_sink_t< ErrorCallback > > | _sink |
Additional Inherited Members | |
Public Types inherited from lexy::_detail::scanner< scanner< ControlProduction, Input, State, ErrorCallback >, lexy::input_reader< Input > > | |
using | encoding = typename lexy::input_reader< Input > ::encoding |
Protected Member Functions inherited from lexy::_detail::scanner< scanner< ControlProduction, Input, State, ErrorCallback >, lexy::input_reader< Input > > | |
constexpr lexy::input_reader< Input > & | reader () noexcept |
constexpr | scanner (const lexy::input_reader< Input > &reader) noexcept |
Definition at line 31 of file action/scan.hpp.
|
private |
Definition at line 36 of file action/scan.hpp.
|
private |
Definition at line 35 of file action/scan.hpp.
|
private |
Definition at line 37 of file action/scan.hpp.
|
inlineexplicitconstexpr |
Definition at line 40 of file action/scan.hpp.
|
inlineprivatenoexcept |
Definition at line 66 of file action/scan.hpp.
|
inlineconstexpr |
Definition at line 52 of file action/scan.hpp.
|
inlineconstexpr |
Definition at line 47 of file action/scan.hpp.
|
private |
Definition at line 73 of file action/scan.hpp.
|
private |
Definition at line 74 of file action/scan.hpp.
|
private |
Definition at line 76 of file action/scan.hpp.
|
private |
Definition at line 71 of file action/scan.hpp.
|
private |
Definition at line 72 of file action/scan.hpp.