mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
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:
parent
07f0d9209a
commit
a231435321
Notes:
github-actions[bot]
2024-09-30 07:54:51 +00:00
Author: https://github.com/AtkinsSJ
Commit: a231435321
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1513
2 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue