#include <simple_non_terminal.h>
Inheritance diagram for grammar_to_parser::basic_simple_non_terminal< E >:

Public Types | |
|
typedef basic_parser< E >::parser_list | parser_list |
|
typedef basic_parser< E >::parser_list_iterator | parser_list_iterator |
Public Member Functions | |
| virtual void | push_parsers (parser_list &l)=0 |
| virtual void | invalidate () |
| Used for owned objects manipulation, redefined in basic_object_parser. | |
| virtual bool | is_valid () const |
| Used for owned objects manipulation, redefined in basic_object_parser. | |
| unsigned long | parse (const E *buf, const unsigned long buf_length) |
| virtual std::basic_istream< E > & | parse (std::basic_istream< E > &is) |
|
virtual std::basic_ostream< E > & | format (std::basic_ostream< E > &os) |
| Used for formatting the class to output stream. | |
Protected Member Functions | |
| virtual void | prepare_for_parsing () |
| virtual void | prepare_for_formatting () |
Protected Attributes | |
| parser_list | m_parser_list |
|
||||||||||
|
The parse method using which the input stream is searched and the value is copied from buffer into parsed objects manipulated by basic_object_parser. For parse method is used different implementation depending on type of parser - if terminal_type, non_terminal_type or choice_type Implements grammar_to_parser::basic_parser< E >. Reimplemented in grammar_to_parser::basic_simple_choice< E >, xml_parser::basic_xml_attribute_list_parser< E >, xml_parser::basic_xml_attribute_list_parser< wchar_t >, and xml_parser::basic_xml_attribute_list_parser< char >. |
|
||||||||||||||||
|
The parse method using which the input buffer is searched and the value is copied from buffer into parsed objects manipulated by basic_object_parser. For parse method is used different implementation depending on type of parser - if terminal_type, non_terminal_type or choice_type. Implements grammar_to_parser::basic_parser< E >. Reimplemented in grammar_to_parser::basic_simple_choice< E >, xml_parser::basic_xml_attribute_list_parser< E >, xml_parser::basic_xml_attribute_list_parser< wchar_t >, and xml_parser::basic_xml_attribute_list_parser< char >. |
|
|||||||||
|
Every format() method implementation should call this (or specialized) method at the beginning of the method. Reimplemented from grammar_to_parser::basic_parser< E >. |
|
|||||||||
|
Every parse() method implementation should call this (or specialized) method at the beginning of the method. Reimplemented from grammar_to_parser::basic_parser< E >. |
1.4.1