1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

LibPDF: Move consume and match helper functions to the Reader class

This commit is contained in:
Julian Offenhäuser 2022-08-15 11:02:38 +02:00 committed by Sam Atkins
parent 8de7a91571
commit 9f4659cc63
5 changed files with 173 additions and 160 deletions

View file

@ -120,18 +120,6 @@ private:
void push_reference(Reference const& ref) { m_current_reference_stack.append(ref); }
void pop_reference() { m_current_reference_stack.take_last(); }
bool matches_eol() const;
bool matches_whitespace() const;
bool matches_number() const;
bool matches_delimiter() const;
bool matches_regular_character() const;
bool consume_eol();
bool consume_whitespace();
char consume();
void consume(int amount);
bool consume(char);
Error error(
String const& message
#ifdef PDF_DEBUG