- const std::string &get_source() const
- {
- if(!cur_st)
- throw InvalidState("get_source called without current statement");
- return cur_st->source;
- }
+ const std::string &get_source() const;
+
+ /** Returns the keyword of the statement being processed. Can be used to
+ implement dynamic keywords. */
+ const std::string &get_keyword() const;