-/* $Id$
-
-This file is part of libmspdatafile
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_DATAFILE_TEXTPARSER_H_
#define MSP_DATAFILE_TEXTPARSER_H_
namespace Msp {
namespace DataFile {
-class Token;
+struct Token;
class TextParser: public ParserMode
{
public:
TextParser(Input &, const std::string &);
- virtual Statement parse();
+
+ Statement parse() override;
protected:
Statement parse_statement(const Token *);
Token parse_token();
- bool is_delimiter(int);
- bool isodigit(int);
- std::string get_location();
- void parse_error(int, int);
+ bool is_delimiter(int);
+ bool isodigit(int);
+ static std::string base64_decode(const std::string &);
};
} // namespace DataFile