| 129 | } |
| 130 | |
| 131 | void ThemeGrammar::PushDeclaration() { |
| 132 | struct Declaration declaration; |
| 133 | |
| 134 | declaration.m_property_name = m_identifiers.top().str(); |
| 135 | m_identifiers.pop(); |
| 136 | |
| 137 | declaration.m_property_value = m_values.top().str(); |
| 138 | m_values.pop(); |
| 139 | |
| 140 | m_declarations.push( declaration ); |
| 141 | } |
| 142 | |
| 143 | void ThemeGrammar::PushRule() { |
| 144 | struct Rule rule; |