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

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
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 *
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 */''' 75 */'''
79 ); 76 );
80 writeln('public void start(long millisToRestart) throws Exception;'); 77 writeln('public void start() throws Exception;');
81 }); 78 });
82 super.visitApi(); 79 super.visitApi();
83 }); 80 });
84 } 81 }
85 82
86 @override 83 @override
87 void visitRequest(Request request) { 84 void visitRequest(Request request) {
88 String methodName = '${request.domainName}_${request.method}'; 85 String methodName = '${request.domainName}_${request.method}';
89 publicMethod(methodName, () { 86 publicMethod(methodName, () {
90 docComment(toHtmlVisitor.collectHtml(() { 87 docComment(toHtmlVisitor.collectHtml(() {
(...skipping 27 matching lines...) Expand all
118 final GeneratedFile target = javaGeneratedFile( 115 final GeneratedFile target = javaGeneratedFile(
119 '../../../../editor/tools/plugins/com.google.dart.server/src/com/google/dart /server/AnalysisServer.java', 116 '../../../../editor/tools/plugins/com.google.dart.server/src/com/google/dart /server/AnalysisServer.java',
120 (Api api) => new CodegenAnalysisServer(api)); 117 (Api api) => new CodegenAnalysisServer(api));
121 118
122 /** 119 /**
123 * Translate spec_input.html into AnalysisServer.java. 120 * Translate spec_input.html into AnalysisServer.java.
124 */ 121 */
125 main() { 122 main() {
126 target.generate(); 123 target.generate();
127 } 124 }
OLDNEW
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698