summaryrefslogtreecommitdiff
path: root/src/parser/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/input.h')
-rw-r--r--src/parser/input.h5
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.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback