Searched refs:position_cache (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/libs/spirit/example/x3/ |
D | annotation.cpp | 94 auto& position_cache = x3::get<position_cache_tag>(context).get(); in on_success() local 95 position_cache.annotate(ast, first, last); in on_success() 146 using position_cache = boost::spirit::x3::position_cache<std::vector<iterator_type>>; typedef 149 parse(std::string const& input, position_cache& positions) in parse() 237 position_cache positions{input.begin(), input.end()}; in main()
|
/third_party/boost/libs/spirit/doc/x3/tutorial/ |
D | annotation.qbk | 79 [heading x3::position_cache] 82 `position_cache`. It is a simple class that collects iterator ranges that 84 an AST, you can query the position_cache about AST's position. For example: 88 Where `my_ast` is the AST, `positions` and is the `position_cache`, 132 auto& position_cache = x3::get<position_cache_tag>(context).get(); 133 position_cache.annotate(ast, first, last); 138 actual `position_cache`, client data that we will inject at very start, when 141 Our `on_success` handler gets a reference to the actual `position_cache` and 143 `position_cache.annotate(ast, first, last)` annotates the AST with 233 For our particular example, we use to inject the `position_cache` into the [all …]
|
/third_party/boost/boost/spirit/home/x3/support/ast/ |
D | position_tagged.hpp | 26 class position_cache class 32 position_cache( in position_cache() function in boost::spirit::x3::position_cache
|
/third_party/boost/boost/spirit/home/x3/support/utility/ |
D | error_reporting.hpp | 57 position_cache<std::vector<Iterator>> const& get_position_cache() const in get_position_cache() 75 position_cache<std::vector<Iterator>> pos_cache;
|