/* * Copyright (c) 2020-2021, the SerenityOS developers. * Copyright (c) 2021-2023, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace Web::CSS::Parser { DeclarationOrAtRule::DeclarationOrAtRule(RefPtr at) : m_type(DeclarationType::At) , m_at(move(at)) { } DeclarationOrAtRule::DeclarationOrAtRule(Declaration declaration) : m_type(DeclarationType::Declaration) , m_declaration(move(declaration)) { } DeclarationOrAtRule::~DeclarationOrAtRule() = default; }