13 lines
311 B
C++
13 lines
311 B
C++
/** Compiles a SwitchStatement to a native C switch */
|
|
|
|
#pragma once
|
|
|
|
#include "SwitchStatement.hpp"
|
|
|
|
class NativeSwitchCompiler: public AbstractSwitchCompiler {
|
|
public:
|
|
NativeSwitchCompiler(int indent=0);
|
|
private:
|
|
virtual void to_stream(std::ostream& os, const SwitchStatement& sw);
|
|
};
|