#include <terminal.h>
Inheritance diagram for grammar_to_parser::basic_terminal< E, value >:
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) |
virtual std::basic_ostream< E > & | format (std::basic_ostream< E > &os) |
E & | get_valid () |
Private Types | |
typedef std::auto_ptr< E > | std_auto_ptr |
|
grammar_to_parser::basic_terminal::format( str::ostream& os ) Implements grammar_to_parser::basic_parser< E >. |
|
The same as auto_ptr<>::get(), additionally creates a new instance of allocated object, if NULL pointer. Reimplemented from grammar_to_parser::basic_object_parser< E, 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 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 >. |