| OLD | NEW |
| 1 %{ | 1 %{ |
| 2 | 2 |
| 3 /* | 3 /* |
| 4 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 8 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 8 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 %lex-param { BisonCSSParser* parser } | 66 %lex-param { BisonCSSParser* parser } |
| 67 | 67 |
| 68 %union { | 68 %union { |
| 69 bool boolean; | 69 bool boolean; |
| 70 char character; | 70 char character; |
| 71 int integer; | 71 int integer; |
| 72 double number; | 72 double number; |
| 73 CSSParserString string; | 73 CSSParserString string; |
| 74 | 74 |
| 75 StyleRuleBase* rule; | 75 StyleRuleBase* rule; |
| 76 // Vector pointed to by raw ruleList pointer is guaranteed to be kept alive
by the BisonCSSParser::m_parsedRules vector. | 76 // The content of the two below HeapVectors are guaranteed to be kept alive
by |
| 77 // the corresponding m_parsedRules and m_floatingMediaQueryExpList lists in
BisonCSSParser.h. |
| 77 WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >* ruleList; | 78 WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >* ruleList; |
| 79 WillBeHeapVector<OwnPtrWillBeMember<MediaQueryExp> >* mediaQueryExpList; |
| 78 CSSParserSelector* selector; | 80 CSSParserSelector* selector; |
| 79 Vector<OwnPtr<CSSParserSelector> >* selectorList; | 81 Vector<OwnPtr<CSSParserSelector> >* selectorList; |
| 80 CSSSelector::MarginBoxType marginBox; | 82 CSSSelector::MarginBoxType marginBox; |
| 81 CSSSelector::Relation relation; | 83 CSSSelector::Relation relation; |
| 82 MediaQuerySet* mediaList; | 84 MediaQuerySet* mediaList; |
| 83 MediaQuery* mediaQuery; | 85 MediaQuery* mediaQuery; |
| 84 MediaQuery::Restrictor mediaQueryRestrictor; | 86 MediaQuery::Restrictor mediaQueryRestrictor; |
| 85 MediaQueryExp* mediaQueryExp; | 87 MediaQueryExp* mediaQueryExp; |
| 86 CSSParserValue value; | 88 CSSParserValue value; |
| 87 CSSParserValueList* valueList; | 89 CSSParserValueList* valueList; |
| 88 Vector<OwnPtr<MediaQueryExp> >* mediaQueryExpList; | |
| 89 StyleKeyframe* keyframe; | 90 StyleKeyframe* keyframe; |
| 90 Vector<RefPtr<StyleKeyframe> >* keyframeRuleList; | 91 Vector<RefPtr<StyleKeyframe> >* keyframeRuleList; |
| 91 float val; | 92 float val; |
| 92 CSSPropertyID id; | 93 CSSPropertyID id; |
| 93 CSSParserLocation location; | 94 CSSParserLocation location; |
| 94 } | 95 } |
| 95 | 96 |
| 96 %{ | 97 %{ |
| 97 | 98 |
| 98 static inline int cssyyerror(void*, const char*) | 99 static inline int cssyyerror(void*, const char*) |
| (...skipping 1797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 | 1897 |
| 1897 rule_error_recovery: | 1898 rule_error_recovery: |
| 1898 /* empty */ | 1899 /* empty */ |
| 1899 | rule_error_recovery error | 1900 | rule_error_recovery error |
| 1900 | rule_error_recovery invalid_square_brackets_block | 1901 | rule_error_recovery invalid_square_brackets_block |
| 1901 | rule_error_recovery invalid_parentheses_block | 1902 | rule_error_recovery invalid_parentheses_block |
| 1902 ; | 1903 ; |
| 1903 | 1904 |
| 1904 %% | 1905 %% |
| 1905 | 1906 |
| OLD | NEW |