LibWeb/HTML: Expose HTML syntax highlighter's token kinds

This will be used for outputting the highlighted document as HTML.
This commit is contained in:
Sam Atkins 2024-09-24 13:49:03 +01:00 committed by Sam Atkins
commit a231435321
Notes: github-actions[bot] 2024-09-30 07:54:51 +00:00
2 changed files with 10 additions and 10 deletions

View file

@ -14,16 +14,6 @@
namespace Web::HTML {
enum class AugmentedTokenKind : u32 {
AttributeName,
AttributeValue,
OpenTag,
CloseTag,
Comment,
Doctype,
__Count,
};
bool SyntaxHighlighter::is_identifier(u64 token) const
{
if (!token)