|
|
| version 1.100, 2025/10/05 19:41:27 | version 1.102, 2026/04/24 18:30:15 |
|---|---|
| Line 126 static void _create(Request& r, MethodPa | Line 126 static void _create(Request& r, MethodPa |
| static void _classes(Request& r, MethodParams&) { | static void _classes(Request& r, MethodParams&) { |
| VHash& result=*new VHash; | VHash& result=*new VHash; |
| for(HashString<VStateless_class*>::Iterator i(r.classes()); i; i.next()){ | for(OrderedHashString<VStateless_class*>::Iterator i(r.classes()); i; i.next()){ |
| result.hash().put(i.key(), i.value()->get_methods().count()>0 ? new VString(class_type_methoded) : VVoid::get() ); | result.hash().put(i.key(), i.value()->get_methods().count()>0 ? new VString(class_type_methoded) : VVoid::get() ); |
| } | } |
| r.write(result); | r.write(result); |
| Line 536 static void _override(Request& r, Method | Line 536 static void _override(Request& r, Method |
| const Method* method=j ? j->method : 0; | const Method* method=j ? j->method : 0; |
| if(!method) | if(!method) |
| throw Exception(PARSER_RUNTIME, 0, "param must be method junction"); | throw Exception(PARSER_RUNTIME, 0, "param must be method junction"); |
| if(method->native_code) | |
| throw Exception(PARSER_RUNTIME, 0, "param must not be native method"); | |
| const String *name=method->name; | const String *name=method->name; |
| Value* vtarget=0; | Value* vtarget=0; |