From 4242f61db825b68821bc0cde49157c0b62b16b89 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 4 Apr 2015 01:05:13 +0200 Subject: Make Tokenizer functions const --- src/core/parser/utils/Tokenizer.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/parser/utils/Tokenizer.hpp') diff --git a/src/core/parser/utils/Tokenizer.hpp b/src/core/parser/utils/Tokenizer.hpp index 74e3f0d..9137180 100644 --- a/src/core/parser/utils/Tokenizer.hpp +++ b/src/core/parser/utils/Tokenizer.hpp @@ -124,7 +124,7 @@ private: * @return false if the end of the stream has been reached, true otherwise. */ template - bool next(CharReader &reader, Token &token, TokenizedData &data); + bool next(CharReader &reader, Token &token, TokenizedData &data) const; public: /** @@ -181,7 +181,7 @@ public: * @return true if a token could be read, false if the end of the stream * has been reached. */ - bool read(CharReader &reader, Token &token, TokenizedData &data); + bool read(CharReader &reader, Token &token, TokenizedData &data) const; /** * The peek method does not advance the read position of the char reader, @@ -196,7 +196,7 @@ public: * @return true if a token could be read, false if the end of the stream * has been reached. */ - bool peek(CharReader &reader, Token &token, TokenizedData &data); + bool peek(CharReader &reader, Token &token, TokenizedData &data) const; }; } -- cgit v1.2.3