1 #ifndef MSP_DATAFILE_STATEMENT_H_
2 #define MSP_DATAFILE_STATEMENT_H_
13 typedef std::vector<Value> Arguments;
21 std::list<Statement> sub;
24 Statement(const std::string &);
25 std::string get_location() const;
26 std::string get_signature() const;
29 Statement &append(const T &v)
36 Statement &operator,(const T &v)
43 std::string signature;
46 StatementKey(const std::string &k, const std::string &s): keyword(k), signature(s) { }
48 bool operator<(const StatementKey &o) const
49 { return keyword<o.keyword || (keyword==o.keyword && signature<o.signature); }
56 std::vector<unsigned> arg_offsets;
59 StatementInfo(const std::string &, const std::string &);
62 } // namespace DataFile