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

grammar_to_parser::basic_set< E, A > Class Template Reference

#include <set.h>

Inheritance diagram for grammar_to_parser::basic_set< E, A >:

grammar_to_parser::basic_non_terminal< E, A > grammar_to_parser::basic_object_parser< E, A > grammar_to_parser::basic_parser< E > List of all members.

Public Types

typedef basic_parser< E
>::parser_list 
parser_list
typedef basic_parser< E
>::parser_list_iterator 
parser_list_iterator

Public Member Functions

virtual unsigned long parse (const E *buf, const unsigned long buf_length)
virtual std::basic_istream<
E > & 
parse (std::basic_istream< E > &is)

Detailed Description

template<typename E, typename A>
class grammar_to_parser::basic_set< E, A >

When parsing the parsing alg. tries to parse all compound parsers in random order.


Member Function Documentation

template<typename E, typename A>
std::basic_istream< E > & grammar_to_parser::basic_set< E, A >::parse std::basic_istream< E > &  is  )  [virtual]
 

This parse method is taking symbols from the begin of istream to the end, doesn't require that the whole input is parsed The input will be copied into parsed objects manipulated by

See also:
basic_object_parser.

Reimplemented from grammar_to_parser::basic_non_terminal< E, A >.

template<typename E, typename A>
unsigned long grammar_to_parser::basic_set< E, A >::parse const E *  buf,
const unsigned long  buf_length
[virtual]
 

This parse method is taking symbols from the begin of buffer to the end, doesn't require that the whole input is parsed. The input will be copied into parsed objects manipulated by

See also:
basic_object_parser, which inherits from auto_ptr.

Reimplemented from grammar_to_parser::basic_non_terminal< E, A >.


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