OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of csslib.parser; | 5 part of csslib.parser; |
6 | 6 |
7 // TODO(terry): Need to be consistent with tokens either they're ASCII tokens | 7 // TODO(terry): Need to be consistent with tokens either they're ASCII tokens |
8 // e.g., ASTERISK or they're CSS e.g., PSEUDO, COMBINATOR_*. | 8 // e.g., ASTERISK or they're CSS e.g., PSEUDO, COMBINATOR_*. |
9 class TokenKind { | 9 class TokenKind { |
10 // Common shared tokens used in TokenizerBase. | 10 // Common shared tokens used in TokenizerBase. |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 static const int EQUALS = 0x3d; // "=".codeUnitAt(0) | 773 static const int EQUALS = 0x3d; // "=".codeUnitAt(0) |
774 static const int OR = 0x7c; // "|".codeUnitAt(0) | 774 static const int OR = 0x7c; // "|".codeUnitAt(0) |
775 static const int CARET = 0x5e; // "^".codeUnitAt(0) | 775 static const int CARET = 0x5e; // "^".codeUnitAt(0) |
776 static const int DOLLAR = 0x24; // "\$".codeUnitAt(0) | 776 static const int DOLLAR = 0x24; // "\$".codeUnitAt(0) |
777 static const int LESS = 0x3c; // "<".codeUnitAt(0) | 777 static const int LESS = 0x3c; // "<".codeUnitAt(0) |
778 static const int BANG = 0x21; // "!".codeUnitAt(0) | 778 static const int BANG = 0x21; // "!".codeUnitAt(0) |
779 static const int MINUS = 0x2d; // "-".codeUnitAt(0) | 779 static const int MINUS = 0x2d; // "-".codeUnitAt(0) |
780 static const int BACKSLASH = 0x5c; // "\".codeUnitAt(0) | 780 static const int BACKSLASH = 0x5c; // "\".codeUnitAt(0) |
781 static const int AMPERSAND = 0x26; // "&".codeUnitAt(0) | 781 static const int AMPERSAND = 0x26; // "&".codeUnitAt(0) |
782 } | 782 } |
OLD | NEW |