2025-07-10 08:59:44 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2025, Sam Atkins <sam@ladybird.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/OwnPtr.h>
|
|
|
|
|
#include <AK/Vector.h>
|
2025-07-11 08:17:36 -03:00
|
|
|
#include <LibWeb/DOM/AbstractElement.h>
|
2025-07-19 23:35:33 -03:00
|
|
|
#include <LibWeb/Export.h>
|
2025-07-10 08:59:44 -03:00
|
|
|
#include <LibWeb/Forward.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::CSS::Parser {
|
|
|
|
|
|
2025-07-19 23:35:33 -03:00
|
|
|
WEB_API OwnPtr<SyntaxNode> parse_as_syntax(Vector<ComponentValue> const&);
|
2025-07-10 08:59:44 -03:00
|
|
|
|
2025-08-08 06:11:51 -03:00
|
|
|
NonnullRefPtr<StyleValue const> parse_with_a_syntax(ParsingParams const&, Vector<ComponentValue> const& input, SyntaxNode const& syntax, Optional<DOM::AbstractElement> const& element = {});
|
2025-07-11 08:17:36 -03:00
|
|
|
|
2025-07-10 08:59:44 -03:00
|
|
|
}
|