3 This file is part of libmspdatafile
4 Copyright © 2007-2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_DATAFILE_TEXTPARSER_H_
9 #define MSP_DATAFILE_TEXTPARSER_H_
11 #include "parsermode.h"
18 class TextParser: public ParserMode
21 TextParser(Input &, const std::string &);
23 virtual Statement parse();
25 Statement parse_statement(const Token *);
27 bool is_delimiter(int);
29 std::string get_location();
30 void parse_error(int, const char *);
33 } // namespace DataFile