--- parser3/src/include/pa_request.h 2001/03/08 13:13:39 1.18 +++ parser3/src/include/pa_request.h 2001/03/10 11:03:47 1.22 @@ -1,5 +1,5 @@ /* - $Id: pa_request.h,v 1.18 2001/03/08 13:13:39 paf Exp $ + $Id: pa_request.h,v 1.22 2001/03/10 11:03:47 paf Exp $ */ #ifndef PA_REQUEST_H @@ -40,9 +40,21 @@ public: // core request processing void core(); + void use(char *file, String *alias); // core.C + Value& autocalc(Value& value, bool make_string=true); // execute.C + + void write(String& astring) { + wcontext->write(astring, lang); // append string, assigning untaint language + } + public: + + // default base + VClass root_class; - VClass root_class; // default base + // contexts + Value *self, *root, *rcontext; + WContext *wcontext; private: // core data @@ -50,19 +62,9 @@ private: // core data Hash fclasses; Array fclasses_array; - // contexts - Value *self, *root, *rcontext; - WContext *wcontext; - // execution stack Stack stack; -public: - - void use(char *file, String *alias); // core.C - Value& autocalc(Value& value); // execute.C - void write(Value& avalue); // execute.C - private: // core.C char *execute_MAIN(); @@ -77,6 +79,14 @@ private: // execute.C Value *get_element(); +private: // lang&raw + + String::Untaint_lang lang; + +private: // lang&raw manipulation + + + }; // core func