Serenity Operating System
at master 23 lines 355 B view raw
1/* 2 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <AK/StringView.h> 10#include <AK/Vector.h> 11 12namespace Web { 13namespace HTML { 14 15struct EntityMatch { 16 Vector<u32, 2> code_points; 17 StringView entity; 18}; 19 20Optional<EntityMatch> code_points_from_entity(StringView); 21 22} 23}