Classes | Namespaces | Typedefs | Functions
input_location.hpp File Reference
#include <lexy/dsl/code_point.hpp>
#include <lexy/dsl/newline.hpp>
#include <lexy/input/base.hpp>
#include <lexy/lexeme.hpp>
Include dependency graph for input_location.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lexy::byte_location_counting< LineWidth >
 Counts bytes for columns, lines end after LineWidth bytes. More...
 
class  lexy::code_point_location_counting
 Counts code points for columns, newlines for lines. More...
 
class  lexy::code_unit_location_counting
 Counts code units for columns, newlines for lines. More...
 
struct  lexy::input_line_annotation< Input >
 
class  lexy::input_location< Input, Counting >
 A location in the input. More...
 
struct  lexy::input_location_anchor< Input >
 Anchor for the location search. More...
 

Namespaces

 lexy
 
 lexy::_detail
 

Typedefs

template<typename Input >
using lexy::_default_location_counting = std::conditional_t< std::is_same_v< typename lexy::input_reader< Input >::encoding, lexy::byte_encoding >, byte_location_counting<>, code_unit_location_counting >
 

Functions

template<typename Input >
constexpr void lexy::_get_input_line_annotation (input_line_annotation< Input > &result, lexy::lexeme_for< Input > line, lexy::lexeme_for< Input > newline, typename lexy::input_reader< Input >::iterator begin, typename lexy::input_reader< Input >::iterator end)
 
template<typename Encoding , typename Iterator >
constexpr Iterator lexy::_detail::find_cp_boundary (Iterator cur, Iterator end)
 
template<typename Counting , typename Input >
constexpr auto lexy::_detail::get_input_line (const Input &input, typename lexy::input_reader< Input >::iterator line_begin)
 
template<typename Input , typename Counting >
constexpr auto lexy::get_input_line_annotation (const Input &input, const input_location< Input, Counting > &begin_location, typename lexy::input_reader< Input >::iterator end) -> input_line_annotation< Input >
 
template<typename Input , typename Counting >
constexpr auto lexy::get_input_line_annotation (const Input &input, const input_location< Input, Counting > &location, std::size_t size)
 Computes the annotation for e.g. an error message covering [location, location + size). More...
 
template<typename Counting , typename Input >
constexpr auto lexy::get_input_location (const Input &input, typename lexy::input_reader< Input >::iterator position)
 
template<typename Input >
constexpr auto lexy::get_input_location (const Input &input, typename lexy::input_reader< Input >::iterator position)
 
template<typename Input >
constexpr auto lexy::get_input_location (const Input &input, typename lexy::input_reader< Input >::iterator position, input_location_anchor< Input > anchor)
 
template<typename Counting , typename Input >
constexpr auto lexy::get_input_location (const Input &input, typename lexy::input_reader< Input >::iterator position, input_location_anchor< Input > anchor) -> input_location< Input, Counting >
 The location for a position in the input; search starts at the anchor. More...
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08