|
libcss
|
#include <assert.h>#include <string.h>#include "bytecode/bytecode.h"#include "bytecode/opcodes.h"#include "parse/properties/properties.h"#include "parse/properties/utils.h"Macros | |
| #define | CSS_APPEND(CSSVAL) css__stylesheet_style_append(result, first?buildOPV(CSS_PROP_CONTENT, 0, CSSVAL):CSSVAL) |
Functions | |
| css_error | css__parse_content (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result) |
| #define CSS_APPEND | ( | CSSVAL | ) | css__stylesheet_style_append(result, first?buildOPV(CSS_PROP_CONTENT, 0, CSSVAL):CSSVAL) |
| css_error css__parse_content | ( | css_language * | c, |
| const parserutils_vector * | vector, | ||
| int32_t * | ctx, | ||
| css_style * | result | ||
| ) |
Parse content
| c | Parsing context |
| vector | Vector of tokens to process |
| ctx | Pointer to vector iteration context |
| result | Pointer to location to receive resulting style |
Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.