summaryrefslogtreecommitdiff
path: root/src/parse/properties/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/properties/utils.h')
-rw-r--r--src/parse/properties/utils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/parse/properties/utils.h b/src/parse/properties/utils.h
index c04a2aa..86a90f5 100644
--- a/src/parse/properties/utils.h
+++ b/src/parse/properties/utils.h
@@ -16,6 +16,7 @@ css_error parse_colour_specifier(css_language *c,
css_error parse_named_colour(css_language *c, lwc_string *data,
uint32_t *result);
css_error parse_hash_colour(lwc_string *data, uint32_t *result);
+
css_error parse_unit_specifier(css_language *c,
const parserutils_vector *vector, int *ctx,
uint32_t default_unit,
@@ -23,4 +24,16 @@ css_error parse_unit_specifier(css_language *c,
css_error parse_unit_keyword(const char *ptr, size_t len,
css_unit *unit);
+css_error comma_list_length(css_language *c,
+ const parserutils_vector *vector, int *ctx,
+ const css_token *token,
+ bool (*reserved)(css_language *c, const css_token *ident),
+ uint32_t *size);
+css_error comma_list_to_bytecode(css_language *c,
+ const parserutils_vector *vector, int *ctx,
+ const css_token *token,
+ bool (*reserved)(css_language *c, const css_token *ident),
+ uint16_t (*get_value)(css_language *c, const css_token *token),
+ uint8_t **bytecode);
+
#endif