ladybird/Libraries/LibJS/SyntaxHighlighter.h
Timothy Flynn 87cdeda93c LibSyntax+LibJS+LibWeb+LibWebView: Remove unused syntax highlighter code
A future patch will port LibSyntax away from UTF-32. The less code that
needs to be ported, the easier that will be.
2026-06-06 18:42:18 +02:00

23 lines
510 B
C++

/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibJS/Export.h>
#include <LibSyntax/Highlighter.h>
namespace JS {
class JS_API SyntaxHighlighter : public Syntax::Highlighter {
public:
SyntaxHighlighter() = default;
virtual ~SyntaxHighlighter() override = default;
virtual Syntax::Language language() const override { return Syntax::Language::JavaScript; }
virtual void rehighlight(Palette const&) override;
};
}