mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
LibWeb: Move Token and Tokenizer into Parser namespace
This commit is contained in:
committed by
Andreas Kling
parent
7272997b1b
commit
bf786d66b1
@@ -13,6 +13,8 @@
|
||||
#include <LibWeb/CSS/Parser/Tokenizer.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace Web::CSS::Parser {
|
||||
|
||||
// U+FFFD REPLACEMENT CHARACTER (<28>)
|
||||
#define REPLACEMENT_CHARACTER 0xFFFD
|
||||
static constexpr u32 TOKENIZER_EOF = 0xFFFFFFFF;
|
||||
@@ -190,8 +192,6 @@ static inline bool is_E(u32 code_point)
|
||||
return code_point == 0x45;
|
||||
}
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
Tokenizer::Tokenizer(StringView input, String const& encoding)
|
||||
{
|
||||
auto* decoder = TextCodec::decoder_for(encoding);
|
||||
|
||||
Reference in New Issue
Block a user