--- parser3/src/include/pa_request.h 2001/02/22 10:43:42 1.8 +++ parser3/src/include/pa_request.h 2001/02/24 08:28:35 1.11 @@ -1,5 +1,5 @@ /* - $Id: pa_request.h,v 1.8 2001/02/22 10:43:42 paf Exp $ + $Id: pa_request.h,v 1.11 2001/02/24 08:28:35 paf Exp $ */ #ifndef PA_REQUEST_H @@ -13,6 +13,7 @@ #include "pa_stack.h" #define MAIN_METHOD_NAME "main" +#define SELF_NAME "self" #ifndef NO_STRING_ORIGIN # define COMPILE_PARAMS char *source, char *file @@ -46,7 +47,7 @@ private: // core data Hash fclasses; // contexts - Value *root, *self, *rcontext; + Value *self, *root, *rcontext; WContext *wcontext; // execution stack @@ -64,7 +65,9 @@ private: // compile.C private: // execute.C - void execute(Array& ops); + void execute(const Array& ops); + + Value *get_element(); };