Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

grammar_to_parser::basic_parser< wchar_t > Class Template Reference

#include <basic_simple_non_terminal.h>

Inheritance diagram for grammar_to_parser::basic_parser< wchar_t >:

grammar_to_parser::basic_object_parser< wchar_t, A > grammar_to_parser::basic_object_parser< wchar_t, address > grammar_to_parser::basic_object_parser< wchar_t, std::basic_string< wchar_t > > grammar_to_parser::basic_object_parser< wchar_t, std::list< A > > grammar_to_parser::basic_object_parser< wchar_t, wchar_t > grammar_to_parser::basic_simple_non_terminal< wchar_t > grammar_to_parser::basic_list_parser< wchar_t, A, S > grammar_to_parser::basic_terminal< wchar_t, value > xml_parser::basic_xml_attribute_list_parser< wchar_t > xml_parser::basic_xml_attribute_parser< wchar_t > grammar_to_parser::wlist_parser< A, S > grammar_to_parser::wterminal< value > xml_parser::basic_xml_number_attribute_parser< wchar_t, A > List of all members.

Public Member Functions

virtual void get_symbols (parser_list &l)=0
virtual void invalidate ()
virtual bool is_valid () const
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)

Protected Member Functions

virtual void prepare_for_parsing ()
virtual void prepare_for_formatting ()

Protected Attributes

parser_list m_parser_list

Detailed Description

template<typename E>
class grammar_to_parser::basic_parser< wchar_t >

The non_terminal - always defined as set of symbols in defined order - simplified version of basic_non_terminal. Use this class when want to inherit directly and not to use the class as template parameter, so as not to use strategy - the parsing of this class is usable for regular grammars only. See xml_parser sample project. Special type is basic_choice, which inherits from this class


The documentation for this class was generated from the following file:
Generated on Sun Jul 2 18:39:45 2006 for grammar2parser.kdevelop by  doxygen 1.4.1