diff options
Diffstat (limited to 'src/parser/input.h')
-rw-r--r-- | src/parser/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/input.h b/src/parser/input.h index 92b039eda..1b8c97713 100644 --- a/src/parser/input.h +++ b/src/parser/input.h @@ -146,6 +146,11 @@ public: /** Get the language that this Input is reading. */ virtual InputLanguage getLanguage() const throw() = 0; + /** Retrieve the name of the input stream */ + const std::string getInputStreamName(){ + return getInputStream()->getName(); + } + protected: /** Create an input. |