|
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 | SIDE_APPEND(OP, NUM) |
Functions | |
| css_error | css__parse_margin (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result) |
| #define SIDE_APPEND | ( | OP, | |
| NUM | |||
| ) |
| css_error css__parse_margin | ( | css_language * | c, |
| const parserutils_vector * | vector, | ||
| int32_t * | ctx, | ||
| css_style * | result | ||
| ) |
Parse margin shorthand
| 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.