#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 152 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 160 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::input = Input |
Definition at line 162 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 165 of file parse_as_tree.hpp.
using lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::state = State |
Definition at line 161 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 154 of file parse_as_tree.hpp.
|
inlineexplicitconstexpr |
Definition at line 167 of file parse_as_tree.hpp.
|
inlineexplicitconstexpr |
Definition at line 171 of file parse_as_tree.hpp.
|
inlineconstexpr |
Definition at line 177 of file parse_as_tree.hpp.
const ErrorCallback* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_callback |
Definition at line 157 of file parse_as_tree.hpp.
State* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_state = nullptr |
Definition at line 158 of file parse_as_tree.hpp.
tree_type* lexy::parse_as_tree_action< State, Input, ErrorCallback, TokenKind, MemoryResource >::_tree |
Definition at line 156 of file parse_as_tree.hpp.