|
|
| version 1.61, 2016/10/04 13:23:46 | version 1.62, 2016/10/06 19:41:36 |
|---|---|
| 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 { |