#include "cr-parser.h"
#include "cr-cascade.h"
Go to the source code of this file.
Data Structures | |
struct | _CROMParser |
The Object model parser. More... | |
Typedefs | |
typedef _CROMParserPriv | CROMParserPriv |
Functions | |
CROMParser * | cr_om_parser_new (CRInput *a_input) |
Constructor of the CROMParser. | |
enum CRStatus | cr_om_parser_simply_parse_file (const guchar *a_file_path, enum CREncoding a_enc, CRStyleSheet **a_result) |
The simpler method to parse a css2 file. | |
enum CRStatus | cr_om_parser_parse_file (CROMParser *a_this, const guchar *a_file_uri, enum CREncoding a_enc, CRStyleSheet **a_result) |
Parses a css2 stylesheet contained in a file. | |
enum CRStatus | cr_om_parser_simply_parse_buf (const guchar *a_buf, gulong a_len, enum CREncoding a_enc, CRStyleSheet **a_result) |
The simpler way to parse an in memory css2 buffer. | |
enum CRStatus | cr_om_parser_parse_buf (CROMParser *a_this, const guchar *a_buf, gulong a_len, enum CREncoding a_enc, CRStyleSheet **a_result) |
Parses the content of an in memory buffer. | |
enum CRStatus | cr_om_parser_parse_paths_to_cascade (CROMParser *a_this, const guchar *a_author_path, const guchar *a_user_path, const guchar *a_ua_path, enum CREncoding a_encoding, CRCascade **a_result) |
Parses three sheets located by their paths and build a cascade. | |
enum CRStatus | cr_om_parser_simply_parse_paths_to_cascade (const guchar *a_author_path, const guchar *a_user_path, const guchar *a_ua_path, enum CREncoding a_encoding, CRCascade **a_result) |
Parses three sheets located by their paths and build a cascade. | |
void | cr_om_parser_destroy (CROMParser *a_this) |
Destructor of the CROMParser. | |
Variables | |
typedefG_BEGIN_DECLS struct _CROMParser | CROMParser |
This parser uses (and sits) the SAC api of libcroco defined in cr-parser.h and cr-doc-handler.h
Definition in file cr-om-parser.h.
|
Definition at line 45 of file cr-om-parser.h. Referenced by cr_om_parser_new(). |
|
Destructor of the CROMParser.
Definition at line 1079 of file cr-om-parser.c. References cr_parser_destroy(), and PRIVATE. Referenced by cr_om_parser_new(), cr_om_parser_simply_parse_buf(), cr_om_parser_simply_parse_file(), and cr_om_parser_simply_parse_paths_to_cascade(). |
|
Constructor of the CROMParser.
Definition at line 769 of file cr-om-parser.c. References cr_om_parser_destroy(), cr_parser_new_from_input(), cr_utils_trace_info, CRInput, CROMParser, CROMParserPriv, CRStatus, and PRIVATE. Referenced by cr_om_parser_simply_parse_buf(), cr_om_parser_simply_parse_file(), and cr_om_parser_simply_parse_paths_to_cascade(). |
|
Parses the content of an in memory buffer.
Definition at line 825 of file cr-om-parser.c. References CR_BAD_PARAM_ERROR, cr_doc_handler_get_result(), CR_ERROR, CR_OK, cr_parser_get_sac_handler(), cr_parser_new(), cr_parser_parse_buf(), CRDocHandler, CRStatus, CRStyleSheet, and PRIVATE. Referenced by cr_om_parser_simply_parse_buf(). |
|
Parses a css2 stylesheet contained in a file.
Definition at line 910 of file cr-om-parser.c. References CR_BAD_PARAM_ERROR, cr_doc_handler_get_result(), CR_ERROR, CR_OK, cr_parser_get_sac_handler(), cr_parser_new_from_file(), cr_parser_parse_file(), CRDocHandler, CRStatus, CRStyleSheet, and PRIVATE. Referenced by cr_om_parser_parse_paths_to_cascade(), and cr_om_parser_simply_parse_file(). |
|
Parses three sheets located by their paths and build a cascade.
Definition at line 992 of file cr-om-parser.c. References CR_BAD_PARAM_ERROR, cr_cascade_new(), cr_om_parser_parse_file(), cr_stylesheet_unref(), CRCascade, CRStatus, and CRStyleSheet. Referenced by cr_om_parser_simply_parse_paths_to_cascade(). |
|
The simpler way to parse an in memory css2 buffer.
Definition at line 871 of file cr-om-parser.c. References cr_om_parser_destroy(), cr_om_parser_new(), cr_om_parser_parse_buf(), cr_utils_trace_info, CROMParser, CRStatus, and CRStyleSheet. |
|
The simpler method to parse a css2 file.
Definition at line 957 of file cr-om-parser.c. References cr_om_parser_destroy(), cr_om_parser_new(), cr_om_parser_parse_file(), cr_utils_trace_info, CROMParser, CRStatus, and CRStyleSheet. |
|
Parses three sheets located by their paths and build a cascade.
Definition at line 1047 of file cr-om-parser.c. References cr_om_parser_destroy(), cr_om_parser_new(), cr_om_parser_parse_paths_to_cascade(), cr_utils_trace_info, CRCascade, CROMParser, and CRStatus. |
|
Definition at line 44 of file cr-om-parser.h. Referenced by cr_om_parser_new(), cr_om_parser_simply_parse_buf(), cr_om_parser_simply_parse_file(), and cr_om_parser_simply_parse_paths_to_cascade(). |