1 #ifndef MSP_DATAFILE_STATEMENT_H_
2 #define MSP_DATAFILE_STATEMENT_H_
14 typedef std::vector<Value> Arguments;
22 std::list<Statement> sub;
25 Statement(const std::string &);
26 std::string get_location() const;
27 std::string get_signature() const;
30 Statement &append(const T &v)
36 Statement &append_from_token(const Token &);
39 Statement &operator,(const T &v)
46 std::string signature;
49 StatementKey(const std::string &k, const std::string &s): keyword(k), signature(s) { }
51 bool operator<(const StatementKey &o) const
52 { return keyword<o.keyword || (keyword==o.keyword && signature<o.signature); }
59 std::vector<unsigned> arg_offsets;
62 StatementInfo(const std::string &, const std::string &);
65 } // namespace DataFile