diff options
Diffstat (limited to 'src/parser/input.h')
-rw-r--r-- | src/parser/input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser/input.h b/src/parser/input.h index 71b2faeae..25023e1a8 100644 --- a/src/parser/input.h +++ b/src/parser/input.h @@ -142,6 +142,9 @@ public: /** Retrieve the remaining text in this input. */ virtual std::string getUnparsedText() = 0; + /** Get the language that this Input is reading. */ + virtual InputLanguage getLanguage() const throw() = 0; + protected: /** Create an input. |