#include <parse_as_tree.hpp>
Public Types | |
using | handler = _pth< tree_type, lexy::input_reader< Input > > |
using | input = Input |
template<typename > | |
using | result_type = validate_result< ErrorCallback > |
using | state = State |
using | tree_type = lexy::parse_tree_for< Input, TokenKind, MemoryResource > |
Public Member Functions | |
template<typename Production > | |
constexpr auto | operator() (Production, const Input &input) const |
constexpr | parse_as_tree_action (tree_type &tree, const ErrorCallback &callback) |
template<typename U = State> | |
constexpr | parse_as_tree_action (U &state, tree_type &tree, const ErrorCallback &callback) |
Public Attributes | |
const ErrorCallback * | _callback |
State * | _state = nullptr |
tree_type * | _tree |
Definition at line 138 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::handler = _pth<tree_type, lexy::input_reader<Input> > |
Definition at line 146 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::input = Input |
Definition at line 148 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::result_type = validate_result<ErrorCallback> |
Definition at line 151 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::state = State |
Definition at line 147 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::tree_type = lexy::parse_tree_for<Input, TokenKind, MemoryResource> |
Definition at line 140 of file parse_as_tree.hpp.
|
inlineexplicitconstexpr |
Definition at line 153 of file parse_as_tree.hpp.
|
inlineexplicitconstexpr |
Definition at line 157 of file parse_as_tree.hpp.
|
inlineconstexpr |
Definition at line 163 of file parse_as_tree.hpp.
const ErrorCallback* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_callback |
Definition at line 143 of file parse_as_tree.hpp.
State* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_state = nullptr |
Definition at line 144 of file parse_as_tree.hpp.
tree_type* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_tree |
Definition at line 142 of file parse_as_tree.hpp.