Archived
1
0

clang format

This commit is contained in:
Jeff Becker
2017-10-17 10:29:56 -04:00
parent 85248787fc
commit 841c5c6afe
69 changed files with 2381 additions and 2448 deletions

View File

@@ -3,22 +3,27 @@
#include <sstream>
#include <vector>
#include "render_state.hpp"
#include "../template_type.hpp"
#include "render_state.hpp"
namespace mstch {
namespace mstch
{
class in_section: public render_state {
public:
enum class type { inverted, normal };
in_section(type type, const token& start_token);
std::string render(render_context& context, const token& token) override;
class in_section : public render_state
{
public:
enum class type
{
inverted,
normal
};
in_section(type type, const token &start_token);
std::string render(render_context &context, const token &token) override;
private:
private:
const type m_type;
const token& m_start_token;
const token &m_start_token;
template_type m_section;
int m_skipped_openings;
};
}