mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
LibPDF: Implement Reader::is_[eol, whitespace](char)
These two static members are now used to implement respective `matches_` methods but will also be useful to provide a global implementation of the specified concept of whitespace.
This commit is contained in:
parent
dac703a0b8
commit
db08fe12ec
2 changed files with 16 additions and 2 deletions
|
@ -131,6 +131,9 @@ public:
|
|||
move_until([&predicate](char t) { return !predicate(t); });
|
||||
}
|
||||
|
||||
static bool is_eol(char);
|
||||
static bool is_whitespace(char);
|
||||
|
||||
bool matches_eol() const;
|
||||
bool matches_whitespace() const;
|
||||
bool matches_number() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue