Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
lexy::_ptr< Node > Class Template Reference

#include <parse_tree_input.hpp>

Classes

struct  marker
 

Public Types

using encoding = parse_tree_encoding< Node >
 
using iterator = typename _traits::iterator
 

Public Member Functions

constexpr _ptr (const Node &root) noexcept
 
constexpr void bump () noexcept
 
constexpr _ptr child_reader () const &noexcept
 
constexpr marker current () const noexcept
 
constexpr auto lexeme_reader () const &noexcept
 
constexpr const Node & peek () const noexcept
 
constexpr iterator position () const noexcept
 
constexpr void reset (marker m) noexcept
 

Private Types

using _traits = parse_tree_input_traits< Node >
 

Private Attributes

Node _cur
 
Node _parent
 

Detailed Description

template<typename Node>
class lexy::_ptr< Node >

Definition at line 71 of file parse_tree_input.hpp.

Member Typedef Documentation

◆ _traits

template<typename Node >
using lexy::_ptr< Node >::_traits = parse_tree_input_traits<Node>
private

Definition at line 73 of file parse_tree_input.hpp.

◆ encoding

template<typename Node >
using lexy::_ptr< Node >::encoding = parse_tree_encoding<Node>

Definition at line 76 of file parse_tree_input.hpp.

◆ iterator

template<typename Node >
using lexy::_ptr< Node >::iterator = typename _traits::iterator

Definition at line 77 of file parse_tree_input.hpp.

Constructor & Destructor Documentation

◆ _ptr()

template<typename Node >
constexpr lexy::_ptr< Node >::_ptr ( const Node &  root)
inlineexplicitconstexprnoexcept

Definition at line 91 of file parse_tree_input.hpp.

Member Function Documentation

◆ bump()

template<typename Node >
constexpr void lexy::_ptr< Node >::bump ( )
inlineconstexprnoexcept

Definition at line 110 of file parse_tree_input.hpp.

◆ child_reader()

template<typename Node >
constexpr _ptr lexy::_ptr< Node >::child_reader ( ) const &
inlineconstexprnoexcept

Definition at line 95 of file parse_tree_input.hpp.

◆ current()

template<typename Node >
constexpr marker lexy::_ptr< Node >::current ( ) const
inlineconstexprnoexcept

Definition at line 116 of file parse_tree_input.hpp.

◆ lexeme_reader()

template<typename Node >
constexpr auto lexy::_ptr< Node >::lexeme_reader ( ) const &
inlineconstexprnoexcept

Definition at line 99 of file parse_tree_input.hpp.

◆ peek()

template<typename Node >
constexpr const Node& lexy::_ptr< Node >::peek ( ) const
inlineconstexprnoexcept

Definition at line 105 of file parse_tree_input.hpp.

◆ position()

template<typename Node >
constexpr iterator lexy::_ptr< Node >::position ( ) const
inlineconstexprnoexcept

Definition at line 125 of file parse_tree_input.hpp.

◆ reset()

template<typename Node >
constexpr void lexy::_ptr< Node >::reset ( marker  m)
inlineconstexprnoexcept

Definition at line 120 of file parse_tree_input.hpp.

Member Data Documentation

◆ _cur

template<typename Node >
Node lexy::_ptr< Node >::_cur
private

Definition at line 132 of file parse_tree_input.hpp.

◆ _parent

template<typename Node >
Node lexy::_ptr< Node >::_parent
private

Definition at line 131 of file parse_tree_input.hpp.


The documentation for this class was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19