| OLD | NEW |
| 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 final int EOF_TOKEN = 0; | 5 final int EOF_TOKEN = 0; |
| 6 | 6 |
| 7 final int KEYWORD_TOKEN = $k; | 7 final int KEYWORD_TOKEN = $k; |
| 8 final int IDENTIFIER_TOKEN = $a; | 8 final int IDENTIFIER_TOKEN = $a; |
| 9 final int DOUBLE_TOKEN = $d; | 9 final int DOUBLE_TOKEN = $d; |
| 10 final int INT_TOKEN = $i; | 10 final int INT_TOKEN = $i; |
| 11 final int HEXADECIMAL_TOKEN = $x; | 11 final int HEXADECIMAL_TOKEN = $x; |
| 12 final int STRING_TOKEN = $SQ; | 12 final int STRING_TOKEN = $SQ; |
| 13 final int STRING_INTERPOLATION_TOKEN = $SQ + 128; |
| 13 | 14 |
| 14 final int AMPERSAND_TOKEN = $AMPERSAND; | 15 final int AMPERSAND_TOKEN = $AMPERSAND; |
| 15 final int BACKPING_TOKEN = $BACKPING; | 16 final int BACKPING_TOKEN = $BACKPING; |
| 16 final int BACKSLASH_TOKEN = $BACKSLASH; | 17 final int BACKSLASH_TOKEN = $BACKSLASH; |
| 17 final int BANG_TOKEN = $BANG; | 18 final int BANG_TOKEN = $BANG; |
| 18 final int BAR_TOKEN = $BAR; | 19 final int BAR_TOKEN = $BAR; |
| 19 final int COLON_TOKEN = $COLON; | 20 final int COLON_TOKEN = $COLON; |
| 20 final int COMMA_TOKEN = $COMMA; | 21 final int COMMA_TOKEN = $COMMA; |
| 21 final int EQ_TOKEN = $EQ; | 22 final int EQ_TOKEN = $EQ; |
| 22 final int GT_TOKEN = $GT; | 23 final int GT_TOKEN = $GT; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } | 112 } |
| 112 | 113 |
| 113 String toString() => stringValue; | 114 String toString() => stringValue; |
| 114 } | 115 } |
| 115 | 116 |
| 116 class BeginGroupToken extends StringToken { | 117 class BeginGroupToken extends StringToken { |
| 117 Token endGroup; | 118 Token endGroup; |
| 118 BeginGroupToken(int kind, String value, int charOffset) | 119 BeginGroupToken(int kind, String value, int charOffset) |
| 119 : super(kind, value, charOffset); | 120 : super(kind, value, charOffset); |
| 120 } | 121 } |
| OLD | NEW |