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

Side by Side Diff: frog/leg/util/characters.dart

Issue 9190038: Handle escapes in string literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed validation from scanner Created 8 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
« no previous file with comments | « frog/leg/tools/mini_parser.dart ('k') | frog/tests/leg/src/BuiltinInterceptorTest.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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("characters");
6
5 final int $EOF = 0; 7 final int $EOF = 0;
6 final int $STX = 2; 8 final int $STX = 2;
7 final int $TAB = 9; 9 final int $TAB = 9;
8 final int $LF = 10; 10 final int $LF = 10;
9 final int $CR = 13; 11 final int $CR = 13;
10 final int $SPACE = 32; 12 final int $SPACE = 32;
11 final int $BANG = 33; 13 final int $BANG = 33;
12 final int $DQ = 34; 14 final int $DQ = 34;
13 final int $HASH = 35; 15 final int $HASH = 35;
14 final int $$ = 36; 16 final int $$ = 36;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 final int $v = 118; 98 final int $v = 118;
97 final int $w = 119; 99 final int $w = 119;
98 final int $x = 120; 100 final int $x = 120;
99 final int $y = 121; 101 final int $y = 121;
100 final int $z = 122; 102 final int $z = 122;
101 final int $OPEN_CURLY_BRACKET = 123; 103 final int $OPEN_CURLY_BRACKET = 123;
102 final int $BAR = 124; 104 final int $BAR = 124;
103 final int $CLOSE_CURLY_BRACKET = 125; 105 final int $CLOSE_CURLY_BRACKET = 125;
104 final int $TILDE = 126; 106 final int $TILDE = 126;
105 final int $DEL = 127; 107 final int $DEL = 127;
108 final int $LS = 0x2028;
109 final int $PS = 0x2029;
OLDNEW
« no previous file with comments | « frog/leg/tools/mini_parser.dart ('k') | frog/tests/leg/src/BuiltinInterceptorTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698