#include <ascii_range_terminal.h>
Inheritance diagram for grammar_to_parser::basic_ascii_range_terminal< E >:
Public Member Functions | |
basic_ascii_range_terminal (E from_char, E to_char) | |
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) |
Private Types | |
typedef std::auto_ptr< E > | std_auto_ptr |
Private Attributes | |
E | m_from_char |
E | m_to_char |
|
Formats the previously parsed or stored value into output stream Implements grammar_to_parser::basic_parser< E >. |
|
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 >. |
|
The input is succesfully parsed, if first item in buffer is within the range specified in constructor input
Implements grammar_to_parser::basic_parser< E >. |