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

Side by Side Diff: pkg/analyzer/lib/plugin/plugin.dart

Issue 1027433002: Temporarily move plugin support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analyzer/lib/src/plugin/plugin_impl.dart » ('j') | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.plugin.plugin; 5 library analyzer.plugin.plugin;
6 6
7 /** 7 /**
8 * A function used to register the given [extension] to the extension point with 8 * A function used to register the given [extension] to the extension point with
9 * the given unique [identifier]. 9 * the given unique [identifier].
10 * 10 *
11 * An [ExtensionError] will be thrown if the [extension] is not appropriate 11 * An [ExtensionError] will be thrown if the [extension] is not appropriate
12 * for the extension point, such as an [extension] that does not implement the 12 * for the extension point, such as an [extension] that does not implement the
13 * required interface. 13 * required interface.
14 */ 14 */
15 typedef void RegisterExtension(String identifier, Object extension); 15 typedef void RegisterExtension(String identifier, Object extension);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 static String buildUniqueIdentifier(Plugin plugin, String simpleIdentifier) => 121 static String buildUniqueIdentifier(Plugin plugin, String simpleIdentifier) =>
122 join(plugin.uniqueIdentifier, simpleIdentifier); 122 join(plugin.uniqueIdentifier, simpleIdentifier);
123 123
124 /** 124 /**
125 * Return an identifier created by joining the [pluginIdentifier] and the 125 * Return an identifier created by joining the [pluginIdentifier] and the
126 * [simpleIdentifier]. 126 * [simpleIdentifier].
127 */ 127 */
128 static String join(String pluginIdentifier, String simpleIdentifier) => 128 static String join(String pluginIdentifier, String simpleIdentifier) =>
129 '$pluginIdentifier.$simpleIdentifier'; 129 '$pluginIdentifier.$simpleIdentifier';
130 } 130 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analyzer/lib/src/plugin/plugin_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698