#include <object_parser.h>
Inheritance diagram for grammar_to_parser::basic_object_parser< E, A >:
Public Types | |
typedef std::auto_ptr< A > | std_auto_ptr |
typedef basic_parser< E >::symbol_type | symbol_type |
Public Member Functions | |
basic_object_parser (const char *name, symbol_type type=terminal_type) | |
Default constructor. | |
basic_object_parser (const char *name, const A &rhs, symbol_type type=terminal_type) | |
The constructor making the copy of. | |
basic_object_parser (const basic_object_parser &rhs) | |
The copy constructor, auto_ptr ownership will be transferred in this case. | |
virtual bool | is_valid () const |
Used for owned objects manipulation, redefined in basic_object_parser. | |
virtual A & | get_valid () |
virtual void | invalidate () |
Using this, the parser can be reused. | |
Protected Member Functions | |
virtual void | prepare_for_parsing () |
The method additionally validates the instance of A. | |
virtual void | prepare_for_formatting () |
The method additionally validates the instance of A. |
|
|