|
|
| version 1.161, 2001/05/17 19:33:33 | version 1.166, 2001/05/28 06:10:06 |
|---|---|
| Line 13 | Line 13 |
| #include "pa_request.h" | #include "pa_request.h" |
| #include "pa_vstring.h" | #include "pa_vstring.h" |
| #include "pa_vhash.h" | #include "pa_vhash.h" |
| #include "pa_vunknown.h" | #include "pa_vnothing.h" |
| #include "pa_vcode_frame.h" | #include "pa_vcode_frame.h" |
| #include "pa_vmethod_frame.h" | #include "pa_vmethod_frame.h" |
| #include "pa_vobject.h" | #include "pa_vobject.h" |
| Line 300 void Request::execute(const Array& ops) | Line 300 void Request::execute(const Array& ops) |
| if(string) | if(string) |
| value=NEW VString(*string); | value=NEW VString(*string); |
| else | else |
| value=NEW VUnknown(pool()); | value=NEW VNothing(pool()); |
| wcontext=static_cast<WContext *>(POP()); | wcontext=static_cast<WContext *>(POP()); |
| rcontext=POP(); | rcontext=POP(); |
| PUSH(value); | PUSH(value); |
| Line 321 void Request::execute(const Array& ops) | Line 321 void Request::execute(const Array& ops) |
| if(string) | if(string) |
| value=NEW VString(*string); | value=NEW VString(*string); |
| else | else |
| NEW VUnknown(pool()); | NEW VNothing(pool()); |
| wcontext=static_cast<WContext *>(POP()); | wcontext=static_cast<WContext *>(POP()); |
| PUSH(value); | PUSH(value); |
| break; | break; |
| Line 705 Value *Request::get_element() { | Line 705 Value *Request::get_element() { |
| if(value) | if(value) |
| value=&process(*value, &name); // process possible code-junction | value=&process(*value, &name); // process possible code-junction |
| else { | else { |
| value=NEW VUnknown(pool()); | value=NEW VNothing(pool()); |
| value->set_name(name); | value->set_name(name); |
| } | } |
| return value; | return value; |
| } | } |
| /** intercept_string: | /** @param intercept_string |
| - true: | - true: |
| they want result=string value, | they want result=string value, |
| possible object result goes to wcontext | possible object result goes to wcontext |