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

Side by Side Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 1227143003: Update Analysis Server highlight API and implementation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Split DYNAMIC_VARIABLE, add UNRESOLVED_INSTANCE_MEMBER_REFERENCE. Created 5 years, 5 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
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 library analysis.server; 5 library analysis.server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:core' hide Resource; 9 import 'dart:core' hide Resource;
10 import 'dart:math' show max; 10 import 'dart:math' show max;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 /** 64 /**
65 * Instances of the class [AnalysisServer] implement a server that listens on a 65 * Instances of the class [AnalysisServer] implement a server that listens on a
66 * [CommunicationChannel] for analysis requests and process them. 66 * [CommunicationChannel] for analysis requests and process them.
67 */ 67 */
68 class AnalysisServer { 68 class AnalysisServer {
69 /** 69 /**
70 * The version of the analysis server. The value should be replaced 70 * The version of the analysis server. The value should be replaced
71 * automatically during the build. 71 * automatically during the build.
72 */ 72 */
73 static final String VERSION = '1.7.0'; 73 static final String VERSION = '2.0.0';
74 74
75 /** 75 /**
76 * The number of milliseconds to perform operations before inserting 76 * The number of milliseconds to perform operations before inserting
77 * a 1 millisecond delay so that the VM and dart:io can deliver content 77 * a 1 millisecond delay so that the VM and dart:io can deliver content
78 * to stdin. This should be removed once the underlying problem is fixed. 78 * to stdin. This should be removed once the underlying problem is fixed.
79 */ 79 */
80 static int performOperationDelayFreqency = 25; 80 static int performOperationDelayFreqency = 25;
81 81
82 /** 82 /**
83 * The channel from which requests are received and to which responses should 83 * The channel from which requests are received and to which responses should
(...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1531 /** 1531 /**
1532 * The [PerformanceTag] for time spent in server request handlers. 1532 * The [PerformanceTag] for time spent in server request handlers.
1533 */ 1533 */
1534 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); 1534 static PerformanceTag serverRequests = new PerformanceTag('serverRequests');
1535 1535
1536 /** 1536 /**
1537 * The [PerformanceTag] for time spent in split store microtasks. 1537 * The [PerformanceTag] for time spent in split store microtasks.
1538 */ 1538 */
1539 static PerformanceTag splitStore = new PerformanceTag('splitStore'); 1539 static PerformanceTag splitStore = new PerformanceTag('splitStore');
1540 } 1540 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698