#include <functional>
#include <unordered_set>
#include "flatbuffers/code_generators.h"
#include "flatbuffers/idl.h"
#include "flatbuffers/util.h"
#include "idl_gen_kotlin.h"
#include "idl_namer.h"
namespace flatbuffers {
namespace kotlin {
namespace {
FbbParamMap;
static TypedFloatConstantGenerator KotlinFloatGen("Double.", "Float.", "NaN",
"POSITIVE_INFINITY",
"NEGATIVE_INFINITY");
static const CommentConfig comment_config = …;
static const std::string ident_pad = …;
static std::set<std::string> KotlinKeywords() { … }
static Namer::Config KotlinDefaultConfig() { … }
}
class KotlinKMPGenerator : public BaseGenerator { … };
}
static bool GenerateKotlinKMP(const Parser &parser, const std::string &path,
const std::string &file_name) { … }
namespace {
class KotlinKMPCodeGenerator : public CodeGenerator { … };
}
std::unique_ptr<CodeGenerator> NewKotlinKMPCodeGenerator() { … }
}