liblangutil: adds Scanner.charStream() accessor

This commit is contained in:
Christian Parpart
2018-11-29 12:28:57 +01:00
parent 5ec67ee477
commit 6060a3682c
+2
View File
@@ -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.