#include <peglib.h>
|
| | AstBase (const char *path, size_t line, size_t column, const char *name, const std::vector< std::shared_ptr< AstBase > > &nodes, size_t position=0, size_t length=0, size_t choice_count=0, size_t choice=0) |
| | AstBase (const char *path, size_t line, size_t column, const char *name, const std::string_view &token, size_t position=0, size_t length=0, size_t choice_count=0, size_t choice=0) |
| | AstBase (const AstBase &ast, const char *original_name, size_t position=0, size_t length=0, size_t original_choice_count=0, size_t original_choice=0) |
| std::string | token_to_string () const |
| template<typename T> |
| T | token_to_number () const |
◆ AstBase() [1/3]
template<typename Annotation>
| peg::AstBase< Annotation >::AstBase |
( |
const char * | path, |
|
|
size_t | line, |
|
|
size_t | column, |
|
|
const char * | name, |
|
|
const std::vector< std::shared_ptr< AstBase< Annotation > > > & | nodes, |
|
|
size_t | position = 0, |
|
|
size_t | length = 0, |
|
|
size_t | choice_count = 0, |
|
|
size_t | choice = 0 ) |
|
inline |
◆ AstBase() [2/3]
template<typename Annotation>
| peg::AstBase< Annotation >::AstBase |
( |
const char * | path, |
|
|
size_t | line, |
|
|
size_t | column, |
|
|
const char * | name, |
|
|
const std::string_view & | token, |
|
|
size_t | position = 0, |
|
|
size_t | length = 0, |
|
|
size_t | choice_count = 0, |
|
|
size_t | choice = 0 ) |
|
inline |
◆ AstBase() [3/3]
template<typename Annotation>
| peg::AstBase< Annotation >::AstBase |
( |
const AstBase< Annotation > & | ast, |
|
|
const char * | original_name, |
|
|
size_t | position = 0, |
|
|
size_t | length = 0, |
|
|
size_t | original_choice_count = 0, |
|
|
size_t | original_choice = 0 ) |
|
inline |
◆ token_to_number()
template<typename Annotation>
template<typename T>
◆ token_to_string()
template<typename Annotation>
| std::string peg::AstBase< Annotation >::token_to_string |
( |
| ) |
const |
|
inline |
◆ choice
template<typename Annotation>
◆ choice_count
template<typename Annotation>
◆ column
template<typename Annotation>
◆ is_token
template<typename Annotation>
◆ length
template<typename Annotation>
◆ line
template<typename Annotation>
◆ name
template<typename Annotation>
◆ nodes
template<typename Annotation>
◆ original_choice
template<typename Annotation>
◆ original_choice_count
template<typename Annotation>
| const size_t peg::AstBase< Annotation >::original_choice_count |
◆ original_name
template<typename Annotation>
◆ original_tag
template<typename Annotation>
◆ parent
template<typename Annotation>
◆ path
template<typename Annotation>
◆ position
template<typename Annotation>
◆ tag
template<typename Annotation>
◆ token
template<typename Annotation>
The documentation for this struct was generated from the following files: