Libcroco
|
This is a ship implementation of string based on GString. More...
#include <cr-string.h>
Data Fields | |
GString * | stryng |
The GString where all the string operation happen. More... | |
CRParsingLocation | location |
The parsing location storage area. More... | |
This is a ship implementation of string based on GString.
Actually, the aim of CRString is to store the parsing location (line,column,byte offset) at which a given string has been parsed in the input CSS. So this class has a gstring field of type GString that users can freely manipulate, and also a CRParginLocation type where the parsing location is store. If you don't want to deal with parsing location stuffs, then use GString instead. If we were in C++ for example, CRString would just inherit GString and just add accessors to the CRParsingLocation data ... but we are not and we still have to provide the parsing location information.
Definition at line 52 of file cr-string.h.
CRParsingLocation _CRString::location |
The parsing location storage area.
Definition at line 61 of file cr-string.h.
GString* _CRString::stryng |
The GString where all the string operation happen.
Definition at line 57 of file cr-string.h.