libcss
Loading...
Searching...
No Matches
Functions
autogenerated_padding_side.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_padding_side (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result, enum css_properties_e op)
 

Function Documentation

◆ css__parse_padding_side()

css_error css__parse_padding_side ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result,
enum css_properties_e  op 
)

Parse padding_side

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
opBytecode OpCode for CSS property to encode
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.