| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CSSTokenizer_h | 5 #ifndef CSSTokenizer_h |
| 6 #define CSSTokenizer_h | 6 #define CSSTokenizer_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/css/parser/CSSParserToken.h" | 9 #include "core/css/parser/CSSParserToken.h" |
| 10 #include "core/html/parser/InputStreamPreprocessor.h" | 10 #include "core/html/parser/InputStreamPreprocessor.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 void reconsume(UChar); | 53 void reconsume(UChar); |
| 54 | 54 |
| 55 CSSParserToken consumeNumericToken(); | 55 CSSParserToken consumeNumericToken(); |
| 56 CSSParserToken consumeIdentLikeToken(); | 56 CSSParserToken consumeIdentLikeToken(); |
| 57 CSSParserToken consumeNumber(); | 57 CSSParserToken consumeNumber(); |
| 58 CSSParserToken consumeStringTokenUntil(UChar); | 58 CSSParserToken consumeStringTokenUntil(UChar); |
| 59 CSSParserToken consumeUnicodeRange(); | 59 CSSParserToken consumeUnicodeRange(); |
| 60 CSSParserToken consumeUrlToken(); | 60 CSSParserToken consumeUrlToken(); |
| 61 | 61 |
| 62 void consumeBadUrlRemnants(); | 62 void consumeBadUrlRemnants(); |
| 63 void consumeUntilNonWhitespace(); | |
| 64 void consumeSingleWhitespaceIfNext(); | 63 void consumeSingleWhitespaceIfNext(); |
| 65 void consumeUntilCommentEndFound(); | 64 void consumeUntilCommentEndFound(); |
| 66 | 65 |
| 67 bool consumeIfNext(UChar); | 66 bool consumeIfNext(UChar); |
| 68 StringView consumeName(); | 67 StringView consumeName(); |
| 69 UChar32 consumeEscape(); | 68 UChar32 consumeEscape(); |
| 70 | 69 |
| 71 bool nextTwoCharsAreValidEscape(); | 70 bool nextTwoCharsAreValidEscape(); |
| 72 bool nextCharsAreNumber(UChar); | 71 bool nextCharsAreNumber(UChar); |
| 73 bool nextCharsAreNumber(); | 72 bool nextCharsAreNumber(); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 113 |
| 115 CSSTokenizerInputStream& m_input; | 114 CSSTokenizerInputStream& m_input; |
| 116 Scope& m_scope; | 115 Scope& m_scope; |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 | 118 |
| 120 | 119 |
| 121 } // namespace blink | 120 } // namespace blink |
| 122 | 121 |
| 123 #endif // CSSTokenizer_h | 122 #endif // CSSTokenizer_h |
| OLD | NEW |