2018-06-25 11:33:36 +02:00
|
|
|
/** Compiles a SwitchStatement to a native C switch */
|
|
|
|
|
|
|
|
#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
|
|
|
};
|