Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: pkg/analysis_server/tool/spec/codegen_analysis_server.dart

Issue 575163002: Remove watchdog from RemoteAnalysisServerImpl (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Code generation for the file "AnalysisServer.java". 6 * Code generation for the file "AnalysisServer.java".
7 */ 7 */
8 library java.generator.server; 8 library java.generator.server;
9 9
10 import 'api.dart'; 10 import 'api.dart';
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'public void removeAnalysisServerListener(AnalysisServerListener lis tener);'); 65 'public void removeAnalysisServerListener(AnalysisServerListener lis tener);');
66 }); 66 });
67 67
68 // 68 //
69 // start(..) 69 // start(..)
70 // 70 //
71 publicMethod('start', () { 71 publicMethod('start', () {
72 writeln( 72 writeln(
73 '''/** 73 '''/**
74 * Start the analysis server. 74 * Start the analysis server.
75 * 75 *
danrubel 2014/09/17 20:49:36 Remove extra comment line
jwren 2014/09/17 20:52:06 Done.
76 * @param millisToRestart the number of milliseconds to wait for an unresponsive server before
77 * restarting it, or zero if the server should not be restarted.
78 */''' 76 */'''
79 ); 77 );
80 writeln('public void start(long millisToRestart) throws Exception;'); 78 writeln('public void start() throws Exception;');
81 }); 79 });
82 super.visitApi(); 80 super.visitApi();
83 }); 81 });
84 } 82 }
85 83
86 @override 84 @override
87 void visitRequest(Request request) { 85 void visitRequest(Request request) {
88 String methodName = '${request.domainName}_${request.method}'; 86 String methodName = '${request.domainName}_${request.method}';
89 publicMethod(methodName, () { 87 publicMethod(methodName, () {
90 docComment(toHtmlVisitor.collectHtml(() { 88 docComment(toHtmlVisitor.collectHtml(() {
(...skipping 27 matching lines...) Expand all
118 final GeneratedFile target = javaGeneratedFile( 116 final GeneratedFile target = javaGeneratedFile(
119 '../../../../editor/tools/plugins/com.google.dart.server/src/com/google/dart /server/AnalysisServer.java', 117 '../../../../editor/tools/plugins/com.google.dart.server/src/com/google/dart /server/AnalysisServer.java',
120 (Api api) => new CodegenAnalysisServer(api)); 118 (Api api) => new CodegenAnalysisServer(api));
121 119
122 /** 120 /**
123 * Translate spec_input.html into AnalysisServer.java. 121 * Translate spec_input.html into AnalysisServer.java.
124 */ 122 */
125 main() { 123 main() {
126 target.generate(); 124 target.generate();
127 } 125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698