parser_arg Struct Reference
Pass parameters by reference to a parser. Pass parameters by reference to a parser.
More...
#include <parser.h>
Collaboration diagram for parser_arg:
[legend]List of all members.
Detailed Description
parser_arg
is used to pass parameters to the bison parsers and get error codes and objects in return. If status()
is true, then the object()
returns a pointer to the object built during the parse process. If status()
is false, then the error()
returns a pointer to an Error object.
Note that the object()
mfunc returns a void pointer.
Definition at line 65 of file parser.h.
Constructor & Destructor Documentation
parser_arg::parser_arg |
( |
|
) |
[inline] |
|
parser_arg::parser_arg |
( |
void * |
obj |
) |
[inline] |
|
virtual parser_arg::~parser_arg |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
Error* parser_arg::error |
( |
|
) |
[inline] |
|
void* parser_arg::object |
( |
|
) |
[inline] |
|
void parser_arg::set_error |
( |
Error * |
obj |
) |
[inline] |
|
void parser_arg::set_object |
( |
void * |
obj |
) |
[inline] |
|
void parser_arg::set_status |
( |
int |
val = 0 |
) |
[inline] |
|
int parser_arg::status |
( |
|
) |
[inline] |
|
Member Data Documentation
The documentation for this struct was generated from the following file:
Generated on Thu Aug 2 06:44:33 2007 for libdap++ by
1.3.9.1