LibWeb: Move function parsing to separate method

This commit is contained in:
stelar7 2023-05-30 20:56:09 +02:00 committed by Andreas Kling
commit 570e43a66a
Notes: sideshowbarker 2024-07-17 01:53:23 +09:00
2 changed files with 22 additions and 13 deletions

View file

@ -289,6 +289,7 @@ private:
ErrorOr<RefPtr<StyleValue>> parse_builtin_value(ComponentValue const&);
ErrorOr<RefPtr<StyleValue>> parse_dynamic_value(ComponentValue const&);
ErrorOr<RefPtr<CalculatedStyleValue>> parse_calculated_value(Vector<ComponentValue> const&);
ErrorOr<OwnPtr<CalculationNode>> parse_a_calc_function_node(Function const&);
ErrorOr<RefPtr<StyleValue>> parse_dimension_value(ComponentValue const&);
ErrorOr<RefPtr<StyleValue>> parse_integer_value(TokenStream<ComponentValue>&);
ErrorOr<RefPtr<StyleValue>> parse_number_value(TokenStream<ComponentValue>&);