|
|
| version 1.196, 2009/07/29 05:01:46 | version 1.200, 2010/05/20 04:40:49 |
|---|---|
| Line 122 private: | Line 122 private: |
| /// already used files to avoid cyclic uses | /// already used files to avoid cyclic uses |
| HashString<bool> used_files; | HashString<bool> used_files; |
| HashString<bool> searched_along_class_path; | |
| /// list of all used files, Operation::file_no = index to it | /// list of all used files, Operation::file_no = index to it |
| Array<String::Body> file_list; | Array<String::Body> file_list; |
| Line 189 public: | Line 190 public: |
| /// global classes | /// global classes |
| HashString<Value*>& classes() { return fclasses; } | HashString<Value*>& classes() { return fclasses; } |
| Value* get_class(const String& name); | |
| /** | /** |
| core request processing | core request processing |
| Line 218 public: | Line 220 public: |
| anti_endless_execute_recoursion--; | anti_endless_execute_recoursion--; |
| } | } |
| /// | |
| void use_file_directly(VStateless_class& aclass, | |
| const String& file_spec, | |
| bool fail_on_read_problem=true, | |
| bool fail_on_file_absence=true); // pa_request.C | |
| /// compiles the file, maybe forcing it's class @a name and @a base_class. | /// compiles the file, maybe forcing it's class @a name and @a base_class. |
| void use_file(VStateless_class& aclass, | void use_file(VStateless_class& aclass, |
| const String& file_name, | const String& file_name, |
| const String* main_alias=0, | const String* use_filespec); // pa_request.C |
| bool ignore_class_path=false, | |
| bool fail_on_read_problem=true, | |
| bool fail_on_file_absence=true); // pa_request.C | |
| /// compiles a @a source buffer | /// compiles a @a source buffer |
| void use_buf(VStateless_class& aclass, | void use_buf(VStateless_class& aclass, |
| const char* source, | const char* source, |
| Line 243 public: | Line 249 public: |
| return process(input_value, intercept_string).as_value(); | return process(input_value, intercept_string).as_value(); |
| } | } |
| //@} | //@} |
| const String* get_method_filename(const Method* method); | |
| const String* get_used_filename(uint file_no); | |
| #define DEFINE_DUAL(modification) \ | #define DEFINE_DUAL(modification) \ |
| void write_##modification##_lang(StringOrValue dual) { \ | void write_##modification##_lang(StringOrValue dual) { \ |
| Line 529 public: | Line 536 public: |
| // defines for externs | // defines for externs |
| #define CONTENT_TRANSFER_ENCODING_NAME "content-transfer-encoding" | |
| #define CONTENT_DISPOSITION_NAME "content-disposition" | |
| #define CONTENT_DISPOSITION_ATTACHMENT "attachment" | |
| #define CONTENT_DISPOSITION_INLINE "inline" | |
| #define CONTENT_DISPOSITION_FILENAME_NAME "filename" | |
| #define EXCEPTION_HANDLED_PART_NAME "handled" | #define EXCEPTION_HANDLED_PART_NAME "handled" |
| Line 544 extern const String main_method_name; | Line 545 extern const String main_method_name; |
| extern const String auto_method_name; | extern const String auto_method_name; |
| extern const String body_name; | extern const String body_name; |
| extern const String content_transfer_encoding_name; | |
| extern const String content_disposition_name; | |
| extern const String content_disposition_attachment; | |
| extern const String content_disposition_inline; | |
| extern const String content_disposition_filename_name; | |
| extern const String exception_type_part_name; | extern const String exception_type_part_name; |
| extern const String exception_source_part_name; | extern const String exception_source_part_name; |
| extern const String exception_comment_part_name; | extern const String exception_comment_part_name; |