#include <list_parser.h>
Inheritance diagram for grammar_to_parser::basic_list_parser< E, A, S >:
Public Types | |
typedef std::list< A > | parser_list |
Public Member Functions | |
basic_list_parser (int min_size, int max_size) | |
template<class R> | |
void | get_list (std::list< R > &l) |
unsigned long | parse (const E *buf, const unsigned long buf_length) |
std::basic_istream< E > & | parse (std::basic_istream< E > &is) |
std::basic_ostream< E > & | format (std::basic_ostream< E > &os) |
Protected Attributes | |
int | m_min |
int | m_max |
Private Types | |
typedef std::list< A > | std_list_A |
typedef std_list_A::iterator | std_list_A_iterator |
typedef basic_parser< E >::parser_list | parser_list |
typedef basic_parser< E >::parser_list_iterator | parser_list_iterator |
|
Formats the parsed word back into output stream. Implements grammar_to_parser::basic_parser< E >. |
|
The method continues with parsing, until A::parse doesn't fail. Implements grammar_to_parser::basic_parser< E >. |
|
The method continues with parsing, until A::parse doesn't fail. Implements grammar_to_parser::basic_parser< E >. |