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

grammar_to_parser::basic_white_space_parser< E > Class Template Reference

#include <white_space_parser.h>

Inheritance diagram for grammar_to_parser::basic_white_space_parser< E >:

grammar_to_parser::basic_default_type_parser< E, std::basic_string< E > > grammar_to_parser::basic_object_parser< E, A > grammar_to_parser::basic_parser< E > List of all members.

Public Member Functions

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

Protected Member Functions

bool is_space (E input)
bool is_space (std::basic_istream< E > &is)

Private Types

typedef std::basic_string< E > std_string
typedef std::basic_istream<
E > 
std_istream
typedef std::ctype< E > std_ctype
typedef std::char_traits< E > std_char_traits

Detailed Description

template<typename E>
class grammar_to_parser::basic_white_space_parser< E >

Parses any white space character, usable if it is not desired to ignore white char as during basic_pattern_parser::parse with option IGNORE_SPACE.


Member Function Documentation

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

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 >.

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

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 >.


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