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

Side by Side Diff: dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java

Issue 64033002: Version 0.8.10.8 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 /* 1 /*
2 * Copyright (c) 2013, the Dart project authors. 2 * Copyright (c) 2013, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
13 */ 13 */
14 package com.google.dart.engine.error; 14 package com.google.dart.engine.error;
15 15
16 /** 16 /**
17 * The enumeration {@code CompileTimeErrorCode} defines the error codes used for compile time 17 * The enumeration {@code CompileTimeErrorCode} defines the error codes used for compile time
18 * errors. The convention for this class is for the name of the error code to in dicate the problem 18 * errors. The convention for this class is for the name of the error code to in dicate the problem
19 * that caused the error to be generated and for the error message to explain wh at is wrong and, 19 * that caused the error to be generated and for the error message to explain wh at is wrong and,
20 * when appropriate, how the problem can be corrected. 20 * when appropriate, how the problem can be corrected.
21 * 21 *
22 * @coverage dart.engine.error 22 * @coverage dart.engine.error
23 */ 23 */
24 public enum CompileTimeErrorCode implements ErrorCode { 24 public enum CompileTimeErrorCode implements ErrorCode {
25 /** 25 /**
26 * 14.2 Exports: It is a compile-time error if a name <i>N</i> is re-exported by a library 26 * 14.2 Exports: It is a compile-time error if a name <i>N</i> is re-exported by a library
27 * <i>L</i> and <i>N</i> is introduced into the export namespace of <i>L</i> b y more than one 27 * <i>L</i> and <i>N</i> is introduced into the export namespace of <i>L</i> b y more than one
28 * export. 28 * export, unless each all exports refer to same declaration for the name N.
29 * 29 *
30 * @param ambiguousElementName the name of the ambiguous element 30 * @param ambiguousElementName the name of the ambiguous element
31 * @param firstLibraryName the name of the first library that the type is foun d 31 * @param firstLibraryName the name of the first library that the type is foun d
32 * @param secondLibraryName the name of the second library that the type is fo und 32 * @param secondLibraryName the name of the second library that the type is fo und
33 */ 33 */
34 AMBIGUOUS_EXPORT("The element '%s' is defined in the libraries '%s' and '%s'") , 34 AMBIGUOUS_EXPORT("The element '%s' is defined in the libraries '%s' and '%s'") ,
35 35
36 /** 36 /**
37 * 12.33 Argument Definition Test: It is a compile time error if <i>v</i> does not denote a formal 37 * 12.33 Argument Definition Test: It is a compile time error if <i>v</i> does not denote a formal
38 * parameter. 38 * parameter.
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 @Override 1282 @Override
1283 public String getMessage() { 1283 public String getMessage() {
1284 return message; 1284 return message;
1285 } 1285 }
1286 1286
1287 @Override 1287 @Override
1288 public ErrorType getType() { 1288 public ErrorType getType() {
1289 return ErrorType.COMPILE_TIME_ERROR; 1289 return ErrorType.COMPILE_TIME_ERROR;
1290 } 1290 }
1291 } 1291 }
OLDNEW
« no previous file with comments | « no previous file | dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/IncrementalAnalysisCache.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698