Lines Matching refs:method

91     void AddMethod(const method_type* method);
153 DispatcherClass::AddMethod(const method_type* method)
159 ifs->expression = new MethodCall(new StringLiteralExpression(method->name.data), "equals",
171 MethodCall* realCall = new MethodCall(this->targetExpression, method->name.data);
176 arg = method->args;
200 // Add that parameter to the method call
210 Type* returnType = NAMES.Search(method->type.type.data);
222 method->type.dimension);
239 arg = method->args;
500 void AddMethod(int index, const string& name, Method** method, Variable** param);
574 ResultDispatcherClass::AddMethod(int index, const string& name, Method** method, Variable** param)
585 *method = m;
632 generate_results_method(const method_type* method, RpcProxyClass* proxyClass)
636 string resultsMethodName = results_method_name(method->name.data);
637 Type* resultsInterfaceType = new Type(results_class_name(method->name.data),
640 if (!method->oneway) {
647 resultMethod->comment = gather_comments(method->comments_token->extra);
652 if (0 != strcmp("void", method->type.type.data)) {
653 resultMethod->parameters.push_back(new Variable(NAMES.Search(method->type.type.data),
654 "_result", method->type.dimension));
656 arg = method->args;
677 generate_proxy_method(const method_type* method, RpcProxyClass* proxyClass,
682 proxyMethod->comment = gather_comments(method->comments_token->extra);
686 proxyMethod->name = method->name.data;
695 arg = method->args;
733 new StringLiteralExpression(method->name.data),
740 generate_result_dispatcher_method(const method_type* method,
746 resultsDispatcherClass->AddMethod(index, method->name.data, &dispatchMethod, &dispatchParam);
753 // The callback method itself
756 results_method_name(method->name.data));
760 Type* t = NAMES.Search(method->type.type.data);
771 arg = method->args;
788 // Call the callback method
796 generate_regular_method(const method_type* method, RpcProxyClass* proxyClass,
804 Type* resultsInterfaceType = generate_results_method(method, proxyClass);
806 // == the method in the proxy class =====================================
807 generate_proxy_method(method, proxyClass, resultsDispatcherClass, resultsInterfaceType, index);
809 // == the method in the result dispatcher class =========================
811 generate_result_dispatcher_method(method, resultsDispatcherClass, resultsInterfaceType,
815 // == The abstract method that the service developers implement ==========
817 decl->comment = gather_comments(method->comments_token->extra);
819 decl->returnType = NAMES.Search(method->type.type.data);
820 decl->returnTypeDimension = method->type.dimension;
821 decl->name = method->name.data;
822 arg = method->args;
836 // == the dispatch method in the service base class ======================
837 serviceBaseClass->AddMethod(method);
841 generate_event_method(const method_type* method, RpcProxyClass* proxyClass,
848 // == the push method in the service base class =========================
851 push->name = push_method_name(method->name.data);
861 arg = method->args;
877 new StringLiteralExpression(method->name.data),
880 // == the event callback dispatcher method ====================================
881 presenterClass->AddMethod(method);
883 // == the event method in the listener base class =====================
886 event->name = method->name.data;
890 arg = method->args;