mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:28:11 +00:00
LibWeb: Move Token and Tokenizer into Parser namespace
This commit is contained in:
parent
7272997b1b
commit
bf786d66b1
8 changed files with 52 additions and 51 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue