mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-07 21:38:01 -05:00
20 lines
532 B
C++
20 lines
532 B
C++
#pragma once
|
|
|
|
#include "Parsing/IParserLineStream.h"
|
|
|
|
class CommentRemovingStreamProxy final : public IParserLineStream
|
|
{
|
|
IParserLineStream* const m_stream;
|
|
bool m_inside_multi_line_comment;
|
|
bool m_next_line_is_comment;
|
|
|
|
public:
|
|
explicit CommentRemovingStreamProxy(IParserLineStream* stream);
|
|
|
|
ParserLine NextLine() override;
|
|
bool IncludeFile(const std::string& filename) override;
|
|
void PopCurrentFile() override;
|
|
_NODISCARD bool IsOpen() const override;
|
|
_NODISCARD bool Eof() const override;
|
|
};
|