|
|
| version 1.61, 2016/10/04 13:23:46 | version 1.63, 2016/10/11 21:30:16 |
|---|---|
| Line 100 static void _create(Request& r, MethodPa | Line 100 static void _create(Request& r, MethodPa |
| } else { | } else { |
| frame.empty_params(); | frame.empty_params(); |
| } | } |
| r.op_call(frame); | r.call(frame); |
| object.enable_default_setter(); | object.enable_default_setter(); |
| r.write_pass_lang(frame.result()); | r.write_pass_lang(frame.result()); |
| } | } |
| Line 204 static VJunction &method_junction(Value | Line 204 static VJunction &method_junction(Value |
| } | } |
| static void _method(Request& r, MethodParams& params) { | static void _method(Request& r, MethodParams& params) { |
| Value &source=*params.get(0); | Value &source=params[0]; |
| if(Junction *j=source.get_junction()){ | if(Junction *j=source.get_junction()){ |
| if(Method* method=const_cast<Method*>(j->method)){ | if(Method* method=const_cast<Method*>(j->method)){ |
| Line 260 static void _method_info(Request& r, Met | Line 260 static void _method_info(Request& r, Met |
| const Method* method; | const Method* method; |
| VStateless_class* vclass=0; | VStateless_class* vclass=0; |
| if(Junction *j=params.get(0)->get_junction()){ | if(Junction *j=params[0].get_junction()){ |
| if(!(method=j->method)) | if(!(method=j->method)) |
| throw Exception(PARSER_RUNTIME, 0, "param must be class name or method junction"); | throw Exception(PARSER_RUNTIME, 0, "param must be class name or method junction"); |
| } else { | } else { |