libcss
Loading...
Searching...
No Matches
Functions
overflow.c File Reference
#include <assert.h>
#include <string.h>
#include "bytecode/bytecode.h"
#include "bytecode/opcodes.h"
#include "parse/properties/properties.h"
#include "parse/properties/utils.h"

Functions

css_error css__parse_overflow (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 

Function Documentation

◆ css__parse_overflow()

css_error css__parse_overflow ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse overflow shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.