mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
liblangutil: adds Scanner.charStream() accessor
This commit is contained in:
parent
5ec67ee477
commit
6060a3682c
@ -94,6 +94,8 @@ public:
|
|||||||
|
|
||||||
std::string source() const { return m_source.source(); }
|
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.
|
/// Resets the scanner as if newly constructed with _source and _sourceName as input.
|
||||||
void reset(CharStream _source, std::string _sourceName);
|
void reset(CharStream _source, std::string _sourceName);
|
||||||
/// Resets scanner to the start of input.
|
/// Resets scanner to the start of input.
|
||||||
|
Loading…
Reference in New Issue
Block a user