+struct StatementKey
+{
+ std::string keyword;
+ std::string signature;
+
+ StatementKey() = default;
+ StatementKey(const std::string &k, const std::string &s): keyword(k), signature(s) { }
+
+ bool operator<(const StatementKey &o) const
+ { return keyword<o.keyword || (keyword==o.keyword && signature<o.signature); }
+};
+
+struct StatementInfo
+{
+ StatementKey key;
+ std::size_t args_size = 0;
+ std::vector<std::size_t> arg_offsets;
+
+ StatementInfo() = default;
+ StatementInfo(const std::string &, const std::string &);
+};
+