diff options
Diffstat (limited to 'liblangutil/Scanner.h')
-rw-r--r-- | liblangutil/Scanner.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/liblangutil/Scanner.h b/liblangutil/Scanner.h index d01e71e2..9c29edfd 100644 --- a/liblangutil/Scanner.h +++ b/liblangutil/Scanner.h @@ -94,6 +94,8 @@ public: std::string source() const { return m_source.source(); } + CharStream const& charStream() const noexcept { return m_source; } + /// Resets the scanner as if newly constructed with _source and _sourceName as input. void reset(CharStream _source, std::string _sourceName); /// Resets scanner to the start of input. |