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