dwarf-assembly/src/NativeSwitchCompiler.hpp

13 lines
311 B
C++
Raw Normal View History

2018-06-25 11:33:36 +02:00
/** Compiles a SwitchStatement to a native C switch */
#pragma once
2018-06-25 11:33:36 +02:00
#include "SwitchStatement.hpp"
class NativeSwitchCompiler: public AbstractSwitchCompiler {
public:
2018-06-25 11:54:45 +02:00
NativeSwitchCompiler(int indent=0);
2018-06-25 11:33:36 +02:00
private:
2018-06-25 11:54:45 +02:00
virtual void to_stream(std::ostream& os, const SwitchStatement& sw);
2018-06-25 11:33:36 +02:00
};