#include <peglib.h>
|
| template<typename F > |
| auto | transform (F f) const -> vector< typename std::remove_const< decltype(f(any()))>::type > |
| |
| template<typename F > |
| auto | transform (size_t beg, size_t end, F f) const -> vector< typename std::remove_const< decltype(f(any()))>::type > |
| |
◆ SemanticValues()
| peg::SemanticValues::SemanticValues |
( |
| ) |
|
|
inline |
◆ c_str()
| const char* peg::SemanticValues::c_str |
( |
| ) |
const |
|
inline |
◆ choice()
| size_t peg::SemanticValues::choice |
( |
| ) |
const |
|
inline |
◆ length()
| size_t peg::SemanticValues::length |
( |
| ) |
const |
|
inline |
◆ line_info()
| std::pair<size_t, size_t> peg::SemanticValues::line_info |
( |
| ) |
const |
|
inline |
◆ str()
◆ token()
| std::string peg::SemanticValues::token |
( |
size_t |
id = 0 | ) |
const |
|
inline |
◆ transform() [1/3]
template<typename T >
| auto peg::SemanticValues::transform |
( |
size_t |
beg = 0, |
|
|
size_t |
end = static_cast<size_t>(-1) |
|
) |
| const -> vector<T> |
|
inline |
◆ transform() [2/3]
template<typename F >
| auto peg::SemanticValues::transform |
( |
F |
f | ) |
const -> vector<typename std::remove_const<decltype(f(any()))>::type> |
|
inlineprivate |
◆ transform() [3/3]
template<typename F >
| auto peg::SemanticValues::transform |
( |
size_t |
beg, |
|
|
size_t |
end, |
|
|
F |
f |
|
) |
| const -> vector<typename std::remove_const<decltype(f(any()))>::type> |
|
inlineprivate |
◆ Context
◆ Holder
◆ PrioritizedChoice
◆ choice_
| size_t peg::SemanticValues::choice_ |
|
private |
◆ n_
| size_t peg::SemanticValues::n_ |
|
private |
◆ path
| const char* peg::SemanticValues::path |
◆ s_
| const char* peg::SemanticValues::s_ |
|
private |
◆ ss
| const char* peg::SemanticValues::ss |
◆ tokens
| std::vector<std::pair<const char*, size_t> > peg::SemanticValues::tokens |
The documentation for this struct was generated from the following file: