1 /* $Id: statement.h 19 2007-08-21 14:11:23Z tdb $
3 This file is part of libmspdatafile
4 Copyright © 2007, 2010 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include <msp/strings/formatter.h>
16 Statement::Statement():
21 Statement::Statement(const string &kw):
27 string Statement::get_location() const
29 string result = source;
31 result += format(":%d", line);
35 string Statement::get_signature() const
38 for(Arguments::const_iterator i = args.begin(); i!=args.end(); ++i)
39 result += i->get_signature();
43 } // namespace DataFile