Lines Matching defs:parse_tmp

152     ParseTmp &parse_tmp = *static_cast<ParseTmp *>(a_handler->app_data);
153 g_return_if_fail(parse_tmp.hasMagic());
154 if ( (parse_tmp.currStmt != NULL)
155 || (parse_tmp.stmtType != NO_STMT) ) {
157 static_cast<void *>(parse_tmp.currStmt), unsigned(parse_tmp.stmtType));
160 CRStatement *ruleset = cr_statement_new_ruleset(parse_tmp.stylesheet, a_sel_list, NULL, NULL);
162 parse_tmp.stmtType = NORMAL_RULESET_STMT;
163 parse_tmp.currStmt = ruleset;
172 ParseTmp &parse_tmp = *static_cast<ParseTmp *>(a_handler->app_data);
173 g_return_if_fail(parse_tmp.hasMagic());
174 CRStatement *const ruleset = parse_tmp.currStmt;
175 if (parse_tmp.stmtType == NORMAL_RULESET_STMT
180 parse_tmp.stylesheet->statements = cr_statement_append(parse_tmp.stylesheet->statements,
184 unsigned(parse_tmp.stmtType),
190 parse_tmp.currStmt = NULL;
191 parse_tmp.stmtType = NO_STMT;
199 ParseTmp &parse_tmp = *static_cast<ParseTmp *>(a_handler->app_data);
200 g_return_if_fail(parse_tmp.hasMagic());
201 if (parse_tmp.stmtType != NO_STMT || parse_tmp.currStmt != NULL) {
203 static_cast<void *>(parse_tmp.currStmt), unsigned(parse_tmp.stmtType));
206 parse_tmp.stmtType = FONT_FACE_STMT;
207 parse_tmp.currStmt = NULL;
214 ParseTmp &parse_tmp = *static_cast<ParseTmp *>(a_handler->app_data);
215 g_return_if_fail(parse_tmp.hasMagic());
216 if (parse_tmp.stmtType != FONT_FACE_STMT || parse_tmp.currStmt != NULL) {
218 static_cast<void *>(parse_tmp.currStmt), unsigned(parse_tmp.stmtType));
220 parse_tmp.currStmt = NULL;
222 parse_tmp.stmtType = NO_STMT;
232 ParseTmp &parse_tmp = *static_cast<ParseTmp *>(a_handler->app_data);
233 g_return_if_fail(parse_tmp.hasMagic());
234 if (parse_tmp.stmtType == FONT_FACE_STMT) {
235 if (parse_tmp.currStmt != NULL) {
236 g_warning("Found non-NULL currStmt %p though stmtType==FONT_FACE_STMT.", parse_tmp.currStmt);
241 CRStatement *const ruleset = parse_tmp.currStmt;
244 && parse_tmp.stmtType == NORMAL_RULESET_STMT);
285 ParseTmp parse_tmp(stylesheet);
286 sac_handler->app_data = &parse_tmp;
296 g_assert(sac_handler->app_data == &parse_tmp);