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 &);
22 virtual Statement parse();
24 Statement parse_statement(const Token *);
26 bool is_delimiter(int);
28 std::string get_location();
29 void parse_error(int, const char *);
32 } // namespace DataFile