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

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

Issue 475543002: New analyzer snapshot, add format/formatList. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 // 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.scanner; 8 library engine.scanner;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1863 return next; 1863 return next;
1864 } 1864 }
1865 } 1865 }
1866 } 1866 }
1867 1867
1868 /** 1868 /**
1869 * The enumeration `ScannerErrorCode` defines the error codes used for errors de tected by the 1869 * The enumeration `ScannerErrorCode` defines the error codes used for errors de tected by the
1870 * scanner. 1870 * scanner.
1871 */ 1871 */
1872 class ScannerErrorCode extends Enum<ScannerErrorCode> implements ErrorCode { 1872 class ScannerErrorCode extends Enum<ScannerErrorCode> implements ErrorCode {
1873 static const ScannerErrorCode ILLEGAL_CHARACTER = const ScannerErrorCode.con1( 'ILLEGAL_CHARACTER', 0, "Illegal character %x"); 1873 static const ScannerErrorCode ILLEGAL_CHARACTER = const ScannerErrorCode.con1( "ILLEGAL_CHARACTER", 0, "Illegal character {0}");
1874 1874
1875 static const ScannerErrorCode MISSING_DIGIT = const ScannerErrorCode.con1('MIS SING_DIGIT', 1, "Decimal digit expected"); 1875 static const ScannerErrorCode MISSING_DIGIT = const ScannerErrorCode.con1("MIS SING_DIGIT", 1, "Decimal digit expected");
1876 1876
1877 static const ScannerErrorCode MISSING_HEX_DIGIT = const ScannerErrorCode.con1( 'MISSING_HEX_DIGIT', 2, "Hexidecimal digit expected"); 1877 static const ScannerErrorCode MISSING_HEX_DIGIT = const ScannerErrorCode.con1( "MISSING_HEX_DIGIT", 2, "Hexidecimal digit expected");
1878 1878
1879 static const ScannerErrorCode MISSING_QUOTE = const ScannerErrorCode.con1('MIS SING_QUOTE', 3, "Expected quote (' or \")"); 1879 static const ScannerErrorCode MISSING_QUOTE = const ScannerErrorCode.con1("MIS SING_QUOTE", 3, "Expected quote (' or \")");
1880 1880
1881 static const ScannerErrorCode UNTERMINATED_MULTI_LINE_COMMENT = const ScannerE rrorCode.con1('UNTERMINATED_MULTI_LINE_COMMENT', 4, "Unterminated multi-line com ment"); 1881 static const ScannerErrorCode UNTERMINATED_MULTI_LINE_COMMENT = const ScannerE rrorCode.con1("UNTERMINATED_MULTI_LINE_COMMENT", 4, "Unterminated multi-line com ment");
1882 1882
1883 static const ScannerErrorCode UNTERMINATED_STRING_LITERAL = const ScannerError Code.con1('UNTERMINATED_STRING_LITERAL', 5, "Unterminated string literal"); 1883 static const ScannerErrorCode UNTERMINATED_STRING_LITERAL = const ScannerError Code.con1("UNTERMINATED_STRING_LITERAL", 5, "Unterminated string literal");
1884 1884
1885 static const List<ScannerErrorCode> values = const [ 1885 static const List<ScannerErrorCode> values = const [
1886 ILLEGAL_CHARACTER, 1886 ILLEGAL_CHARACTER,
1887 MISSING_DIGIT, 1887 MISSING_DIGIT,
1888 MISSING_HEX_DIGIT, 1888 MISSING_HEX_DIGIT,
1889 MISSING_QUOTE, 1889 MISSING_QUOTE,
1890 UNTERMINATED_MULTI_LINE_COMMENT, 1890 UNTERMINATED_MULTI_LINE_COMMENT,
1891 UNTERMINATED_STRING_LITERAL]; 1891 UNTERMINATED_STRING_LITERAL];
1892 1892
1893 /** 1893 /**
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 * @param precedingComment the first comment in the list of comments that prec ede this token 2695 * @param precedingComment the first comment in the list of comments that prec ede this token
2696 */ 2696 */
2697 TokenWithComment(TokenType type, int offset, this._precedingComment) : super(t ype, offset); 2697 TokenWithComment(TokenType type, int offset, this._precedingComment) : super(t ype, offset);
2698 2698
2699 @override 2699 @override
2700 Token copy() => new TokenWithComment(type, offset, _precedingComment); 2700 Token copy() => new TokenWithComment(type, offset, _precedingComment);
2701 2701
2702 @override 2702 @override
2703 Token get precedingComments => _precedingComment; 2703 Token get precedingComments => _precedingComment;
2704 } 2704 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698