Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_parser_parse ( CRParser a_this  ) 

Parses the data that comes from the input previously associated to the current instance of CRParser.

Parameters:
a_this the current instance of CRParser.
Returns:
CR_OK ;

Definition at line 4274 of file cr-parser.c.

References cr_parser_parse_stylesheet(), and cr_parser_parse_stylesheet_core().

Referenced by cr_parser_parse_buf(), and cr_parser_parse_file().

{
        enum CRStatus status = CR_ERROR;

        g_return_val_if_fail (a_this && PRIVATE (a_this)
                              && PRIVATE (a_this)->tknzr, CR_BAD_PARAM_ERROR);

        if (PRIVATE (a_this)->use_core_grammar == FALSE) {
                status = cr_parser_parse_stylesheet (a_this);
        } else {
                status = cr_parser_parse_stylesheet_core (a_this);
        }

        return status;
}


Generated by  Doxygen 1.6.0   Back to index