OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed. |
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. | 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 void startProperty(); | 211 void startProperty(); |
212 void endProperty(bool isImportantFound, bool isPropertyParsed, CSSParserErro r = NoCSSError); | 212 void endProperty(bool isImportantFound, bool isPropertyParsed, CSSParserErro r = NoCSSError); |
213 void startEndUnknownRule(); | 213 void startEndUnknownRule(); |
214 | 214 |
215 void endInvalidRuleHeader(); | 215 void endInvalidRuleHeader(); |
216 void reportError(const CSSParserLocation&, CSSParserError = GeneralCSSError) ; | 216 void reportError(const CSSParserLocation&, CSSParserError = GeneralCSSError) ; |
217 void resumeErrorLogging() { m_ignoreErrors = false; } | 217 void resumeErrorLogging() { m_ignoreErrors = false; } |
218 void setLocationLabel(const CSSParserLocation& location) { m_locationLabel = location; } | 218 void setLocationLabel(const CSSParserLocation& location) { m_locationLabel = location; } |
219 const CSSParserLocation& lastLocationLabel() const { return m_locationLabel; } | 219 const CSSParserLocation& lastLocationLabel() const { return m_locationLabel; } |
220 | 220 |
221 void tokenToLowerCase(const CSSParserString& token); | 221 void tokenToLowerCase(CSSParserString& token); |
eseidel
2014/04/02 18:35:28
This seems like it belongs on CSSParserString, no?
| |
222 | 222 |
223 void markViewportRuleBodyStart() { m_inViewport = true; } | 223 void markViewportRuleBodyStart() { m_inViewport = true; } |
224 void markViewportRuleBodyEnd() { m_inViewport = false; } | 224 void markViewportRuleBodyEnd() { m_inViewport = false; } |
225 StyleRuleBase* createViewportRule(); | 225 StyleRuleBase* createViewportRule(); |
226 | 226 |
227 CSSParserLocation currentLocation() { return m_tokenizer.currentLocation(); } | 227 CSSParserLocation currentLocation() { return m_tokenizer.currentLocation(); } |
228 | 228 |
229 private: | 229 private: |
230 class StyleDeclarationScope { | 230 class StyleDeclarationScope { |
231 STACK_ALLOCATED(); | 231 STACK_ALLOCATED(); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 inline int cssyylex(void* yylval, BisonCSSParser* parser) | 321 inline int cssyylex(void* yylval, BisonCSSParser* parser) |
322 { | 322 { |
323 return parser->m_tokenizer.lex(yylval); | 323 return parser->m_tokenizer.lex(yylval); |
324 } | 324 } |
325 | 325 |
326 bool isValidNthToken(const CSSParserString&); | 326 bool isValidNthToken(const CSSParserString&); |
327 | 327 |
328 } // namespace WebCore | 328 } // namespace WebCore |
329 | 329 |
330 #endif // BisonCSSParser_h | 330 #endif // BisonCSSParser_h |
OLD | NEW |