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

Side by Side Diff: pkg/analyzer/lib/src/generated/scanner.dart

Issue 128443003: Analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. Created 6 years, 11 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 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.scanner; 4 library engine.scanner;
5 5
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'java_core.dart'; 7 import 'java_core.dart';
8 import 'java_engine.dart'; 8 import 'java_engine.dart';
9 import 'source.dart'; 9 import 'source.dart';
10 import 'error.dart'; 10 import 'error.dart';
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 /** 163 /**
164 * The template used to create the message to be displayed for this error. 164 * The template used to create the message to be displayed for this error.
165 */ 165 */
166 final String message; 166 final String message;
167 167
168 /** 168 /**
169 * The template used to create the correction to be displayed for this error, or `null` if 169 * The template used to create the correction to be displayed for this error, or `null` if
170 * there is no correction information for this error. 170 * there is no correction information for this error.
171 */ 171 */
172 String correction10; 172 String correction11;
173 173
174 /** 174 /**
175 * Initialize a newly created error code to have the given message. 175 * Initialize a newly created error code to have the given message.
176 * 176 *
177 * @param message the message template used to create the message to be displa yed for this error 177 * @param message the message template used to create the message to be displa yed for this error
178 */ 178 */
179 ScannerErrorCode.con1(String name, int ordinal, this.message) : super(name, or dinal); 179 ScannerErrorCode.con1(String name, int ordinal, this.message) : super(name, or dinal);
180 180
181 /** 181 /**
182 * Initialize a newly created error code to have the given message and correct ion. 182 * Initialize a newly created error code to have the given message and correct ion.
183 * 183 *
184 * @param message the template used to create the message to be displayed for the error 184 * @param message the template used to create the message to be displayed for the error
185 * @param correction the template used to create the correction to be displaye d for the error 185 * @param correction the template used to create the correction to be displaye d for the error
186 */ 186 */
187 ScannerErrorCode.con2(String name, int ordinal, this.message, String correctio n) : super(name, ordinal) { 187 ScannerErrorCode.con2(String name, int ordinal, this.message, String correctio n) : super(name, ordinal) {
188 this.correction10 = correction; 188 this.correction11 = correction;
189 } 189 }
190 190
191 String get correction => correction10; 191 String get correction => correction11;
192 192
193 ErrorSeverity get errorSeverity => ErrorSeverity.ERROR; 193 ErrorSeverity get errorSeverity => ErrorSeverity.ERROR;
194 194
195 ErrorType get type => ErrorType.SYNTACTIC_ERROR; 195 ErrorType get type => ErrorType.SYNTACTIC_ERROR;
196 } 196 }
197 197
198 /** 198 /**
199 * Instances of the class `SubSequenceReader` implement a [CharacterReader] that reads 199 * Instances of the class `SubSequenceReader` implement a [CharacterReader] that reads
200 * characters from a character sequence, but adds a delta when reporting the cur rent character 200 * characters from a character sequence, but adds a delta when reporting the cur rent character
201 * offset so that the character sequence can be a subsequence from a larger sequ ence. 201 * offset so that the character sequence can be a subsequence from a larger sequ ence.
(...skipping 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 * @return `true` if this token type represents an operator that can be define d by users 2663 * @return `true` if this token type represents an operator that can be define d by users
2664 */ 2664 */
2665 bool get isUserDefinableOperator => identical(_lexeme, "==") || identical(_lex eme, "~") || identical(_lexeme, "[]") || identical(_lexeme, "[]=") || identical( _lexeme, "*") || identical(_lexeme, "/") || identical(_lexeme, "%") || identical (_lexeme, "~/") || identical(_lexeme, "+") || identical(_lexeme, "-") || identic al(_lexeme, "<<") || identical(_lexeme, ">>") || identical(_lexeme, ">=") || ide ntical(_lexeme, ">") || identical(_lexeme, "<=") || identical(_lexeme, "<") || i dentical(_lexeme, "&") || identical(_lexeme, "^") || identical(_lexeme, "|"); 2665 bool get isUserDefinableOperator => identical(_lexeme, "==") || identical(_lex eme, "~") || identical(_lexeme, "[]") || identical(_lexeme, "[]=") || identical( _lexeme, "*") || identical(_lexeme, "/") || identical(_lexeme, "%") || identical (_lexeme, "~/") || identical(_lexeme, "+") || identical(_lexeme, "-") || identic al(_lexeme, "<<") || identical(_lexeme, ">>") || identical(_lexeme, ">=") || ide ntical(_lexeme, ">") || identical(_lexeme, "<=") || identical(_lexeme, "<") || i dentical(_lexeme, "&") || identical(_lexeme, "^") || identical(_lexeme, "|");
2666 } 2666 }
2667 2667
2668 class TokenType_EOF extends TokenType { 2668 class TokenType_EOF extends TokenType {
2669 TokenType_EOF(String name, int ordinal, TokenClass arg0, String arg1) : super. con2(name, ordinal, arg0, arg1); 2669 TokenType_EOF(String name, int ordinal, TokenClass arg0, String arg1) : super. con2(name, ordinal, arg0, arg1);
2670 2670
2671 String toString() => "-eof-"; 2671 String toString() => "-eof-";
2672 } 2672 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/generated/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698