#include <string.h>
#include "cr-parsing-location.h"
Go to the source code of this file.
Functions | |
CRParsingLocation * | cr_parsing_location_new (void) |
Instanciates a new parsing location. | |
enum CRStatus | cr_parsing_location_init (CRParsingLocation *a_this) |
Initializes the an instance of #CRparsingLocation. | |
enum CRStatus | cr_parsing_location_copy (CRParsingLocation *a_to, CRParsingLocation *a_from) |
Copies an instance of CRParsingLocation into another one. | |
gchar * | cr_parsing_location_to_string (CRParsingLocation *a_this, enum CRParsingLocationSerialisationMask a_mask) |
void | cr_parsing_location_dump (CRParsingLocation *a_this, enum CRParsingLocationSerialisationMask a_mask, FILE *a_fp) |
void | cr_parsing_location_destroy (CRParsingLocation *a_this) |
Destroys the current instance of CRParsingLocation. |
Definition in file cr-parsing-location.c.
|
Copies an instance of CRParsingLocation into another one.
Definition at line 75 of file cr-parsing-location.c. References CR_BAD_PARAM_ERROR, and CRParsingLocation. Referenced by cr_parser_parse_charset(), cr_parser_parse_font_face(), cr_parser_parse_media(), cr_parser_parse_page(), cr_parser_parse_term(), cr_statement_at_import_rule_parse_from_buf(), cr_string_dup(), and cr_tknzr_get_next_token(). |
|
Destroys the current instance of CRParsingLocation.
Definition at line 148 of file cr-parsing-location.c. References CRParsingLocation. |
|
Definition at line 127 of file cr-parsing-location.c. References cr_parsing_location_to_string(), and CRParsingLocation. |
|
Initializes the an instance of #CRparsingLocation.
Definition at line 58 of file cr-parsing-location.c. References CR_BAD_PARAM_ERROR, and CRParsingLocation. Referenced by cr_parsing_location_new(). |
|
Instanciates a new parsing location.
Definition at line 39 of file cr-parsing-location.c. References cr_parsing_location_init(), cr_utils_trace_info, and CRParsingLocation. |
|
Definition at line 91 of file cr-parsing-location.c. References _CRParsingLocation::byte_offset, _CRParsingLocation::column, CRParsingLocation, DUMP_COLUMN, DUMP_LINE, and _CRParsingLocation::line. Referenced by cr_parsing_location_dump(). |