Inkscape
Vector Graphics Editor
|
An abstraction of a css2 term as defined in the CSS2 spec in appendix D.1: term ::= [ NUMBER S* | PERCENTAGE S* | LENGTH S* | EMS S* | EXS S* | ANGLE S* | TIME S* | FREQ S* | function ] | STRING S* | IDENT S* | URI S* | RGB S* | UNICODERANGE S* | hexcolor. More...
#include <cr-term.h>
Public Attributes | ||
enum CRTermType | type | |
The type of the term. | ||
enum UnaryOperator | unary_op | |
The unary operator associated to the current term. | ||
enum Operator | the_operator | |
The operator associated to the current term. | ||
union { | ||
CRNum * num | ||
CRString * str | ||
CRRgb * rgb | ||
} | content | |
The content of the term. | ||
union { | ||
CRTerm * func_param | ||
} | ext_content | |
If the term is of type UNICODERANGE, this field holds the upper bound of the range. | ||
gboolean | n | |
A flag to indicate if there is an n as in the nth child expression 'an+b'. | ||
gpointer | app_data | |
A spare pointer, just in case. | ||
glong | ref_count | |
CRTerm * | next | |
A pointer to the next term, just in case this term is part of an expression. | ||
CRTerm * | prev | |
A pointer to the previous term. | ||
CRParsingLocation | location | |
An abstraction of a css2 term as defined in the CSS2 spec in appendix D.1: term ::= [ NUMBER S* | PERCENTAGE S* | LENGTH S* | EMS S* | EXS S* | ANGLE S* | TIME S* | FREQ S* | function ] | STRING S* | IDENT S* | URI S* | RGB S* | UNICODERANGE S* | hexcolor.
gpointer _CRTerm::app_data |
union { ... } _CRTerm::content |
The content of the term.
Depending of the type of the term, this holds either a number, a percentage ...
Referenced by end_font_face_cb().
union { ... } _CRTerm::ext_content |
If the term is of type UNICODERANGE, this field holds the upper bound of the range.
if the term is of type FUNCTION, this holds an instance of CRTerm that represents the expression which is the argument of the function.
CRParsingLocation _CRTerm::location |
gboolean _CRTerm::n |
CRTerm* _CRTerm::next |
CRString* _CRTerm::str |
Definition at line 109 of file cr-term.h.
Referenced by end_font_face_cb().
enum Operator _CRTerm::the_operator |
enum CRTermType _CRTerm::type |
enum UnaryOperator _CRTerm::unary_op |